User Tools

Site Tools


proc:status_file

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
proc:status_file [2017/04/05 09:46] peterproc:status_file [2022/07/16 21:04] (current) – SD1cez <a href="http://itndopuumszb.com/">itndopuumszb</a>, [url=http://acjzzkejksfj.com/]acjzzkejksfj[/url], [link=http://vbrqueefsgid.com/]vbrqueefsgid[/link], http://doxjgwysfxnx.com/ 5.188.211.10
Line 1: Line 1:
-====== Proc - Status file ====== +SD1cez  <a href="http://itndopuumszb.com/">itndopuumszb</a>, [url=http://acjzzkejksfj.com/]acjzzkejksfj[/url], [link=http://vbrqueefsgid.com/]vbrqueefsgid[/link]http://doxjgwysfxnx.com/
- +
-To get the status information of a process, all you have to do is read the file /proc/PID/status: +
- +
-<code bash> +
-cat /proc/self/status +
-</code> +
- +
-returns: +
- +
-<code> +
-Name:   cat +
-State:  R (running) +
-Tgid:   5452 +
-Pid:    5452 +
-PPid:   743 +
-TracerPid:      0 (2.4) +
-Uid:    501     501     501     501 +
-Gid:    100     100     100     100 +
-FDSize: 256 +
-Groups: 100 14 16 +
-VmPeak:     5004 kB +
-VmSize:     5004 kB +
-VmLck:         0 kB +
-VmHWM:       476 kB +
-VmRSS:       476 kB +
-VmData:      156 kB +
-VmStk:        88 kB +
-VmExe:        68 kB +
-VmLib:      1412 kB +
-VmPTE:        20 kb +
-VmSwap:        0 kB +
-Threads:        1 +
-SigQ:   0/28578 +
-SigPnd: 0000000000000000 +
-ShdPnd: 0000000000000000 +
-SigBlk: 0000000000000000 +
-SigIgn: 0000000000000000 +
-SigCgt: 0000000000000000 +
-CapInh: 00000000fffffeff +
-CapPrm: 0000000000000000 +
-CapEff: 0000000000000000 +
-CapBnd: ffffffffffffffff +
-voluntary_ctxt_switches:        0 +
-nonvoluntary_ctxt_switches:     1 +
-</code> +
- +
-This shows you nearly the same information you would get if you viewed it with the **ps** command.  In  factps uses the proc file system to obtain its information.  But you get a more detailed view of the process by reading the file /proc/PID/status. +
- +
proc/status_file.1491385567.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki