summaryrefslogtreecommitdiff
path: root/sbin/sysctl/sysctl.c
Commit message (Expand)AuthorAgeFilesLines
* Fix "sysctl vm.vmtotal" output on machines with > 2TB virtual memoryAlan Somers2016-06-241-9/+9
* Add -t option to display field types.Marcelo Araujo2015-12-101-9/+25
* Follow-up to r290475: Add sysctl(8) support for added typesConrad Meyer2015-11-071-28/+81
* sysctl(8): Fix style nitsConrad Meyer2015-10-231-5/+6
* Sysctl: Add common support for U8, U16 typesConrad Meyer2015-10-221-0/+28
* Only print the errno string in case sysctl(3) does not file with ENOENTBaptiste Daroussin2015-10-071-1/+5
* Trim spaces at the end of the buffer before trying to convert it to an oidBaptiste Daroussin2015-10-071-0/+6
* Teach sysctl about the new optional suffix after IK to specifyWarner Losh2015-07-291-8/+42
* add support for specifying an initial buffer size when fetching aJohn-Mark Gurney2015-02-131-8/+15
* Fix inverted logic introduced in r272154.Xin LI2014-12-011-2/+5
* Refactor the code a little bit to reduce duplicated code.Xin LI2014-09-261-102/+87
* Explicitly set errno to 0 before calling strto*.Xin LI2014-09-251-0/+3
* The strtol(3) family of functions would set errno when it hits one.Xin LI2014-09-251-8/+16
* Constify a parameter of name2oid. No functional change.Xin LI2014-09-231-2/+2
* Add a sysctl to export the EFI memory map along with a handler in theJohn Baldwin2014-09-131-0/+94
* Pass the length of an structure to the pretty-printer backends as aJohn Baldwin2014-09-121-12/+12
* - Add a new structure type for the ACPI 3.0 SMAP entry that includes theJohn Baldwin2014-08-291-0/+29
* Don't hide zero-length strings when doing sysctl listings.Hans Petter Selasky2014-06-271-2/+2
* Fix warnings to not append "No error: 0".Edward Tomasz Napierala2013-11-261-2/+2
* Use the right format string for line buffer.Xin LI2013-01-131-1/+1
* Teach sysctl(8) about parsing a file (while I'm there also give itXin LI2012-12-131-61/+168
* Make Tflag and Wflag filters work for more sysctl options.Alfred Perlstein2012-12-121-11/+11
* Allow sysctl to filter boot and runtime tunables.Alfred Perlstein2012-12-111-4/+23
* In parse():Xin LI2012-12-111-6/+5
* s/Free Memory Pages/Free Memory/ to avoid confusion, since we'reEitan Adler2012-04-111-1/+1
* If the -d flag is specified, ignore any new values specified and onlyJohn Baldwin2011-12-011-1/+1
* Introduce signed and unsigned version of CTLTYPE_QUAD, renamingMatthew D Fleming2011-01-191-24/+42
* sysctl(8) should use the CTLTYPE to determine the type of data whenMatthew D Fleming2011-01-191-25/+29
* The kernel is not exporting any "T,dev_t" sysctl nodes anymore, soMatthew D Fleming2011-01-171-42/+0
* Make the format of "Real Memory" and "Virtual Memory" lines moreMarko Zec2010-09-161-2/+2
* Free the memory allocated via strdup.Rebecca Cran2010-03-131-0/+1
* sysctl(8): make WARNS=3 cleanUlrich Spörlein2010-02-151-11/+17
* Add -i to usage()Gavin Atkinson2010-02-091-1/+1
* Implement the "-i" option to sysctl(8), to ignore failures whileGavin Atkinson2010-01-311-3/+8
* Just use devname(3) to print device names.Ed Schouten2009-11-031-8/+1
* Make input parsing in Farhenheit actually work.Ed Schouten2009-10-211-5/+5
* time_t does not always fit into long, for instance on arm. So rather castJohn Hay2009-06-231-3/+3
* The sysctl(8) program exits on some errors and only emits warnings onMike Makonnen2008-06-231-2/+5
* Backout sensors framework.Alexander Leidinger2007-10-151-140/+0
* Import OpenBSD's sysctl hardware sensors framework.Alexander Leidinger2007-10-141-0/+140
* When we return from a "show" function without printing anything exceptBruce Evans2007-06-111-6/+6
* Some improvements to the int-type printing code based on suggestions by bde.David Malone2007-06-101-17/+13
* Fix a number of WARNS, including printf, constness and unsigned comparisonDavid Malone2007-06-101-12/+13
* Some style improvements suggested by bde, including removing anDavid Malone2007-06-101-37/+36
* Use common code for printing ints and longs by coppying the sysctlDavid Malone2007-06-041-42/+42
* Style: Shorten a couple of lines with u_int and u_long.Warner Losh2006-12-101-5/+3
* - Revert signedness type changes to "struct vmtotal"; by makingRuslan Ermilov2006-11-281-15/+11
* Fix the format specifier suitable for uintmax_t.Ruslan Ermilov2006-11-231-5/+5
* - Fix types of "struct vmmeter" members so they are unsigned.Ruslan Ermilov2006-11-201-12/+13
* Remove a debugging statement from the previous commit.Hartmut Brandt2006-10-121-2/+0