Commit Graph

242 Commits

Author SHA1 Message Date
Michael Kerrisk cd60dedde9 Removed trailing white space at end of lines 2008-06-25 15:32:01 +00:00
Michael Kerrisk 268f000bcf /proc/stat CPU time units are sysconf(_SC_CLK_TCK).
ASEE ALSO: add time(7).
2008-06-24 13:56:03 +00:00
Michael Kerrisk 7a017e241f The vaious time fiels in /proc/PID/stat return time
in clock ticks (USER_HZ, cputime_to_clock_t()).
2008-06-24 13:15:17 +00:00
Michael Kerrisk 59a40ed789 Clarified and expanded the description of /proc/[number]/fd.
Updated, clarified and expanded the description several
fields in /proc/[number]/stat.
Updated and clarified the description of /proc/[number]/statm.
Updated and clarified the description of /proc/sys/fs/dentry-state.
Many formatting, wording, and grammar fixes.
2008-06-24 09:28:11 +00:00
Michael Kerrisk e23fde73fa We don't have the cpuset(7) page yet, so comment out /proc/[number]/cpuset
description.
2008-06-24 03:42:39 +00:00
Michael Kerrisk 743638fdbe ffix 2008-06-24 03:41:21 +00:00
Michael Kerrisk a1c9dc591b Refine discssion of guest time for utime and cutime fields. 2008-06-24 03:25:39 +00:00
Michael Kerrisk b81087ab66 Added .\" comment 2008-06-23 10:00:02 +00:00
Michael Kerrisk c8e9f4f193 user time includes guest time. 2008-06-22 10:51:59 +00:00
Michael Kerrisk afef1764bd spfix 2008-06-22 10:40:48 +00:00
Michael Kerrisk 14c069537c Document guest (virtual CPU) time field in /proc/stat.
Document guest (virtual CPU) time fields in /proc/PID/stat.
2008-09-18 12:30:43 +00:00
Michael Kerrisk 16b5f7ba5d Documented /proc/PID/status 2008-06-17 13:22:28 +00:00
Michael Kerrisk 28f2c98d3a Add pointer to description of /proc/PID/cpuset in cpuset(7). 2008-06-16 20:16:23 +00:00
Michael Kerrisk a1d5601bee Removed trailing white space at end of lines 2008-06-12 11:52:08 +00:00
Michael Kerrisk b4e9ee8f48 Document /proc/PID/oom_score, which was new in kernel 2.6.11.
This file displays the "badness" score of the process, which
provides the basis for OOM-killer decisions.

Document /proc/PID/oom_adj, which was new in kernel 2.6.11.
This file influences the oom_score of a process.

Document /proc/PID/limits, which was new in 2.6.24.
This file displays a process's resource limits.

