Commit Graph

379 Commits

Author SHA1 Message Date
Michael Kerrisk d5ad4b5838 proc.5: 'pid_max' is a system-wide limit on number of threads and processes
Since PIDs > /proc/sys/kernel/pid_max are not allocated, this
file thus also imposes a system-wide limit on the number of
threads and processes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:26 +02:00
Michael Kerrisk fda70f5bf9 proc.5: Minor rewording
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 11:34:11 +02:00
Michael Kerrisk b5408a0f00 proc.5: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 09:54:09 +02:00
Michael Kerrisk 723e333ca9 proc.5: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 09:48:28 +02:00
Michael Kerrisk d6681273da proc.5: Add /proc/sys/kernel/{sched_rt_period_us,sched_rt_runtime_us}
Reference sched(7) for an explanation of these two files

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-14 20:45:28 +02:00
Michael Kerrisk d6a569788c proc.5: wsfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-12 08:44:52 +02:00
Michael Kerrisk f9f4b54c4c proc.5: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-11 08:59:56 +02:00
Michael Kerrisk 86cf87d741 proc.5: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-11 08:58:02 +02:00
Michael Kerrisk 726663fd9d bind.2, connect.2, create_module.2, delete_module.2, execve.2, get_robust_list.2, getpriority.2, getrusage.2, init_module.2, link.2, listen.2, mbind.2, open.2, poll.2, query_module.2, readlink.2, recv.2, remap_file_pages.2, sched_setaffinity.2, semop.2, send.2, stat.2, stime.2, syscall.2, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, remquo.3, rtime.3, sched_getcpu.3, stpcpy.3, stpncpy.3, strcasecmp.3, system.3, fd.4, proc.5, ip.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:31:12 +02:00
Michael Kerrisk 4d4188904a proc.5: (Briefly) document /proc/timer_list
Text taken from kernel commit
289f480af87e45f7a6de6ba9b4c061c2e259fe98.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk 3c4f7af609 proc.5: Document /proc/timer_stats
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
David Prévot 322d49fb51 proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-05 08:26:01 +02:00
Jan Moskyto Matejka d63ff76e2a proc.5: Improve description of /proc/stat 'intr' field
The sum at the beginning of line "intr" includes also
unnumbered interrupts.

(Change made in kernel commit
a2eddfa95919a730e0e5ed17e9c303fe5ba249cd)

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jan Moskyto Matejka <mq@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-23 20:40:00 +02:00
Michael Kerrisk e6a110ef57 proc.5: Note kernel version for /proc/sys/kernel/{msgmax,msgmnb}
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-17 15:38:51 +02:00
Michael Kerrisk d85d2ed8e6 proc.5: Note kernel version for /proc/sys/kernel/{shmall,shmmax}
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-17 15:38:51 +02:00
Michael Kerrisk 76e0451c7d proc.5: Document /proc/[pid]/clear_refs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-12 11:37:14 +02:00
Michael Kerrisk e618d945d2 proc.5: /proc/PID/smaps is present only if CONFIG_PROC_PAGE_MONITOR
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-12 09:20:30 +02:00
Michael Kerrisk 1f0add2855 proc.5: Minor tweaks to Petr Gajdos's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-12 09:05:44 +02:00
Petr Gajdos 95fe794d41 proc.5: Improve /proc/[pid]/smaps entries description
Glued together from:

https://www.kernel.org/doc/Documentation/filesystems/proc.txt
https://lkml.org/lkml/2008/9/23/362
https://lkml.org/lkml/2010/8/18/46

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-12 08:04:35 +02:00
Michael Kerrisk 67aac6fbce proc.5: Document /proc/[pid]/stack
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-09 17:19:02 +02:00
Michael Kerrisk fa1d49a63c Removed trailing white space at end of lines 2014-04-06 08:47:56 +02:00
Michael Kerrisk 43a8bfc677 proc.5: srcfix: added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:12:26 +02:00
Michael Kerrisk b61d8f7a6d proc.5: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 14:01:16 +01:00
Michael Kerrisk f7c75128c0 proc.5: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:17 +01:00
Michael Kerrisk 7153dabd0e proc.5: Document /proc/sys/kernel/random/uuid
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-17 09:02:51 +01:00
Michael Kerrisk 68d86eac00 proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-16 05:33:25 +01:00
Michael Kerrisk e231acbc56 proc.5: Remove redundant .fi tag
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 10:18:13 +01:00
Michael Kerrisk 9f62685ed3 proc.5: srcfix: remove redundant .RE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 10:11:09 +01:00
Michael Kerrisk 275f41e1f0 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 09:59:47 +01:00
Yuri Kozlov 9d54c0875b proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-04 10:00:13 +01:00
Michael Kerrisk 182673cff7 proc.5: SEE ALSO: Add some further kernel Documentation/sysctl files
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-31 07:03:04 +01:00
David Prévot a87838117c proc.5: spfix: American spelling
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-29 13:51:21 +01:00
Michael Kerrisk 2054f761a6 proc.5: Update discussion of wchan
Remove crufty reference to /etc/psdatabase in /proc/PID/stat.
Add /proc/PID/wchan.

