Datasheet

“main” (Installation and Administration) 2004/6/25 13:29 page 718 #744
i
i
i
i
i
i
i
i
The address assignment of executables and libraries is contained in the
maps file:
$ cat /proc/self/maps
08048000-0804c000 r-xp 00000000 03:02 22890 /bin/cat
0804c000-0804d000 rw-p 00003000 03:02 22890 /bin/cat
0804d000-0806e000 rwxp 0804d000 00:00 0
40000000-40016000 r-xp 00000000 03:02 10882 /lib/ld-2.3.3.so
40016000-40017000 rw-p 00015000 03:02 10882 /lib/ld-2.3.3.so
40017000-40018000 rw-p 40017000 00:00 0
4002b000-40135000 r-xp 00000000 03:02 10908 /lib/tls/libc.so.6
40135000-4013d000 rw-p 0010a000 03:02 10908 /lib/tls/libc.so.6
4013d000-40141000 rw-p 4013d000 00:00 0
bfffe000-c0000000 rw-p bfffe000 00:00 0
ffffe000-fffff000 ---p 00000000 00:00 0
28.12 procinfo
Important information from the /proc file system is summarized by the
command procinfo:
$ procinfo
Linux 2.4.21-144-athlon (root@i386.suse.de) (gcc 3.3.1 ) #1 \
Fri Nov 28 01:14:40 UTC 2003 1CPU [nunez.suse.de]
Memory: Total Used Free Shared Buffers Cached
Mem: 514736 496088 18648 0 56128 224656
Swap: 1794736 104488 1690248
Bootup: Wed Feb 25 09:44:25 2004 Load average: 0.00 0.01 0.00 1/104 21285
user : 4:34:59.40 0.3% page in : 11320141 disk 1: 474842r 358260w
nice : 0:07:12.64 0.0% page out: 14495036 disk 2: 649679r 989842w
system: 1:15:00.55 0.1% swap in : 58942 disk 3: 6547r 610w
idle : 61d 22:40:40.26 99.6% swap out: 149085 disk 4: 1169r 23w
uptime: 62d 4:37:52.84 context :767431068
irq 0: 537347285 timer irq 10: 13970 usb-uhci, usb-uhci
irq 1: 814562 keyboard irq 11: 146415669 ehci_hcd, usb-uhci,
irq 2: 0 cascade [4] irq 12: 8008998 PS/2 Mouse
irq 6: 2 irq 14: 2463408 ide0
irq 8: 2 rtc irq 15: 1355 ide1
To see all the information, use the parameter -a. The parameter -nhNi pro-
duces updates of the information every hNi seconds. In this case, terminate
the program by pressing
Q .
By default, the cumulative values are displayed. The parameter -d pro-
duces the differential values. procinfo -dn5 displays the values that
have changed in the last five seconds:
718 28.12. procinfo