有的时候需要搜集服务器的各种信息,比如cpu信息,内存信息,linux版本信息,安装的各种软件信息等等.下面总结几种主要指标的查看方法. 1. 查看Linux发行版信息 [root@pcmweb ~]# cat /etc/issueRed Hat Enterprise Linux Server release 5 (Tikanga)Kernel on an m 2.查看Linux内核信息 [root@pcmweb ~]# uname -r2.6.18-8.el5xen 3.查看cpu信息 […
free命令可选参数 -b,-k,-m,-g show output in bytes, KB, MB, or GB -h human readable output (automatic unit scaling) -l show detailed low and high memory statistics -o use old format (no -/+buffers/cache line) -t display total for RAM + swap -s update every…