Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page xxv — #25
i
i
i
i
i
i
i
i
28 System Monitoring Utilities 707
28.1 List of Open Files: lsof . . . . . . . . . . . . . . . . . . . . . . . 708
28.2 User Accessing Files: fuser . . . . . . . . . . . . . . . . . . . . 709
28.3 File Properties: stat . . . . . . . . . . . . . . . . . . . . . . . . 710
28.4 Processes: top . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710
28.5 Process List: ps . . . . . . . . . . . . . . . . . . . . . . . . . . . 711
28.6 Process Tree: pstree . . . . . . . . . . . . . . . . . . . . . . . . 712
28.7 Who Is Doing What: w . . . . . . . . . . . . . . . . . . . . . . 713
28.8 Memory Usage: free . . . . . . . . . . . . . . . . . . . . . . . . 714
28.9 Kernel Ring Buffer: dmesg . . . . . . . . . . . . . . . . . . . . 714
28.10 File Systems and Their Usage: mount, df, and du . . . . . . . 715
28.11 The /proc File System . . . . . . . . . . . . . . . . . . . . . . . 716
28.12 procinfo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 718
28.13 PCI Resources: lspci . . . . . . . . . . . . . . . . . . . . . . . . 719
28.14 System Calls of a Program Run: strace . . . . . . . . . . . . . 720
28.15 Library Calls of a Program Run: ltrace . . . . . . . . . . . . . 721
28.16 Specifying the Required Library: ldd . . . . . . . . . . . . . . 722
28.17 Interprocess Communication: ipcs . . . . . . . . . . . . . . . . 722
V Appendix 723
A Information Sources and Documentation 725
B Manual Page of e2fsck 729
C Manual Page of reiserfsck 735
D The GNU General Public License 739
Bibliography 747
xxv
SUSE LINUX Enterprise Server










