linux 常用命令

监控
watch -n 1 -d  cat emit.offset

使用某人身份
su - cafe -c "命令"


linux 查看默认页大小:
getconf PAGESIZE

10:29 [[email protected]]$ getconf PAGESIZE
4096


free -m

top shift + >

jstat -gcutil 1234 1000 1000

jmap -heap 1234

jinfo -flag UseSerialGC 1234


ping -c 5 -s 32 www.baidu.com

sort /opt/logs/vip.log | uniq -c | sort -nr | nl

http://blog.csdn.net/linghao00/article/details/8059244

http://www.cnblogs.com/rosesmall/archive/2012/03/20/2407865.html

重点看这个
http://www.eduyo.com/server/linux/797.html

你可能感兴趣的:(linux 常用命令)