`
robinfung
  • 浏览: 52691 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

Linux command

 
阅读更多

linux hostname

nano /etc/sysconfig/network

 

check the cpu and memory

check os version:
cat /proc/version 
check general memory informaiton
 cat /proc/meminfo 
cpu:
cat /proc/cpuinfo   

linux sort processes by memory usage

ps aux | awk '{print $2, $4, $11}' | sort -k2r | head -n 10


grep -i memtotal /proc/meminfo 
 

check the listening port 

netstat -an | grep 50001

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics