| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: sysctl.7,v 1.153 2021/07/27 09:32:55 manu Exp $ | | 1 | .\" $NetBSD: sysctl.7,v 1.154 2021/07/28 11:32:21 wiz 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 |
| @@ -746,30 +746,30 @@ file, and whether the coredump was creat | | | @@ -746,30 +746,30 @@ file, and whether the coredump was creat |
746 | .It Li kern.lwp ( Dv KERN_LWP ) | | 746 | .It Li kern.lwp ( Dv KERN_LWP ) |
747 | Returns information about the current light-weight process. | | 747 | Returns information about the current light-weight process. |
748 | The | | 748 | The |
749 | .Sy kinfo_lwp | | 749 | .Sy kinfo_lwp |
750 | structure is defined in | | 750 | structure is defined in |
751 | .In sys/sysctl.h . | | 751 | .In sys/sysctl.h . |
752 | .It Li kern.mapped_files ( Dv KERN_MAPPED_FILES ) | | 752 | .It Li kern.mapped_files ( Dv KERN_MAPPED_FILES ) |
753 | Returns 1 if the | | 753 | Returns 1 if the |
754 | .St -p1003.1b-93 | | 754 | .St -p1003.1b-93 |
755 | Memory Mapped Files Option is available on this system, | | 755 | Memory Mapped Files Option is available on this system, |
756 | otherwise\ 0. | | 756 | otherwise\ 0. |
757 | .It Li kern.maxfiles ( Dv KERN_MAXFILES ) | | 757 | .It Li kern.maxfiles ( Dv KERN_MAXFILES ) |
758 | The maximum number of open files that may be open in the system. | | 758 | The maximum number of open files that may be open in the system. |
759 | This also controls the maximum file locks per unprivilegied user | | 759 | This also controls the maximum file locks per unprivileged user |
760 | enforced by | | 760 | enforced by |
761 | .Xr fnctl 2 | | 761 | .Xr fcntl 2 |
762 | and | | 762 | and |
763 | .Xr flock 2 . | | 763 | .Xr flock 2 . |
764 | .It Li kern.maxpartitions ( Dv KERN_MAXPARTITIONS ) | | 764 | .It Li kern.maxpartitions ( Dv KERN_MAXPARTITIONS ) |
765 | The maximum number of partitions allowed per disk. | | 765 | The maximum number of partitions allowed per disk. |
766 | .It Li kern.maxlwp | | 766 | .It Li kern.maxlwp |
767 | The maximum number of Lightweight Processes (threads) the system allows | | 767 | The maximum number of Lightweight Processes (threads) the system allows |
768 | per uid. | | 768 | per uid. |
769 | .It Li kern.maxphys ( Dv KERN_MAXPHYS ) | | 769 | .It Li kern.maxphys ( Dv KERN_MAXPHYS ) |
770 | Maximum raw I/O transfer size. | | 770 | Maximum raw I/O transfer size. |
771 | .It Li kern.maxproc ( Dv KERN_MAXPROC ) | | 771 | .It Li kern.maxproc ( Dv KERN_MAXPROC ) |
772 | The maximum number of simultaneous processes the system will allow. | | 772 | The maximum number of simultaneous processes the system will allow. |
773 | .It Li kern.maxptys ( Dv KERN_MAXPTYS ) | | 773 | .It Li kern.maxptys ( Dv KERN_MAXPTYS ) |
774 | The maximum number of pseudo terminals. | | 774 | The maximum number of pseudo terminals. |
775 | This value can be both raised and lowered, though it cannot | | 775 | This value can be both raised and lowered, though it cannot |