Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2916103
  • 博文数量: 454
  • 博客积分: 4860
  • 博客等级: 上校
  • 技术积分: 6375
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-13 10:08
个人简介

10年工作经验,专研网站运维。

文章分类

全部博文(454)

文章存档

2017年(11)

2016年(13)

2015年(47)

2014年(36)

2013年(147)

2012年(64)

2011年(136)

分类: 系统运维

2015-05-24 08:30:50

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 filesnetwork socketspipesdevices 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     
阅读(1460) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~