第一部分:系统状态监控.pdfVIP

  • 3
  • 0
  • 约3.07千字
  • 约 5页
  • 2018-09-29 发布于河北
  • 举报
第一部分:系统状态监控

1 free 1free 2 ddif=/dev/zeroof=filebs=1Mcount=200 3 4/+buffers/cache 5 echo1/proc/sys/vm/drop_caches 6帮/proc/sys/vm/drop_caches 2 cpu sysstat 1cat/proc/cpuinfocpu 64bit 2dmidecode yuminstalldmidecode 3dmidecode 你 1你cpu cache 2你你 DDR2orDDR 3orSDRHz 4sysstat yuminstallsysstat 5mpstat110mpstat 6vmstat110vmstat 7iostat110iostat 8sarnDEV110 9x86info yumyinstallx86info x86info 10dmesg dmesg 3 1uptime man 2启apache servicehttpdrestart 3ps httpd psChttpd 4httpd cpu cpu pid, psChttpdopid,cputime,%cpu,%mem,cmd 5pid 1 psp1ostat 6apache servicehttpdstop /etc/sysconfig/httpd #HTTPD=/usr/sbin/httpd.worker # servicehttpdstart 7apache psChttpd.workeropid,stat,cputime,cmd 8 psChttpd.workeropid,stat,cputime,cmdL|wcl 9topd.1 10topd.5n6 11top cpu 每 12topf top 13topo top 14 servicehttpdrestart;topuapache 15sarq110 16sar sar110osarfile sarfsarfile sarfsarfileq sarfsarfileA 17man 帮 pmap1 pman$$ 18ldd/bin/bash 192 stracecddif=/dev/zeroof=filebs=1024count=1024 stracecddif=/dev/zeroof=filebs=256count=4096 202 你 stracepsax ltracepsax 4 io 1iostatx110 2cat/proc/partitions 帮 3cat/proc/diskstats 帮 4sarb110 5sard110 6sarIALL110 7lsof 开 servicehttpdstart lsof/usr/sbin/httpd lsof/ lsofp$$ lsofp1 8fuser 开 fuser/ fuser/sbin/init servicehttpdstart fuserk/usr/sbin/httpd 5 1netstatantp 2netstati 3ss ssantp ssostateestablished sso

文档评论(0)

1亿VIP精品文档

相关文档