Tue Oct 7 09:36:17 2008 UTC ()
Mention few more changeable SysV IPC parameters, sync with reality.


(rmind)
diff -r1.15 -r1.16 src/share/man/man7/sysctl.7

cvs diff -r1.15 -r1.16 src/share/man/man7/sysctl.7 (expand / switch to unified diff)

--- src/share/man/man7/sysctl.7 2008/09/21 11:13:14 1.15
+++ src/share/man/man7/sysctl.7 2008/10/07 09:36:17 1.16
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: sysctl.7,v 1.15 2008/09/21 11:13:14 wiz Exp $ 1.\" $NetBSD: sysctl.7,v 1.16 2008/10/07 09:36:17 rmind Exp $
2.\" 2.\"
3.\" Copyright (c) 1993 3.\" Copyright (c) 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
5.\" 5.\"
6.\" Redistribution and use in source and binary forms, with or without 6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions 7.\" modification, are permitted provided that the following conditions
8.\" are met: 8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright 9.\" 1. Redistributions of source code must retain the above copyright
10.\" notice, this list of conditions and the following disclaimer. 10.\" notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\" notice, this list of conditions and the following disclaimer in the 12.\" notice, this list of conditions and the following disclaimer in the
13.\" documentation and/or other materials provided with the distribution. 13.\" documentation and/or other materials provided with the distribution.
14.\" 3. Neither the name of the University nor the names of its contributors 14.\" 3. Neither the name of the University nor the names of its contributors
@@ -720,31 +720,36 @@ Maximum amount of kernel memory to be us @@ -720,31 +720,36 @@ Maximum amount of kernel memory to be us
720.It Li kern.synchronized_io ( KERN_SYNCHRONIZED_IO ) 720.It Li kern.synchronized_io ( KERN_SYNCHRONIZED_IO )
721Returns 1 if the POSIX 1003.1b Synchronized I/O Option is available 721Returns 1 if the POSIX 1003.1b Synchronized I/O Option is available
722on this system, 722on this system,
723otherwise 0. 723otherwise 0.
724.It Li kern.ipc ( KERN_SYSVIPC ) 724.It Li kern.ipc ( KERN_SYSVIPC )
725Return information about the SysV IPC parameters. 725Return information about the SysV IPC parameters.
726The third level names for the ipc variables are detailed below. 726The third level names for the ipc variables are detailed below.
727.Bl -column "KERN_SYSVIPC_MSGXXX" "integerXXX" "noXXX" -offset indent 727.Bl -column "KERN_SYSVIPC_MSGXXX" "integerXXX" "noXXX" -offset indent
728.It Sy Third level name Type Changeable 728.It Sy Third level name Type Changeable
729.It kern.ipc.sysvmsg integer no 729.It kern.ipc.sysvmsg integer no
730.It kern.ipc.sysvsem integer no 730.It kern.ipc.sysvsem integer no
731.It kern.ipc.sysvshm integer no 731.It kern.ipc.sysvshm integer no
732.It kern.ipc.sysvipc_info struct no 732.It kern.ipc.sysvipc_info struct no
733.It kern.ipc.shmmax integer no 733.It kern.ipc.shmmax integer yes
734.It kern.ipc.shmmni integer yes 734.It kern.ipc.shmmni integer yes
735.It kern.ipc.shmseg integer yes 735.It kern.ipc.shmseg integer yes
736.It kern.ipc.shmmaxpgs integer yes 736.It kern.ipc.shmmaxpgs integer yes
737.It kern.ipc.shm_use_phys integer yes 737.It kern.ipc.shm_use_phys integer yes
 738.It kern.ipc.msgmni integer yes
 739.It kern.ipc.msgseg integer yes
 740.It kern.ipc.semmni integer yes
 741.It kern.ipc.semmns integer yes
 742.It kern.ipc.semmnu integer yes
