summaryrefslogtreecommitdiff
path: root/sbin/sysctl
AgeCommit message (Collapse)Author
2008-08-22mention machine/cpu.h for the CPU identifiers.Brad Smith
2008-08-04Properly output machdep.chipset values on alpha models without pci buses;Miod Vallat
ok deraadt@
2008-07-12fix printing of nchstatsThordur I. Bjornsson
ok art@,dlg@
2008-07-09expand the net.inet.(tcp|udp).baddynamic dynamic source portDamien Miller
skipping bitmasks to cover the entire 65536 port space - previously they covered 512-1024 only. sysctl needs to be updated to cope with this change; please "make includes" before rebuilding it. feedback millert@ ok millert@ deraadt@ markus@
2008-04-28Teach sysctl about mpls.Esben Norby
Claudio did all the code, I'm just comitting it... ok claudio@ laurent@ dlg@
2008-03-14"-Aa" are not required flags; sort synopses; improve description of "-a"Igor Sobrado
written with invaluable advice from jmc@ ok jmc@
2008-02-11bump Mdocdate for pages committed in "febuary", necessary becauseJason McIntyre
of a typo in rcs.c;
2008-02-09Adjust type of hw.physmem and hw.usermem; they are 64-bit values now.Mark Kettenis
2008-02-09Introduce HW_PHYSMEM64 and HW_USERMEM64 sysctls, which don't overflow onMark Kettenis
machines with more than 4GB of memory. Make sysctl(8) print values obtained using these sysctls for hw.physmem and hw.usermem. ok krw@, miod@
2008-02-05Move carp load balancing (ARP/IP) to a simpler configuration scheme.Marco Pfatschbacher
Instead of using the same IP on multiple interfaces, carp has to be configured with the new "carpnodes" and "balancing" options. # ifconfig carp0 carpnodes 1:0,2:100,3:100 balancing ip carpdev sis0 192.168.5.50 Please note, that this is a flag day for anyone using carp balancing. You'll need to adjust your configuration accordingly. Addititionally this diff adds IPv6 NDP balancing support. Tested and OK mcbride@, reyk@. Manpage help by jmc@.
2007-12-14Bring in probing for protocols that was missing; ok claudio reykTheo de Raadt
2007-12-13the mib[] array will be modified by sysctl_inet, move the *CTL_STATSReyk Floeter
checks after the call for this function. now it works (again) to skip printing the ip/tcp/udp/icmp stats in sysctl output, use netstat instead.
2007-12-13implement sysctls to report IP, TCP, UDP, and ICMP statistics andReyk Floeter
change netstat to use them instead of accessing kvm for it. more protocols will be added later. discussed with deraadt@ claudio@ gilles@ ok deraadt@
2007-11-26if no arguments given, assume a nice default; ok miod jakemsr deannaTheo de Raadt
2007-11-11do not document -w: it is for compat only. just like we did for audioctl,Jason McIntyre
mixerctl, and wsconsctl. also move to "name=value", as for the other *ctl apps. problem spotted by Tim van der Molen, though this might not be the fix he wanted;
2007-07-19kern.timecounter.timestepwarnings may be altered; from Kristaps DzonsonsJason McIntyre
2007-07-18hw.sensors is a tree, so describe/expand it as such; 'put it in' jmc@Constantine A. Murenin
2007-06-04more ipx, jmcHenning Brauer
2007-06-04no more ipxHenning Brauer
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29remove the ztsscale sysctl; ok deraadt@Robert Nagy
2007-05-27Simplify symlink creation. ok grunkAlexander Bluhm
2007-05-21small cleanups:Constantine A. Murenin
* use NULL instead of 0 for pointers, as per style(9) * wrap a long for-loop line in sysctl_malloc() * fix -Wall complaint in print_sensor() ok otto@
2007-02-20knf found while fixing another bugTheo de Raadt
2007-01-06pretty up the sensor outputs a wee bit more; partly spotted by jsgTheo de Raadt
2006-12-26Show more digits in timedelta sensor output as the timedelta sensors becomeMarc Balmer
increasingly more precise. ok deraadt
2006-12-23adapt to new two-level sensor sysctl framework; by Constantine A. MureninTheo de Raadt
2006-12-15some Nm blips, from mk;Jason McIntyre
2006-12-04retreive -> retrieve;Jason McIntyre
2006-11-21introduce sysctl net.inet6.ip6.multicast_mtudisc (for multicast routers).Jun-ichiro itojun Hagino
deraadt ok. manpage nit by jmc.
2006-10-19Add WATTHOUR and AMPHOURMarco Peereboom
ok jordan@
2006-10-16tab needed instead of space to format this correctly;Jason McIntyre
2006-10-16Add multipath variables.Ryan Thomas McBride
2006-06-05Simpler code for printing time sensors: no leak and no floatingOtto Moerbeek
point. ok deraadt@
2006-06-04print time offsets much nicerTheo de Raadt
2006-05-29revert vfs.nfs.privport sysctl, broke a few architecturesAnil Madhavapeddy
requested by deraadt@
2006-05-28Add support for NFS mounts to be from non-reserved ports:Anil Madhavapeddy
- new sysctl vfs.nfs.privport to require NFS mount requests to be on reserved ports when set to 1 (the default). - mountd now automatically sets the sysctl depending on the -n flag. - add mountd_flags to rc.conf to enable the -n flag at boot. deraadt@ ok
2006-05-27Document net.inet6.ip6.mforwardingClaudio Jeker
2006-05-17Document recent sysctl additions.Gordon Willem Klok
ok jmc@, deraadt@
2006-04-25for SENSOR_TIMEDELTA, store time in nanoseconds. discussion with kettenisTheo de Raadt
mbalmer will have to cope.
2006-04-25if the timeval has data, print it at the end of the lineTheo de Raadt
2006-04-21document retreiving a subset of sysctls;Jason McIntyre
based on a diff by janne johansson; rewritten by myself...
2006-04-20print timedelta; ok dlgTheo de Raadt
2006-04-18Discussed with jason@ that pfail means "partial fail". Now it translatesMarco Peereboom
to "degraded". ok jason@
2006-04-13Change how hw.sensors prints. Much simpler format, easier to read. WhileTheo de Raadt
there, stick to printing temperature measurements in just one sane unit. ok various people, no objections for the latter
2006-04-02malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaksDamien Miller
suggested by kjell@; ok otto@ pat@ millert@ jaredy@
2005-11-30add a sensor type for drive status and hook esm up with it.David Gwynne
ok marco@ grange@ deraadt@
2005-11-15Add support for light sensors.Mark Kettenis
ok dlg@
2005-11-12more memleaks plugged; evol@online.ptt.ruTheo de Raadt
2005-11-12memory leak; ok cloderTheo de Raadt