Benutzer-Werkzeuge

Webseiten-Werkzeuge


linux:nmon

Linux Monitor nmon

Tool zur Visualisierung der Performance und Ressourcenverbrauch unter Linux und AIX Systemen.

unter anderem:

  • CPU
  • Speicher
  • Dateisysteme, NFS, etc
  • Prozesse

etc.

Interessant ist auch die Ausgabe in eine Komma-separierte Datei (csv) zur späteren Analyse.

https://www.ibm.com/developerworks/aix/library/au-analyze_aix/ https://launchpad.net/ubuntu/quantal/+package/nmon

Installation

sudo apt-get install nmon

Screenshot

csv

nmon -f -s 30 -c 120

Ausgabe (gekürzt)

haiko@haiko-ubuntu:~$ cat haiko-ubuntu_120430_0856.nmon 
AAA,progname,nmon
AAA,command,nmon -f -s 30 -c 120 
AAA,version,13g
AAA,disks_per_line,150
AAA,max_disks,256,set by -d option
AAA,disks,7,
AAA,host,haiko-ubuntu
AAA,user,haiko
AAA,OS,Linux,3.2.0-24-generic-pae,#37-Ubuntu SMP Wed Apr 25 10:47:59 UTC 2012,i686
...
BBBP,023,/proc/cpuinfo,"cpu cores	: 2"
BBBP,024,/proc/cpuinfo,"apicid		: 0"
BBBP,025,/proc/cpuinfo,"initial apicid	: 0"
BBBP,026,/proc/cpuinfo,"fdiv_bug	: no"
BBBP,027,/proc/cpuinfo,"hlt_bug		: no"
BBBP,028,/proc/cpuinfo,"f00f_bug	: no"
BBBP,029,/proc/cpuinfo,"coma_bug	: no"
BBBP,030,/proc/cpuinfo,"fpu		: yes"
BBBP,031,/proc/cpuinfo,"fpu_exception	: yes"
BBBP,032,/proc/cpuinfo,"cpuid level	: 1"
BBBP,033,/proc/cpuinfo,"wp		: yes"
BBBP,034,/proc/cpuinfo,"flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv"
BBBP,035,/proc/cpuinfo,"bogomips	: 1596.04"
....
BBBP,084,/proc/meminfo,"HighTotal:       1183336 kB"
BBBP,085,/proc/meminfo,"HighFree:          15008 kB"
BBBP,086,/proc/meminfo,"LowTotal:         877772 kB"
BBBP,087,/proc/meminfo,"LowFree:          436856 kB"
BBBP,088,/proc/meminfo,"SwapTotal:       2095100 kB"
BBBP,089,/proc/meminfo,"SwapFree:        2095100 kB"
BBBP,090,/proc/meminfo,"Dirty:               124 kB"
BBBP,091,/proc/meminfo,"Writeback:             0 kB"
BBBP,092,/proc/meminfo,"AnonPages:        638216 kB"
BBBP,093,/proc/meminfo,"Mapped:           143840 kB"
BBBP,094,/proc/meminfo,"Shmem:             11812 kB"
BBBP,095,/proc/meminfo,"Slab:              41508 kB"
BBBP,096,/proc/meminfo,"SReclaimable:      25488 kB"
BBBP,097,/proc/meminfo,"SUnreclaim:        16020 kB"
....
BBBP,123,/proc/stat,"btime 1335766693"
BBBP,124,/proc/stat,"processes 3124"
BBBP,125,/proc/stat,"procs_running 1"
BBBP,126,/proc/stat,"procs_blocked 0"
BBBP,127,/proc/stat,"softirq 875217 0 345443 385 86767 43026 0 31747 80306 576 286967"
BBBP,128,/proc/version
BBBP,129,/proc/version,"Linux version 3.2.0-24-generic-pae (buildd@vernadsky) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #37-Ubuntu SMP Wed Apr 25 10:47:59 UTC 2012"
BBBP,130,/proc/net/dev
BBBP,131,/proc/net/dev,"Inter-|   Receive                                                |  Transmit"
.....
BBBP,219,/bin/mount,"none on /sys/fs/fuse/connections type fusectl (rw)"
BBBP,220,/bin/mount,"none on /sys/kernel/debug type debugfs (rw)"
BBBP,221,/bin/mount,"none on /sys/kernel/security type securityfs (rw)"
BBBP,222,/bin/mount,"udev on /dev type devtmpfs (rw,mode=0755)"
BBBP,223,/bin/mount,"devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)"
BBBP,224,/bin/mount,"tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)"
BBBP,225,/bin/mount,"none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)"
BBBP,226,/bin/mount,"none on /run/shm type tmpfs (rw,nosuid,nodev)"
BBBP,227,/bin/mount,"binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)"
......
PROC,T0001,1.0,-1.0,0.0,-1.0,-1.0,-1.0,0.0,-1.0,-1.0,-1.0
NET,T0001,0.0,0.0,1.3,0.0,0.0,0.2,
NETPACKET,T0001,0.0,0.0,5.4,0.0,0.0,2.0,
JFSFILE,T0001,48.4,0.0,0.2,0.0,0.1,-nan,27.2
DISKBUSY,T0001,16.7,0.0,0.0,0.0,0.0,0.0,16.7
DISKREAD,T0001,1297.9,0.0,0.0,0.0,0.0,0.0,1297.9
DISKWRITE,T0001,0.0,0.0,0.0,0.0,0.0,0.0,0.0
DISKXFER,T0001,30.0,0.0,0.0,0.0,0.0,0.0,30.0
DISKBSIZE,T0001,43.2,0.0,0.0,0.0,0.0,0.0,43.2
Diese Website verwendet Cookies. Durch die Nutzung der Website stimmen Sie dem Speichern von Cookies auf Ihrem Computer zu. Außerdem bestätigen Sie, dass Sie unsere Datenschutzbestimmungen gelesen und verstanden haben. Wenn Sie nicht einverstanden sind, verlassen Sie die Website.Weitere Information
linux/nmon.txt · Zuletzt geändert: 2012/07/10 07:37 (Externe Bearbeitung)

hello, world