| @@ -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 ) |
721 | Returns 1 if the POSIX 1003.1b Synchronized I/O Option is available | | 721 | Returns 1 if the POSIX 1003.1b Synchronized I/O Option is available |
722 | on this system, | | 722 | on this system, |
723 | otherwise 0. | | 723 | otherwise 0. |
724 | .It Li kern.ipc ( KERN_SYSVIPC ) | | 724 | .It Li kern.ipc ( KERN_SYSVIPC ) |
725 | Return information about the SysV IPC parameters. | | 725 | Return information about the SysV IPC parameters. |
726 | The third level names for the ipc variables are detailed below. | | 726 | The 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 ) |
741 | Returns 1 if System V style message queue functionality is available | | 746 | Returns 1 if System V style message queue functionality is available |
742 | on this system, | | 747 | on this system, |
743 | otherwise 0. | | 748 | otherwise 0. |
744 | .It Li kern.ipc.sysvsem ( KERN_SYSVIPC_SEM ) | | 749 | .It Li kern.ipc.sysvsem ( KERN_SYSVIPC_SEM ) |
745 | Returns 1 if System V style semaphore functionality is available | | 750 | Returns 1 if System V style semaphore functionality is available |
746 | on this system, | | 751 | on this system, |
747 | otherwise 0. | | 752 | otherwise 0. |
748 | .It Li kern.ipc.sysvshm ( KERN_SYSVIPC_SHM ) | | 753 | .It Li kern.ipc.sysvshm ( KERN_SYSVIPC_SHM ) |
749 | Returns 1 if System V style share memory functionality is available | | 754 | Returns 1 if System V style share memory functionality is available |
750 | on this system, | | 755 | on 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 ) |
783 | Max shared memory segment size in bytes. | | 788 | Max shared memory segment size in bytes. |
784 | .It Li kern.ipc.shmmni ( KERN_SYSVIPC_SHMMNI ) | | 789 | .It Li kern.ipc.shmmni ( KERN_SYSVIPC_SHMMNI ) |
785 | Max number of shared memory identifiers. | | 790 | Max number of shared memory identifiers. |
786 | .It Li kern.ipc.shmseg ( KERN_SYSVIPC_SHMSEG ) | | 791 | .It Li kern.ipc.shmseg ( KERN_SYSVIPC_SHMSEG ) |
787 | Max shared memory segments per process. | | 792 | Max shared memory segments per process. |
788 | .It Li kern.ipc.shmmaxpgs ( KERN_SYSVIPC_SHMMAXPGS ) | | 793 | .It Li kern.ipc.shmmaxpgs ( KERN_SYSVIPC_SHMMAXPGS ) |
789 | Max amount of shared memory in pages. | | 794 | Max 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 ) |
791 | Locking of shared memory in physical memory. | | 796 | Locking of shared memory in physical memory. |
792 | If 0, memory can be swapped | | 797 | If 0, memory can be swapped |
793 | out, otherwise it will be locked in physical memory. | | 798 | out, otherwise it will be locked in physical memory. |
| | | 799 | .It Li kern.ipc.msgmni |
| | | 800 | Max number of message queue identifiers. |
| | | 801 | .It Li kern.ipc.msgseg |
| | | 802 | Max number of number of message segments. |
| | | 803 | .It Li kern.ipc.semmni |
| | | 804 | Max number of number of semaphore identifiers. |
| | | 805 | .It Li kern.ipc.semmns |
| | | 806 | Max number of number of semaphores in system. |
| | | 807 | .It Li kern.ipc.semmnu |
| | | 808 | Max number of undo structures in system. |
794 | .El | | 809 | .El |
795 | .It Li kern.timex ( KERN_TIMEX ) | | 810 | .It Li kern.timex ( KERN_TIMEX ) |
796 | Not available. | | 811 | Not available. |
797 | .It Li kern.tkstat ( KERN_TKSTAT ) | | 812 | .It Li kern.tkstat ( KERN_TKSTAT ) |
798 | Return information about the number of characters sent and received | | 813 | Return information about the number of characters sent and received |
799 | on ttys. | | 814 | on ttys. |
800 | The third level names for the tty statistic variables are detailed below. | | 815 | The third level names for the tty statistic variables are detailed below. |
801 | The changeable column shows whether a process | | 816 | The changeable column shows whether a process |
802 | with appropriate privilege may change the value. | | 817 | with 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 |