centos6性能监控软件

常用软件在此下载

http://rpm.pbone.net/

http://pkgs.org/

  • collectl

显示cpudisk etwork的实时信息
http://dl.fedoraproject.org/pub/epel/6/x86_64/collectl-4.0.2-1.el6.noarch.rpm
需要先安装以下rpm,可在https://centos.pkgs.org/6/下载
perl-5.10.1-144.el6.x86_64.rpm
perl-Compress-Raw-Zlib-2.021-144.el6.x86_64.rpm
perl-Compress-Zlib-2.021-144.el6.x86_64.rpm
perl-IO-Compress-Base-2.021-144.el6.x86_64.rpm
perl-IO-Compress-Zlib-2.021-144.el6.x86_64.rpm
perl-libs-5.10.1-144.el6.x86_64.rpm
perl-Module-Pluggable-3.90-144.el6.x86_64.rpm
perl-Pod-Escapes-1.04-144.el6.x86_64.rpm
perl-Pod-Simple-3.13-144.el6.x86_64.rpm
perl-Time-HiRes-1.9721-144.el6.x86_64.rpm
perl-version-0.77-144.el6.x86_64.rpm

  • iftop

查看实时网速
http://dl.fedoraproject.org/pub/epel/6/x86_64/iftop-1.0-0.14.pre4.el6.x86_64.rpm
需要先安装以下rpm,可在https://centos.pkgs.org/6/下载
libpcap-1.4.0-4.20130826git2dbcaa1.el6.x86_64.rpm

  • nmon

监控cpu、内存、网络、文件系统、内核、NFS等信息,不太会用
centos6.5可直接安装
http://dl.fedoraproject.org/pub/epel/6/x86_64/nmon-16g-3.el6.x86_64.rpm

  • htop

监控cpu、内存、swap、进程等,直观
centos6.5可直接安装
http://dl.fedoraproject.org/pub/epel/6/x86_64/htop-1.0.3-1.el6.x86_64.rpm

  • atop

显示所有进程活动的性能监控工具。包含了CPU,内存,交换空间,磁盘和网络层的度量指标
centos6.5可直接安装
http://dl.fedoraproject.org/pub/epel/6/x86_64/atop-1.27-2.el6.x86_64.rpm

  • iperf

测试网速
centos6.5可直接安装,建议安装iperf2.0.4
http://dl.fedoraproject.org/pub/epel/6/x86_64/iperf3-3.0.12-1.el6.x86_64.rpm

  • nload

直观显示网速
centos6.5可直接安装
http://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/n/nload-0.7.4-1.el6.x86_64.rpm

  • dstat

http://mirror.centos.org/centos/6/updates/x86_64/Packages/dstat-0.7.0-3.el6_9.1.noarch.rpm

  • tcpdump

http://mirror.centos.org/centos/6/os/x86_64/Packages/tcpdump-4.0.0-11.20090921gitdf3cb4.2.el6.x86_64.rpm

需要先安装以下rpm,

http://mirror.centos.org/centos/6/os/x86_64/Packages/libpcap-1.4.0-4.20130826git2dbcaa1.el6.x86_64.rpm

  • sysstat

http://mirror.centos.org/centos/6/os/x86_64/Packages/sysstat-9.0.4-33.el6.x86_64.rpm

以上为9.0.4版本,11.6.0版本中包含iostat,mpstat, pidstat,tapestat,nfsiostat,cifsiostat,sysstat, sar,sadf,sadc,sa1,sa2

  •  bwm-ng(不准确)

http://dl.fedoraproject.org/pub/epel/6/x86_64//bwm-ng-0.6-6.el6.2.x86_64.rpm

  •  glances

http://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/g/glances-1.7.4-1.el6.noarch.rpm

http://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/p/python-psutil-0.6.1-1.el6.x86_64.rpm

http://mirrors.163.com/centos/6/os/x86_64/Packages/python-setuptools-0.6.10-3.el6.noarch.rpm 

  

系统自带以下命令

top
netstat
vmstat
free
ss
slabtop

  • iozone

http://ftp.tu-chemnitz.de/pub/linux/dag/redhat/el6/en/x86_64/rpmforge/RPMS/iozone-3.424-2.el6.rf.x86_64.rpm

  • fio

http://dl.fedoraproject.org/pub/epel/6/x86_64//fio-2.0.13-2.el6.x86_64.rpm

需要安装以下

libaio-0.3.107-10.el6.x86_64.rpm
libaio-devel-0.3.107-10.el6.x86_64.rpm
libibverbs-1.1.8-4.el6.x86_64.rpm
libnl-1.1.4-2.el6.x86_64.rpm
librdmacm-1.0.21-0.el6.x86_64.rpm
pciutils-3.1.10-4.el6.x86_64.rpm
pciutils-libs-3.1.10-4.el6.x86_64.rpm
rdma-6.9_4.1-3.el6.noarch.rpm

其中pciutils-libs-3.1.10-4.el6.x86_64和centos6.5系统自带pciutils-libs-3.1.10-2.el6.x86_64有冲突,记得安装的时候--force哦,至于影响嘛!我没测试。


常用的监控性能的命令还有:

saidar、sysdig、lsof、iftop、iperf、smem、icinga、nagios、Linux process explorer(KDE界面)

  • webmin

除了以上字符界面管理命令外,还有webmin软件可以方便系统管理

http://prdownloads.sourceforge.net/webadmin/webmin-1.860-1.noarch.rpm

需要安装以下perl包

perl-version-0.77-144.el6.x86_64.rpm
perl-Pod-Simple-3.13-144.el6.x86_64.rpm
perl-Pod-Escapes-1.04-144.el6.x86_64.rpm
perl-Net-SSLeay-1.35-10.el6_8.1.x86_64.rpm
perl-Module-Pluggable-3.90-144.el6.x86_64.rpm
perl-libs-5.10.1-144.el6.x86_64.rpm
perl-Encode-Detect-1.01-2.el6.x86_64.rpm
perl-5.10.1-144.el6.x86_64.rpm


dd if=/dev/zero of=hello.txt bs=100M count=100 conv=fsync

 https://pkgs.org/

http://rpm.pbone.net/

http://www.rpmfind.net

原文地址:https://www.cnblogs.com/tcicy/p/7701063.html