See https://bugs.launchpad.net/ubuntu/+source/manpages/+bug/737452

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:13:48 +01:00
Michael Kerrisk 1509ca0e37 proc.5: Document /proc/[pid]/timers
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 10:33:23 +01:00
Michael Kerrisk f78ed33a65 madvise.2, perf_event_open.2, query_module.2, stat.2, sem_init.3, hpsa.4, rtc.4, st.4, elf.5, filesystems.5, proc.5, environ.7, man-pages.7, regex.7, units.7: Reword to avoid use of "etc."
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 23:58:39 +13:00
Michael Kerrisk 14d7071359 lround.3, proc.5: Reword to avoid use of "etc." 2014-01-18 23:58:12 +13:00
Michael Kerrisk d35326474f Removed trailing white space at end of lines 2014-01-11 08:04:54 +13:00
Michael Kerrisk 449dd4e2ab proc.5, unix.7: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-02 11:49:16 +13:00
Michael Kerrisk d102a67397 proc.5: Fix formula for CommitLimit under /proc/meminfo
See https://bugzilla.kernel.org/show_bug.cgi?id=60991

Reported-by: <sworddragon2@aol.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-02 11:49:15 +13:00
Michael Kerrisk 8fb0ddc0e1 proc.5: Document /proc/sys/kernel/ngroups_max
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-18 11:33:33 +13:00
Michael Kerrisk 11256884de Removed trailing white space at end of lines 2013-09-17 08:27:46 +02:00
Michael Kerrisk f042d149dd proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 16:27:15 +02:00
Michael Kerrisk 817b5ec178 proc.5: Note block size used by /proc/partitions
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666972

Reported-by: A. Costa <agcosta@gis.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 15:35:07 +02:00
Michael Kerrisk 7ab222df40 proc.5: /proc/sys/fs/inode-max went away in Linux 2.4
Also, the 'preshrink' field in /proc/sys/fs/inode-state became
a dummy value in Linux 2.4.

See https://bugzilla.kernel.org/show_bug.cgi?id=60836

Reported-by: Marko Myllynen <myllynen@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 10:00:05 +02:00
Michael Kerrisk ac8727b68c proc.5: Minor wording changes in introductory paragraph
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 09:41:52 +02:00
Michael Kerrisk 9ee4a2b6ec intro.1, time.1, access.2, acct.2, alloc_hugepages.2, bind.2, chdir.2, chmod.2, chown.2, chroot.2, clone.2, close.2, execve.2, fallocate.2, fcntl.2, getdents.2, getrusage.2, getxattr.2, init_module.2, inotify_add_watch.2, ioprio_set.2, kcmp.2, link.2, listxattr.2, lseek.2, madvise.2, mkdir.2, mknod.2, mmap.2, mount.2, move_pages.2, msgctl.2, nfsservctl.2, open.2, pivot_root.2, quotactl.2, read.2, readlink.2, removexattr.2, rename.2, rmdir.2, semctl.2, setfsgid.2, setfsuid.2, setresuid.2, setuid.2, setup.2, setxattr.2, shmctl.2, splice.2, spu_create.2, stat.2, statfs.2, swapon.2, symlink.2, sync.2, sync_file_range.2, sysfs.2, truncate.2, umount.2, unlink.2, unshare.2, ustat.2, utime.2, utimensat.2, write.2, btree.3, errno.3, fexecve.3, ftw.3, futimes.3, get_nprocs_conf.3, getcwd.3, getdirentries.3, getmntent.3, glob.3, mkfifo.3, mq_open.3, readdir.3, realpath.3, recno.3, remove.3, sem_open.3, shm_open.3, statvfs.3, sysconf.3, telldir.3, tmpfile.3, cciss.4, initrd.4, pts.4, sk98lin.4, vcs.4, core.5, filesystems.5, proc.5, boot.7, bootparam.7, capabilities.7, cpuset.7, credentials.7, feature_test_macros.7, fifo.7, hier.7, inotify.7, intro.7, mq_overview.7, path_resolution.7, pipe.7, sem_overview.7, shm_overview.7, spufs.7, symlink.7, unix.7, uri.7, sync.8: Global fix: s/file system/filesystem/
Notwithstanding 24d01c530c,
"filesystem" is the form used by the great majority of man pages
outside the man-pages project and in a number of other sources,
so let's go with that.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 10:07:57 +02:00
Michael Kerrisk e3fb076766 proc.5: Add rationale on drop_caches and note that it can hurt performance
See also http://lwn.net/Articles/562211/

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 09:32:02 +02:00
Michael Kerrisk cb41e2e1df proc.5: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 08:06:05 +02:00
Michael Kerrisk 41e1475c91 proc.5: Minor clarification
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 08:04:49 +02:00
Michael Kerrisk aeb7e78817 proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 08:04:26 +02:00