738.El 743.El
739.Bl -tag -width "123456" 744.Bl -tag -width "123456"
740.It Li kern.ipc.sysvmsg ( KERN_SYSVIPC_MSG ) 745.It Li kern.ipc.sysvmsg ( KERN_SYSVIPC_MSG )
741Returns 1 if System V style message queue functionality is available 746Returns 1 if System V style message queue functionality is available
742on this system, 747on this system,
743otherwise 0. 748otherwise 0.
744.It Li kern.ipc.sysvsem ( KERN_SYSVIPC_SEM ) 749.It Li kern.ipc.sysvsem ( KERN_SYSVIPC_SEM )
745Returns 1 if System V style semaphore functionality is available 750Returns 1 if System V style semaphore functionality is available
746on this system, 751on this system,
747otherwise 0. 752otherwise 0.
748.It Li kern.ipc.sysvshm ( KERN_SYSVIPC_SHM ) 753.It Li kern.ipc.sysvshm ( KERN_SYSVIPC_SHM )
749Returns 1 if System V style share memory functionality is available 754Returns 1 if System V style share memory functionality is available
750on this system, 755on this system,
@@ -781,26 +786,36 @@ structure is defined in @@ -781,26 +786,36 @@ structure is defined in
781.El 786.El
782.It Li kern.ipc.shmmax ( KERN_SYSVIPC_SHMMAX ) 787.It Li kern.ipc.shmmax ( KERN_SYSVIPC_SHMMAX )
783Max shared memory segment size in bytes. 788Max shared memory segment size in bytes.
784.It Li kern.ipc.shmmni ( KERN_SYSVIPC_SHMMNI ) 789.It Li kern.ipc.shmmni ( KERN_SYSVIPC_SHMMNI )
785Max number of shared memory identifiers. 790Max number of shared memory identifiers.
786.It Li kern.ipc.shmseg ( KERN_SYSVIPC_SHMSEG ) 791.It Li kern.ipc.shmseg ( KERN_SYSVIPC_SHMSEG )
787Max shared memory segments per process. 792Max shared memory segments per process.
788.It Li kern.ipc.shmmaxpgs ( KERN_SYSVIPC_SHMMAXPGS ) 793.It Li kern.ipc.shmmaxpgs ( KERN_SYSVIPC_SHMMAXPGS )
789Max amount of shared memory in pages. 794Max amount of shared memory in pages.
790.It Li kern.ipc.shm_use_phys ( KERN_SYSVIPC_SHMUSEPHYS ) 795.It Li kern.ipc.shm_use_phys ( KERN_SYSVIPC_SHMUSEPHYS )
791Locking of shared memory in physical memory. 796Locking of shared memory in physical memory.
792If 0, memory can be swapped 797If 0, memory can be swapped
793out, otherwise it will be locked in physical memory. 798out, otherwise it will be locked in physical memory.
 799.It Li kern.ipc.msgmni
 800Max number of message queue identifiers.
 801.It Li kern.ipc.msgseg
 802Max number of number of message segments.
 803.It Li kern.ipc.semmni
 804Max number of number of semaphore identifiers.
 805.It Li kern.ipc.semmns
 806Max number of number of semaphores in system.
 807.It Li kern.ipc.semmnu
 808Max number of undo structures in system.
794.El 809.El
795.It Li kern.timex ( KERN_TIMEX ) 810.It Li kern.timex ( KERN_TIMEX )
796Not available. 811Not available.
797.It Li kern.tkstat ( KERN_TKSTAT ) 812.It Li kern.tkstat ( KERN_TKSTAT )
798Return information about the number of characters sent and received 813Return information about the number of characters sent and received
799on ttys. 814on ttys.
800The third level names for the tty statistic variables are detailed below. 815The third level names for the tty statistic variables are detailed below.
801The changeable column shows whether a process 816The changeable column shows whether a process
802with appropriate privilege may change the value. 817with appropriate privilege may change the value.
803.Bl -column "KERNXTKSTATXRAWCCXXX" "struct integerXXX" -offset indent 818.Bl -column "KERNXTKSTATXRAWCCXXX" "struct integerXXX" -offset indent
804.It Sy Third level name Type Changeable 819.It Sy Third level name Type Changeable
805.It kern.tkstat.cancc quad no 820.It kern.tkstat.cancc quad no
806.It kern.tkstat.nin quad no 821.It kern.tkstat.nin quad no