yar
e74fb4323e
Since the ``-w'' sysctl(8) option has been deprecated,
...
don't mention it in the manpages.
2001-07-30 14:18:14 +00:00
ru
5001e16d30
mdoc(7) police: -xwidth has been fold into -width.
2001-07-13 09:09:52 +00:00
ru
ecddfe13a5
mdoc(7) police: fixed formatting.
2001-07-05 11:22:50 +00:00
pirzyk
976a20fbb6
modfied sysctl command to allow setting values > 2GB if the mib supports it.
...
PR: kern/21132
Reviewed by: no objections to by -arch
MFC after: 1 month
2001-06-18 21:06:24 +00:00
dd
555fbb44b3
Normalize the use of sizeof according to style(9).
...
Reviewed by: md5(1)
2001-06-09 03:56:16 +00:00
dd
fb2240a5b3
Remove xref to blackhole(4). sysctl has nothing to do with
...
blackhole(4), except that blackhole(4) uses sysctl's. This xref
obviously isn't appropriate unless we want to xref all the other man
pages which mention sysctls, which we obviously don't (we may want to
list those sysctls, but that's another story).
PR: 27937
Submitted by: yar
2001-06-08 03:12:32 +00:00
dd
cd7c82577f
Remove unused variable (descr) in show_var().
...
PR: 22582
Submitted by: Giorgos Keramidas <charon@gray.westgate.gr>
2001-06-01 02:58:09 +00:00
dd
e1f7978951
Update the document date after DES's updates, move the description of
...
the -b option below -a to maintain alphabetical order, and add a
missing ".It" before "Fl o".
2001-05-29 00:17:17 +00:00
des
f4bfdd6193
Perform random drive-by style cleanups, and rewrite a while loop that
...
offended my artistic sensibilities.
2001-05-28 12:35:40 +00:00
des
98fe4d655a
Try to make sysctl options slightly more orthogonal:
...
- introduce a -o option that displays opaque variables.
- introduce a -x option that displays opaque variables in full.
- deprecate -A in favor of -ao and -X in favor of -ax.
- remove -A and -X from usage() and SYNOPSIS (but not from DESCRIPTION).
- ignore -a if one or more variables were listed on the command line.
- deprecate -w, it is not needed to determine the user's intentions.
- some language and style cleanup in the man page.
This commit should not break any existing scripts.
MFC after: 4 weeks
2001-05-28 12:15:45 +00:00
ru
86642a4ab4
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
ru
56b5d7535b
Set the default manual section for sbin/ to 8.
2001-03-20 18:13:31 +00:00
ru
8a6f8b5fe4
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
des
d43290aaba
Document the -N option in the usage message and the man page.
2001-01-14 19:08:58 +00:00
des
993fa37970
Add a -N option that makes sysctl(8) print out just the variable names.
...
Zsh users can add the following to their .zshrc for sysctl completion:
function listsysctls {
case $1 in
*.*) set -A reply $(sysctl -AN ${1%.*}) ;;
*) set -A reply $(sysctl -AN) ;;
esac
}
compctl -K listsysctls sysctl
While I'm here, brucify the getopt() switch.
2001-01-14 16:40:06 +00:00
ru
979699b8a9
Prepare for mdoc(7)NG.
2000-12-19 15:36:48 +00:00
phantom
32d8e5ee4d
Add missing coma in SEE ALSO section
...
Reported by: Rich Morin <rdm@cfcl.com>
2000-12-14 16:24:38 +00:00
ru
ea31070695
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 16:52:27 +00:00
gallatin
11e8e4bacd
Give correct results for SYSCTL_LONG arrays when sizeof(int) != sizeof(long)
...
This fixes unaligned access on alpha for, eg, sysctl kern.ipc.mbtypes.
2000-10-23 21:04:18 +00:00
obrien
45a5e1dea6
Add reference to sysctl.conf.
2000-07-27 22:57:46 +00:00
sheldonh
75cb2c66dc
Describe the syncer(4)-related sysctls kern.filedelay, kern.dirdelay
...
and kern.metadelay, thanks to mckusick's feedback.
2000-07-26 08:51:58 +00:00
phk
c8c0445240
Array of long support.
...
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
2000-07-11 21:59:54 +00:00
jhb
b6e74b58eb
Support for unsigned integer and long sysctl variables. Update the
...
SYSCTL_LONG macro to be consistent with other integer sysctl variables
and require an initial value instead of assuming 0. Update several
sysctl variables to use the unsigned types.
PR: 15251
Submitted by: Kelly Yancey <kbyanc@posi.net>
2000-07-05 07:46:41 +00:00
phk
9052367a1f
Handle minors like ls(1) does it.
...
PR: 19179
Submitted by: Kelly Yancey <kbyanc@posi.net>
2000-06-10 19:55:39 +00:00
rwatson
53275f25df
o Mention kern.suser_permitted
...
Obtained from: TrustedBSD Project
2000-06-05 14:56:01 +00:00
steve
a11aaa3c1a
Use 'following' instead of 'follow' in a couple of places for a slightly
...
better read.
2000-02-26 16:55:21 +00:00
des
ebb4d4db22
Belatedly back out rev. 1.20.
1999-11-22 08:38:29 +00:00
grog
de007c895f
Allow octal or hex input.
...
Suggested-by: Geoff Steckel <gwes@sitaranetworks.com>
1999-11-17 23:42:09 +00:00
peter
76f0c923fe
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
csgr
2435bad49c
Add reference to blackhole(4)
1999-08-17 14:28:07 +00:00
billf
16090fda0f
Avoid ambigious if/else
1999-07-21 02:49:42 +00:00
obrien
f2521ffec6
Move sysctl/ to src/sbin/ where it now belongs.
...
Repository copied by: Peter
1999-05-10 10:17:22 +00:00
des
cd585d50b4
Clean up option handling a little.
...
Add an option for showing sysctl descriptions instead of their values.
1999-01-10 02:10:08 +00:00
phk
153e666c16
Allow for printing out integer arrays.
1998-11-08 19:27:43 +00:00
jkoshy
4f1d2ca2b5
`kern.maxproc' is not changeable using sysctl(1). Change examples
...
that show `kern.maxproc' being written.
PR: docs/7978
Submitted by: jlemon@americantv.com
1998-09-29 02:01:06 +00:00
dfr
f7a70d8e02
Change length arguments to sysctl to size_t.
1998-08-25 07:38:19 +00:00
joerg
4a3c46b359
Document the kern.logsigexit sysctl variable (sort of).
...
Reminded by: bde
1998-07-29 08:30:37 +00:00
joerg
9b0b785230
Document sef's recent changes in the corefile naming.
...
Reviewed by: sef (well, i believe his `Looks good' was a review result :)
1998-07-21 18:16:16 +00:00
bde
e98f798c6a
Don't assume that time_t is long.
1998-06-29 17:54:29 +00:00
bde
aa2bd98249
Install sysctl in /sbin. It is used in some cases in network_pass1(),
...
before /usr is mounted if /usr has type nfs.
1997-12-18 15:34:08 +00:00
jdp
8a7bf8aff1
Add missing argument detected by "-Wformat".
1997-11-18 03:37:45 +00:00
charnier
a9b89e1f31
Use err(3). Change err(-1,... to err(1,...
1997-10-20 12:53:54 +00:00
kato
09489fa1b7
Added hw.machine_arch.
1997-08-30 02:28:00 +00:00
jhay
0814c237ff
Display tickadj in struct clockinfo.
1997-06-24 18:23:32 +00:00
imp
691010efad
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-31 05:11:47 +00:00
peter
b782f4df30
Revert $FreeBSD$ to $Id$
1997-02-22 16:15:28 +00:00
jkh
808a36ef65
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
bde
3b6e5aad90
Removed references to pathconf-related variables that were never handled
...
by sysctl and never can be in their documented form (kern.name_max would
have to become fs.filesystemname.name_max, etc.).
Added missing references to user.stream_max and user.tzname_max. These
seem to misnamed. <sys/sysconf.h> says that they correspond to POSIX2
names, but the sysconf names don't have POSIX2 or "posix2" like all the
other POSIX2 names.
1996-09-28 14:43:03 +00:00
mpp
b4aab8b6f6
Use the .Fx macro where appropriate.
1996-08-23 00:57:08 +00:00
smpatel
4d30ab368e
Fix a core dump when the user gives "-w" without an "="
1996-04-10 00:53:22 +00:00
mpp
511d4f82b2
Fix a bunch of spelling errors in a bunch of man pages.
1996-01-30 13:52:50 +00:00
phk
160da4bc8b
The rewamped sysctl program that will find all the variables itself.
...
Also a couple of handy new options.
1995-12-21 12:39:25 +00:00
phk
bd70a3c2da
Make sysctl compile again by removing all the debug stuff.
1995-11-17 16:28:42 +00:00
rgrimes
1b1ee55538
Merge RELENG_2_0_5 into HEAD
1995-06-11 19:33:05 +00:00
rgrimes
4f960dd75f
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
wollman
e7f4268dca
Learn how to print out kern.dumpdev as a name.
1995-05-12 19:10:56 +00:00
guido
a5eaebecd0
Implement maxprocperuid and maxfilesperproc. They are tunable
...
via sysctl(8). The initial value of maxprocperuid is maxproc-1,
that of maxfilesperproc is maxfiles (untill maxfile will disappear)
Now it is at least possible to prohibit one user opening maxfiles
-Guido
Submitted by:
Obtained from:
1995-02-20 19:42:42 +00:00
wollman
b561709c87
Allow the user access to net.inet.igmp, even though there's nothing
...
sysctl(8) can interpret there. (Someday there might be.)
1995-02-16 00:28:42 +00:00
wollman
df7354d684
Implement TCP MIB variables.
1995-02-09 23:16:17 +00:00
ache
a6d5d66fc2
Remove machdep.color_display
1994-10-18 03:41:16 +00:00
ache
254d81b240
Document new machdep variables, pointed by Rod
1994-10-17 18:55:21 +00:00
wollman
c29596a5e9
Document more MIB variables.
1994-09-23 19:04:02 +00:00
wollman
a9a63df96b
Suppress irritating extra newline after kern.boottime.
1994-08-08 15:37:35 +00:00
wollman
d7fca5c189
Get rid of update. Make man page installation work with our scheme
...
(and rename a few in the process).
1994-08-05 16:31:05 +00:00
rgrimes
862fdf11a2
BSD 4.4 Lite usr.sbin Sources
1994-05-26 05:23:31 +00:00