1PROCINFO-NG(8) Linux System Manual PROCINFO-NG(8)
2
3
4
6 procinfo - display system statistics gathered from /proc
7
8
10 procinfo [ -dDSbrhv ] [ -nN ]
11
12
14 procinfo gathers some system data from the /proc directory and prints
15 it nicely formatted on the standard output device.
16
17 The meanings of the fields are as follows:
18
19
20 Memory:
21 See the man page for free(1)
22
23
24 Bootup:
25 The time the system was booted.
26
27
28 Load average:
29 The average number of jobs running, followed by the number of
30 runnable processes and the total number of processes, followed
31 by the PID of the last process run. The pid of the last running
32 process will probably always be procinfo's PID.
33
34
35 user: The amount of time spent running jobs in user space.
36
37
38 nice: The amount of time spent running niced jobs in user space.
39
40
41 system:
42 The amount of time spent running in kernel space. Note: the
43 time spent servicing interrupts is not counted by the kernel
44 (and nothing that procinfo can do about it).
45
46
47 idle: The amount of time spent doing nothing.
48
49
50 uptime:
51 The time that the system has been up. The above four should more
52 or less add up to this one.
53
54
55 page in:
56 The number of disk blocks paged into core from disk. 1 block is
57 equal to 1 kiB.
58
59
60 page out:
61 The number of disk blocks paged out of core to disk. This
62 includes regular disk-writes.
63
64
65 swap in:
66 The number of memory pages paged in from swap.
67
68
69 swap out:
70 The number of memory pages paged out to swap.
71
72
73 context:
74 The number of context switches, either since bootup or per
75 interval.
76
77
78 Disk stats(hda, hdb, sda, sdb):
79 The number of reads and writes made to disks, whether CD-ROM,
80 hard-drive, or USB. Shows all disks if they either are an hdX
81 or sdX, or if they have a non-zero read/write count.
82
83
84 Interrupts:
85 Number of interrupts serviced since boot, or per interval,
86 listed per IRQ.
87
88
90 -nN Pause N second between updates. This option implies -f. It may
91 contain a decimal point. The default is 5 seconds. When run by
92 root with a pause of 0 seconds, the program will run at the
93 highest possible priority level.
94
95 -d For memory, CPU times, paging, swapping, disk, context and
96 interrupt stats, display values per second rather than totals.
97 This option implies -f.
98
99 -D Same as -d, except that memory stats are displayed as totals.
100
101 -S When running with -d or -D, always show values per second, even
102 when running with -n N with N greater than one second.
103
104 -b Display numbers of bytes rather than number of I/O requests.
105
106 -r This option adds an extra line to the memory info showing 'real'
107 free memory, just as free(1) does. The numbers produced assume
108 that Buffers and Cache are disposable.
109
110 -H Displays memory stats in 'Human' (base 1024) numbers (KiB, MiB,
111 GiB), instead of implied KBytes.
112
113 -h Print a brief help message.
114
115 -v Print version info.
116
118 When running procinfo fullscreen, you can change its behaviour by
119 pressing d, D, S, r and b, which toggle the flags that correspond to
120 their same-named commandline-options. In addition you can press q
121 which quits the program.
122
124 /proc The proc file system.
125
127 All of these statistics are taken verbatim from the kernel, without any
128 scaling. Any case where the kernel specifies that a particular field
129 means something different from how it is documented in this man-page,
130 the kernel always wins.
131
132 Some features of the original procinfo were elided, as they were con‐
133 sidered non-useful, especially as many of them don't change anymore,
134 and have better utilities for listing/displaying them.
135
137 free(1), uptime(1), w(1), init(8), proc(5).
138
140 Adam Schrotenboer <adam@tabris.net>
141
142
143
144v2.0 2007-05-05 PROCINFO-NG(8)