日期:2014-05-16 浏览次数:20741 次
iostat -x 1
vmstat 1
mpstat -P ALL 1
sar -u -f /var/log/sa/sa01
sar -r 1 10
df -ha
du -ha 目录/
w
cat /proc/meminfo
cat /proc/cpuinfo
cat /proc/cpuinfo |grep 'processor'|wc -l
netstat -ano|grep '3306'
netstat -ano|findstr "3306"
tasklist
ssh-keygen -t rsa
tar -czvf xx.tar.gz 目录名
tar -zxvf xx.tar.gz tar -xvf xxx.tar
java -jar ../panalyser-master-1.0-jar-with-dependencies.jar > master-server.log
java -jar ../panalyser-master-1.0-jar-with-dependencies.jar > master-server.log &
export LANG=zh_CN.GB18030 或者 export LANG=zh_CN.UTF8
netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'
netstat -nr / route -n
sar -n SOCK
sar -n DEV
lsof -p pid
lsof +D /home/admin/dayu
source somefile
cat /etc/passwd
w
cat /etc/group