Document /proc/PID/fdinfo/*, which was new in 2.6.22.
These files display info about each descriptor opened by the
process: the current file offset, and the file access mode +
file status flags as set in open() or fcntl(F_SETFL).

Document /proc/PID/mountinfo, which was new in 2.6.26.
This file displays information about mount points.
Closely based on text from Documentation/filesystems/proc.txt.

Document /proc/PID/mountstats, which was new in 2.6.17.
This file displays statistics about mount points.
2008-06-12 05:49:06 +00:00
Michael Kerrisk 6c04f928e2 Fix use of quotes 2008-06-10 12:28:58 +00:00
Michael Kerrisk f81fb4445b s/\\'/\\(aq/ 2008-06-09 15:49:35 +00:00
Michael Kerrisk f8a07a2154 s/'/\\'/ to improve rendering in UTF-8. 2008-06-05 17:52:37 +00:00
Michael Kerrisk 26868e5b26 s/`/\`/ for backquotes used in command substitution, for
proper rendering in UTF-8.
2008-06-05 12:26:22 +00:00
Michael Kerrisk bd4b0ce7d0 Added FIXME 2008-05-27 03:01:24 +00:00
Michael Kerrisk 6f36deb49c s/realtime/real-time/ 2008-03-19 13:23:34 +00:00
Michael Kerrisk eba722884d s/nonzero/non-zero/ 2008-03-19 13:16:39 +00:00
Michael Kerrisk cf50118f48 Use "run time" when non-attributive, "run-time" when attributive. 2008-03-19 08:46:32 +00:00
Michael Kerrisk e7b489f0b9 s/builtin/built-in/ 2008-03-19 08:32:22 +00:00
Michael Kerrisk 24d01c530c s/filesystem/file system/ 2008-03-19 07:26:08 +00:00
Michael Kerrisk b447cd586d Update /proc/[number]/cmdline description.
It used to be true that the command line arguments were
not accessible when the process had been swapped out.
In ancient kernels (circa 2.0.*) the problem was that the
kernel relied on get_phys_addr to access the user space buffer,
which stopped working as soon as the process was swapped out.
Recent kernels use get_user_pages for the same purpose and thus
they should not have that limitation.
2008-02-22 07:41:04 +00:00
Michael Kerrisk ca92ce95a3 Remove/replace extraneous .sp macros. 2008-01-01 14:13:55 +00:00
Michael Kerrisk 763f0e477c Fix usage of a/an before following vowel/consonant. 2007-12-29 17:42:38 +00:00
Michael Kerrisk c382a36592 hyphenation fixes 2007-12-25 22:02:19 +00:00
Michael Kerrisk e2badfdf26 Hyphenation fixes 2007-12-25 20:50:22 +00:00
Michael Kerrisk 94e9d9febd Replace "-" by "\-" where a real dash is required. 2007-12-22 16:40:46 +00:00
Michael Kerrisk a08ea57c20 Make the standard indent for code samples, shell session
logs, etc. to be ".in +4n".
2007-12-19 05:53:30 +00:00
Michael Kerrisk be9634cfdd s/epoch/Epoch/ 2007-12-18 15:37:46 +00:00
Michael Kerrisk 80e4d74c56 ffix 2007-12-17 09:27:12 +00:00
Michael Kerrisk b1b0eb7397 ffix 2007-12-16 13:42:51 +00:00
Michael Kerrisk 3c1a1cdc4b ffix, tfix 2007-12-10 14:33:38 +00:00
Michael Kerrisk fb477da2a9 s/fs (5)/filesystems (5)/ 2007-12-10 09:37:51 +00:00
Michael Kerrisk 5ec8d26f78 wfix 2007-12-09 08:05:43 +00:00
Michael Kerrisk 2ccfac8b3e Update date in .TH line 2007-11-24 07:49:41 +00:00
Michael Kerrisk 821643a889 ffix 2007-11-23 18:45:54 +00:00
Michael Kerrisk 6ab7c0aae3 Improve description of /proc/sys/abi and /proc/sys/kernel/modprobe. 2007-11-19 02:34:52 +00:00
Michael Kerrisk 608497637a wfix 2007-11-19 00:53:13 +00:00
Michael Kerrisk f41d1d3d67 Mention grub(8) in same sentence as lilo(8). 2007-11-18 07:33:55 +00:00
Michael Kerrisk 38f76cd278 Removed trailing white space at end of lines 2007-11-15 03:28:33 +00:00
Michael Kerrisk 6beb1671d2 tfix/wfix 2007-10-16 19:18:17 +00:00
Michael Kerrisk 2ebfeb1bb9 The display type of the /proc/PID/stat fields changed
%lu to %u in Linux 2.6.22:
    flags
    rt_priority
    policy
2007-10-16 06:22:27 +00:00
Michael Kerrisk b09b852675 spfix 2007-10-15 17:52:31 +00:00
Michael Kerrisk 49ec013ce2 Fix version numbers in cross references. 2007-10-14 18:33:54 +00:00
Michael Kerrisk 654cc098eb ffix 2007-10-04 06:42:15 +00:00
Michael Kerrisk 2990d78107 grfix + ffix 2007-10-03 20:16:58 +00:00
Michael Kerrisk 9a67332ec2 ffixes + wfix 2007-10-03 19:48:21 +00:00
Michael Kerrisk 350038ffb0 Add text noting that since kernel 2.6.16, /proc/slabinfo is
only available if CONFIG_SLAB is enabled.
2007-09-27 18:27:13 +00:00
Michael Kerrisk 0daa9e92d0 Fix redundant formatting macros 2007-09-20 16:26:31 +00:00
Michael Kerrisk c11b1abf2e Change mtk's email address 2007-09-20 06:52:22 +00:00
Michael Kerrisk 635e8d5a19 Removed trailing white space at end of lines 2007-09-10 04:17:16 +00:00
Michael Kerrisk 9de1f6ccc4 Since linux 2.6.11, /proc/stat has an eighth value for cpu
lines: stolen time, which is the time spent in other operating
systems when running in a virtualized environment.
2007-08-27 15:07:17 +00:00
Michael Kerrisk 809d01649e I noticed things to correct and to clarify in subsection
"/proc/filesystems" of proc.5:
- clarify filesystems listing: not only FS compiled
  into the kernel, also FS kernel modules currently loaded
- add a reference to fs(5)
- add an explanation for FS marked with "nodev"
- s/mount(1)/mount(8)/, also corrected in section "SEE ALSO"
- clarify usage by mount: the current wording may lead to
  think /proc/filesystems is always used by mount when no FS
  is specified. So, usage of "may" which IMHO is more
  appropriate + additionnal explanations
  In mount(8) we can see:

       If no -t option is given, or if the auto type is
       specified, mount will try to guess the desired type.
       If mount was compiled with the blkid library, the
       guessing is done by this library. Otherwise, mount
       guesses itself by probing the superblock; if that
       does not turn up anything that looks familiar,
       mount will try to read the file /etc/filesystems,
       or, if that does not exist, /proc/filesystems.
       All of the filesystem types listed there will be
       tried, except for those that are labeled "nodev"
       (e.g., devpts, proc and nfs). If /etc/filesystems
       ends in a line with a single * only, mount will
       read /proc/filesystems afterwards.
2007-08-27 13:34:42 +00:00
Michael Kerrisk 030d3025aa Fix path error (s%proc/sys%proc/sys/kernel%) in mentions of
/proc/sys/ostype, /proc/sys/osrelease and proc/sys/version.
2007-08-27 12:26:44 +00:00
Michael Kerrisk 03d2434e5c ffix 2007-08-27 10:11:23 +00:00
Michael Kerrisk a62944088a Updated date in .TH line. 2007-07-08 19:21:38 +00:00
Michael Kerrisk e192bf5dcf Improve description of num_threads field under /proc/PID/stat. 2007-07-08 16:36:11 +00:00
Michael Kerrisk bb83d1b932 grfix 2007-07-07 18:50:56 +00:00
Michael Kerrisk 0e94f77bda Update description of /proc/PID/stat to match 2.6.21. 2007-07-01 16:38:44 +00:00
Michael Kerrisk 89dd5f8a97 Update/correct text on /proc/malloc. 2007-06-24 17:00:09 +00:00
Michael Kerrisk 097585edcb ffix 2007-06-22 20:40:07 +00:00
Michael Kerrisk 8bd58774dc Formatted signal names 2007-06-21 05:38:48 +00:00
Michael Kerrisk 7b2b5ea4fb ffix 2007-06-20 22:20:03 +00:00
Michael Kerrisk 9bef72b5ba ffix 2007-06-17 14:12:43 +00:00
Michael Kerrisk 8b49407fdd ffix 2007-06-08 12:25:56 +00:00
Michael Kerrisk 75b94dc35c Change "e.g. " to "e.g., ", or in some cases, "for example, ".
Change "i.e. " to i.e.., ", or in some cases, "that is, ".
2007-06-08 11:56:22 +00:00
Michael Kerrisk d9bfdb9c21 Convert to American spelling conventions 2007-06-08 09:56:56 +00:00
Michael Kerrisk ec650cc15a Added discussion of /proc/sys/net/core/somaxconn. 2007-06-06 19:13:18 +00:00
Michael Kerrisk 641b2d63b5 Add "Linux" to .TH line 2007-05-30 05:43:37 +00:00
Michael Kerrisk e37e328263 Move SEE ALSO section to end of page 2007-05-16 18:25:50 +00:00
Michael Kerrisk ee6e96c1b6 Added Sexction numbers to xrefs to other pages. 2007-05-11 23:20:22 +00:00
Michael Kerrisk c13182efa3 Wrapped long lines, wrapped at sentence boundaries; stripped trailing
white space.
2007-04-12 22:42:49 +00:00
Michael Kerrisk cf0a9ace57 ffix 2007-04-05 12:36:57 +00:00
Michael Kerrisk ccb2bb0d9b wfix 2006-11-28 04:22:24 +00:00
Michael Kerrisk e9c034228d wfix 2006-11-28 04:21:46 +00:00
Michael Kerrisk d11d0dd710 spfix 2006-11-27 01:50:37 +00:00
Michael Kerrisk 167450d628 Added delayacct_blkio_ticks to /proc/PID/stat. 2006-09-26 05:58:39 +00:00
Michael Kerrisk 857f1942c9 Document /proc/PID/auxv. 2006-08-09 09:56:44 +00:00
Michael Kerrisk 978770aae6 Updated a FIXME 2006-07-06 12:38:53 +00:00
Michael Kerrisk 73dc596db5 Added FIXME 2006-07-01 05:04:14 +00:00
Michael Kerrisk 2c5e151c7f ipc.7 --> svipc.7 2006-04-21 03:53:43 +00:00
Michael Kerrisk fe371f0cd9 ipc.5 --> ipc.7 2006-04-21 00:39:48 +00:00
Michael Kerrisk 2bb6d7e6ec Added FIXME 2006-04-19 21:11:07 +00:00
Michael Kerrisk d8852d03f6 Updated FIXME 2006-04-04 00:49:49 +00:00
Michael Kerrisk ae35e4c86e FIXMEs 2006-04-03 22:17:03 +00:00
Michael Kerrisk 5937fccd01 Information on core_pattern and core_uses_pid has
been migrated to the new core.5 page.
2006-03-31 07:06:02 +00:00
Michael Kerrisk 50a815d6f4 Minor changes 2006-03-31 05:11:37 +00:00
Michael Kerrisk b07b19c4b2 Document /proc/PID/smaps, new in kernel 2.6.14.
using information from ChangeLog-2.6.14.
2006-03-23 08:02:02 +00:00
Michael Kerrisk 218e46f883 Small FIXME formatting fixes 2006-03-23 02:13:08 +00:00
Michael Kerrisk b6c4058719 Document /proc/sys/vm/drop_caches, new in kernel 2.6.16. 2006-03-22 05:39:02 +00:00
Michael Kerrisk 777f5a9ef7 Updated FIXMEs 2006-03-20 04:46:28 +00:00
Michael Kerrisk 8cf9de1b52 Updated FIXME formatting 2006-03-05 20:45:41 +00:00
Michael Kerrisk 96018ebe53 The mqueue material has been migrated to mq_overiew.7 2006-03-01 03:26:46 +00:00
Michael Kerrisk 2d7195b8fb Change "path name" to "pathname" 2006-02-12 22:19:08 +00:00
Michael Kerrisk c533af9d27 Reformatted FIXMEs 2006-02-10 18:46:42 +00:00
Michael Kerrisk bf53d187ba Reverse change that removed mqueue information.
We better not do that until the new mqueue pages are actually
in the set.
2006-02-10 18:28:46 +00:00
Michael Kerrisk 7c623f0661 Migrated information on POSIX message queues to new mqueue.7 page. 2006-02-10 01:41:19 +00:00
Michael Kerrisk 435b27cceb Migrated description of inotify files to the new inotify.7 page. 2006-02-06 22:42:33 +00:00
Michael Kerrisk e7ac5f2681 Updated FIXMEs 2006-02-03 02:59:01 +00:00
Michael Kerrisk e02756a4db Spelling fixes 2006-01-18 08:18:46 +00:00
Michael Kerrisk b877b3922a Documented inotify files under /proc/sys/fs/inotify:
max_queued_events, max_user_instances, and max_user_watches.  
Plus some spelling fixes
2006-01-18 08:15:39 +00:00
Michael Kerrisk 95a32af827 Add pointer to random(4) for description of files under
/proc/sys/kernel/random.
2006-01-13 10:04:01 +00:00
Michael Kerrisk 28d88c1751 Global change to many pages...
Various pages use inconsistent terms for 'null byte' (which
is the C99/SUSv3 term for the '\0' character).
To rectify this the following changes were made in these pages:

Replace 'zero byte' with 'null byte'.
Replace 'null character' with 'null byte'.
Replace 'nulls' with 'null bytes'.
Replace 'NUL-terminated' by 'null-terminated'.
Replace 'NUL' by 'null byte'.
Replace 'terminating NUL' by 'terminating null byte'.
Replace 'final NUL' by 'terminating null byte'.
Replace 'NUL character' by 'null byte'.
2006-01-13 02:09:44 +00:00
Michael Kerrisk afcaf646af Documented /proc/PID/task.
Noted that the contents of /proc/PID/{cwd,exe,fd,root,task} are not
available if the main thread has terminated.
2006-01-11 05:08:42 +00:00
Michael Kerrisk 57651c15bc Noted that /proc/mounts is pollable since kernel 2.6.15. 2006-01-04 10:52:41 +00:00
Michael Kerrisk d6d5023908 Added FIXME 2006-01-03 07:30:34 +00:00
Michael Kerrisk 6aefb6dfda Added FIXMEs noting that /proc/PID/{loginuid,oom_adj,oom_score,seccomp}
need to be documented
2005-11-09 15:15:18 +00:00
Michael Kerrisk b3b8bd2468 Updated discussion of /proc/sys/kernel/pid_max 2005-11-08 15:21:46 +00:00
Michael Kerrisk 31e9a9ec99 Change itacised function names and page xrefs to bold 2005-11-02 11:34:24 +00:00
Michael Kerrisk 1e32103455 Formatting fixes 2005-10-20 15:11:10 +00:00
Michael Kerrisk 473ad28f41 Added /proc/sys/vm/legacy_va_layout 2005-09-22 14:49:44 +00:00
Michael Kerrisk 363f747ccd Added (minimal) /proc/zoneinfo description + some FIXMEs 2005-09-19 14:20:48 +00:00
Michael Kerrisk f116293015 Wording improvements to suid_dumapble text 2005-09-16 15:36:33 +00:00
Michael Kerrisk 1fc160662a fix typo 2005-09-16 14:36:08 +00:00
Michael Kerrisk 43da96f2df Describe /proc/sys/fs/suid_dumpable (new in 2.6.13) 2005-09-16 13:06:22 +00:00
Michael Kerrisk 7b2534620b Improve text describing /proc/sys/fs/mqueue/* files 2005-07-25 16:35:56 +00:00
Michael Kerrisk 331da7c3a0 RFC references are now always writen as "RFC\ nnn" (not "RFC nnn" or
"RFCnnn").
2005-07-20 07:50:45 +00:00
Michael Kerrisk 357cf3fe97 id --> ID 2005-07-18 16:02:32 +00:00
Michael Kerrisk fdc196f51f uid --> UID 2005-07-18 15:51:22 +00:00
Michael Kerrisk 6d64ca9cb1 Added text on the /proc/sys/fs/mqueue/* files. 2005-07-13 08:15:47 +00:00
Michael Kerrisk 2bc2f4798f hyphen/dash fixes 2005-07-06 12:57:38 +00:00
Michael Kerrisk 4d9b698450 Hyphenation/dash fixes 2005-07-06 07:41:37 +00:00
Michael Kerrisk bfbfcd18f0 Updates for /proc/stat 2005-06-28 14:19:06 +00:00
Michael Kerrisk 6931a324b0 Slight rewording 2005-06-24 15:56:02 +00:00
Michael Kerrisk 9fdfa163e5 Typos fixes from A Costa (16 May 05, Debian "manpages"). 2005-06-24 14:17:21 +00:00
Michael Kerrisk 8729177b44 global edit s/ -1/ \\-1/g 2005-06-15 14:10:23 +00:00
Michael Kerrisk f59a3f1941 Global edit: s/nonzero/non-zero/ 2005-06-15 13:32:34 +00:00
Michael Kerrisk 81c6dd6c54 Added pointer to ip(7) and proc(7) for /proc/sys/net 2005-06-15 12:07:30 +00:00
Michael Kerrisk 096a9c0199 Added FIXME for mqueue files 2005-06-15 08:30:11 +00:00
Michael Kerrisk fb829c7406 nswap - not maintained. 2005-05-30 16:44:20 +00:00
Michael Kerrisk c3c6c1f61f Update date in header 2005-05-12 09:08:33 +00:00
Michael Kerrisk 568105c673 Added 'rt_priority' and 'policy' to /proc/PID/stat. 2005-05-12 09:01:58 +00:00
Michael Kerrisk 0c6085e0c0 Minor changes to discussion of 'stat' signal fields. 2005-05-12 08:42:35 +00:00
Michael Kerrisk 5d6d14a0c4 updated statm, and fixed error in order of list 2004-12-15 14:12:30 +00:00
Michael Kerrisk 70556c17b3 rtsig-max and rtsig-nr went away in 2.6.8 2004-12-01 15:25:42 +00:00
Michael Kerrisk 6b05dc381d Updated info on /proc/loadavg 2004-11-17 10:43:17 +00:00
Michael Kerrisk 305a0578bf Global change of email address for MTK (now: mtk-manpages@gmx.net) 2004-11-03 14:43:40 +00:00
Michael Kerrisk fea681dafb Import of man-pages 1.70 2004-11-03 13:51:07 +00:00