Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 716 — #742
i
i
i
i
i
i
i
i
Users of the NFS file server totan should clear their home directory imme-
diately.
Display the total size of all the files in a given directory and its subdirecto-
ries with the command du. The parameter -s suppresses the output of de-
tailed information. -h again transforms the data into a form that ordinary
people can understand. With this command:
$ du -sh ~
361M /suse/jj
see how much space your own home directory occupies.
28.11 The /proc File System
The /proc file system is a pseudo file system in which the kernel reserves
important information in the form of virtual files. For example, the CPU
type can be ascertained with this command:
$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Athlon(tm) XP 2400+
stepping : 1
cpu MHz : 2009.343
cache size : 256 KB
fdiv_bug : no
[...]
Allocation and use of interrupts:
$ cat /proc/interrupts
CPU0
0: 537544462 XT-PIC timer
1: 820082 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 2 XT-PIC rtc
9: 0 XT-PIC acpi
10: 13970 XT-PIC usb-uhci, usb-uhci
11: 146467509 XT-PIC ehci_hcd, usb-uhci, eth0
12: 8061393 XT-PIC PS/2 Mouse
14: 2465743 XT-PIC ide0
15: 1355 XT-PIC ide1
NMI: 0
LOC: 0
ERR: 0
MIS: 0
716
28.11. The /proc File System










