1. Check network performance
iftop
netstat -antlp
tcpdump
iptraf
2. Check disk read and write
iotop
iostat
3. Check memory and swap cpu
vmstat
top
htop
saidar
4. Check what program is using the file.
Lsof command used in many Linux/Unix like system that is used to display list of all the open files and the processes. The open files included are disk files, network sockets, pipes, devices and processes. One of the main reason for using this command is when a disk cannot be unmounted and displays the error that files are being used or opened. With this commmand you can easily identify which files are in use. The most common format for this command is.
5. Check user
sudo apt-get install acct
ac
Related links
阅读(1502) | 评论(0) | 转发(0) |