Commit Graph

403 Commits

Author SHA1 Message Date
Michael Kerrisk 426bc8d725 proc.5: Improve description of /proc/PID/stat fields added in Linux 3.3 and 3.5
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 0be30a547f proc.5: Fix kernel version numbers for /proc/PID/stat fields
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 71eae89536 proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
jchaloup 12449ae3a2 proc.5: add missing proc stats fields
Adding missing proc stats fields from https://www.kernel.org/doc/Documentation/filesystems/proc.txt, caption: Table 1-4: Contents of the stat files (as of 2.6.30-rc7). Distribution: Fedora 20. Man-pages: man-pages-3.67.

Signed-off-by: jchaloup <jchaloup@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk afb7b014e2 proc.5: Document /proc/PID/syscall
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 7c2905d1be proc.5: Document /proc/PID/personality
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 6975c16e3b proc.5: Note that /proc/PID/cmdline is read-only
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 32d7ef0088 proc.5: Document /proc/PID/comm
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk b3fb99e8d3 proc.5: srcfix: add/update FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 4c69c69283 proc.5: Refer to getauxval(3) in discussion of /proc/PID/auxv
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 59d566a952 proc.5: Document /proc/kpageflags
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk ff56ac8b6f proc.5: Document /proc/kpagecount
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk b0aa1e5111 proc.5: Document /proc/PID/pagemap
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:31 +02:00
Michael Kerrisk c77eace5b1 iconv.1, ldd.1, connect.2, dup.2, epoll_ctl.2, eventfd.2, fallocate.2, fcntl.2, getitimer.2, inotify_add_watch.2, open.2, pipe.2, poll.2, sendmmsg.2, set_tid_address.2, shmop.2, signalfd.2, splice.2, syscalls.2, syslog.2, tee.2, vmsplice.2, ether_aton.3, mallopt.3, printf.3, profil.3, charmap.5, proc.5, epoll.7, inotify.7, libc.7, pipe.7, sched.7, socket.7, udplite.7, iconvconfig.8, ld.so.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-08 16:14:48 +02:00
Michael Kerrisk 31987bef1b proc.5: Replace /proc/sys/kernel/printk discussion with reference to syslog(2)
It makes more sense to have the /proc/sys/kernel/printk with
the related material in syslog(2).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-23 10:35:21 +02:00
Michael Kerrisk a3fc6130b5 proc.5: Rewrite /proc/sys/kernel/printk description
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-23 10:35:21 +02:00
Michael Kerrisk 7f8d4d3171 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-23 10:35:20 +02:00
Michael Kerrisk 83114d0ae6 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-23 10:35:20 +02:00
Michael Kerrisk eb9a0b2f75 intro.1, gettimeofday.2, mkdir.2, nice.2, setresuid.2, stime.2, adjtime.3, getttyent.3, proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-18 15:38:13 +02:00
Simon Paillard a1fa36afd2 :eventfd.2, fallocate.2, open.2, sendmmsg.2, signalfd.2, proc.5, sched.7, socket.7, udplite.7: spfix: "behaviour": use American spelling "behavior" instead
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-17 07:27:20 +02:00
Michael Kerrisk 91085d8525 Removed trailing white space at end of lines 2014-06-14 08:03:45 +02:00
Michael Kerrisk df352acc94 proc.5: Add a brief description of /proc/fs
Reported-by: Jan Chaloupka <jchaloup@redhat.com>
Reported-by: Walter Harms <wharms@bfs.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-12 15:15:45 +02:00
Michael Kerrisk 000e10e84b proc.5: srcfix: Remove obsolete FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-31 06:34:58 +02:00
Michael Kerrisk 8660ef9f1d locale.1, adjtimex.2, clone.2, fork.2, getrlimit.2, remap_file_pages.2, set_mempolicy.2, swapon.2, a64l.3, adjtime.3, argz_add.3, bstring.3, envz_add.3, fpathconf.3, fseek.3, gcvt.3, getaddrinfo_a.3, getauxval.3, getnameinfo.3, getrpcent.3, getrpcport.3, getspnam.3, getutent.3, inet.3, inet_net_pton.3, key_setsecret.3, makecontext.3, makedev.3, malloc_trim.3, mq_getattr.3, newlocale.3, nl_langinfo.3, perror.3, pthread_attr_setaffinity_np.3, pthread_attr_setdetachstate.3, pthread_attr_setguardsize.3, pthread_attr_setscope.3, pthread_attr_setstack.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_cleanup_push_defer_np.3, pthread_create.3, pthread_setname_np.3, pthread_setschedparam.3, pthread_setschedprio.3, pthread_sigqueue.3, rcmd.3, re_comp.3, resolver.3, rexec.3, rtime.3, scandir.3, setlocale.3, setnetgrent.3, sigvec.3, tsearch.3, core.5, proc.5, charsets.7, locale.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 15:42:25 +02:00
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