PROCINFO (8)
display system status gathered from /proc
SYNOPSIS
procinfo
[
-fsmadiDSbhv
] [
-n N
] [
-F file
]
DESCRIPTION
procinfo
gathers some system data from the
/proc
directory and prints it nicely formatted on the standard output
device.
The meanings of the fields are as follows:
Memory:
See the man page for
free(1)
(preferably the proc-version of free (If you weren't around during the
Linux 1.x days, that's the only version of free you'll have)).
Bootup:
The time the system was booted.
Load\ average:
The average number of jobs running, followed by the number of runnable
processes and the total number of processes (if your kernel is recent
enough), followed by the PID of the last process run (idem).
user:
The amount of time spent running jobs in user space.
nice:
The amount of time spent running niced jobs in user space.
system:
The amount of time spent running in kernel space.
Note:
the time spent servicing interrupts is not counted by the kernel (and
nothing that
procinfo
can do about it).
idle:
The amount of time spent doing nothing.
uptime:
The time that the system has been up. The above four should more or
less add up to this one.
page\ in:
The number of disk block paged into core from disk. (A block is
almost always 1 kilobyte).
page\ out:
The reverse of the above. (What does that mean, anyways?)
swap\ in:
The number of memory pages paged in from swapspace.
swap\ out:
The number of memory pages paged out to swapspace.
context:
The total number of context switches since bootup.
disk\ 1-4:
The number of times your hard disks have been accessed. This won't work
for 1.0.x/1.1.x kernels unless you have applied the diskstat patch
available elsewhere to your kernel, and might give surprising results if
all your hard disks are of the same type (e.g. all IDE, all SCSI). [I'm
not sure to what extend this is still true with recent kernels, but I
don't have a mixed system so I can't check.]
Interrupts:
This is either a single number for all IRQ channels together if your
kernel is older than version 1.0.5, or two rows of numbers for each IRQ
channel if your kernel is at version 1.0.5 or later. On Intel
architecture there are sixteen different IRQ channels, and their default
meanings are as follows:
0
1
2
Cascade for controller 2 (which controls IRQ 8-15)
3
4
5
6
Floppy Diskette Controller
7
8
9
10
11
12
13
14
15
Note that the meanings of the IRQ channels for parallel ports, serial
ports and those left empty may have been changed depending on your
hardware setup. If that's the case on your machine, you're probably
aware of it. If you're not, upgrade to at least Linux 1.1.43 and let
procinfo
enlighten you about who uses what.
Modules:
The modules (loadable device drivers) installed on your machine, with
their sizes in kilobytes. (Only with
-m
or
-a
option). Modules with a use count larger than 0 are marked with an
asterisk.
Character\ and\ Block\ Devices:
All available devices with their major numbers. (Only with
-m
or
-a
option).
File\ Systems:
All available file systems. (Only with
-m
or
-a
option). Those that do not require an actual device (like procfs
itself) are noted between square brackets.
OPTIONS
INTERACTIVE COMMANDS
When running
procinfo
fullscreen, you can change its behaviour by pressing
n,
d,
D,
S,
i,
m,
a
and
b,
which have the same effect as the corresponding command line options.
In addition you can press
q
which quits the program;
s
which switches back to the main screen after pressing
m
or
a;
t
which switches back to displaying totals after pressing
d
or
D;
or
Ctrl-L
which refreshes the screen.
FILES
BUGS
SEE ALSO
AUTHOR
Sander van Malssen <svm@kozmix.ow.nl>
|
|