Home | Mirror | Search

第 2 章 System Utility

目錄

1. User
1.1. last, lastb - show listing of last logged in users
2. Memory
2.1. Memory
2.2. vmstat - Report virtual memory statistics
2.3. mpstat
2.4. pmap - report memory map of a process
3. CPU
3.1. uptime - Tell how long the system has been running.
3.2. top - display Linux tasks
3.3. atop - AT Computing's System & Process Monitor
3.4. htop - interactive process viewer
4. Processes
4.1. strace - trace system calls and signals
4.2. lsof - list open files
4.2.1. 誰打開了該檔案
4.2.2. 誰在占用連接埠
4.2.3. 該進程打開了那些檔案
5. Harddisk IO
5.1. input/output statistics
5.1.1. 5 秒監控一次
5.2. iotop - simple top-like I/O monitor
5.3. ionice - set or get process I/O scheduling class and priority
6. Network
6.1. netstat
6.2. ss
6.3. iftop - display bandwidth usage on an interface by host
6.4. iptraf - Interactive Colorful IP LAN Monitor
6.5. nload: Console application which monitors network traffic and bandwidth
6.6. bwm - Bandwidth Monitor
7. log
7.1. logwatch
7.2. nulog
8. Service
8.1. NFS
8.1.1. nfsstat
8.1.2. nfswatch
8.2. apachetop
9. watchdog
10. nmon
11. Hardware
11.1. temperature/voltage/fan

1. User

1.1. last, lastb - show listing of last logged in users

[neo@linux ~]$ last reboot
reboot   system boot  2.6.18-164.15.1. Wed Apr 28 23:43         (6+21:31)
reboot   system boot  2.6.18-164.15.1. Fri Apr 16 04:07         (12+19:23)
reboot   system boot  2.6.18-164.15.1. Fri Apr 16 02:19          (01:46)
reboot   system boot  2.6.18-164.el5   Thu Apr 15 18:52          (07:25)

wtmp begins Thu Apr 15 18:52:15 2010
		
comments powered by Disqus