Home tmade.de

Home Wiki

Performance

You can get performance info using the following commands (package “sysstat” must be installed!).

mpstat
iostat
vmstat
nfsiostat /hana/data/MHQ 1

See also http://cherry.world.edoors.com/CU0LauKNejGY for aditional info!

sar

OR

time dd if=/dev/sda of=/dev/null bs=1M count=1024

sar

sar -f /var/log/sa/sa18             #show previous day(s)
sar                                 #show today
sar -P ALL                          #CPU
sar -r                              #show RAM
sar -q                              #load average
sar -b                              #io
sar -n DEV                          #network stats
sar -q 1                            #Report queue length and load averages (realtime)
sar -R 1                            #Report memory statistics (realtime)
sar -B 1                            #Report paging statistics (realtime)
sar -r
sar -f /var/log/sa/sa26 -r | less
sar -P ALL -f /var/log/sa/sa18 | less
sar -r -s 10:00:00 -e 12:00:00
[root@testserver ~]# ls -l /var/log/sa/
total 8952
-rw-r--r--  1 root root 410352 May 18 23:50 sa18
-rw-r--r--  1 root root 410352 May 19 23:50 sa19
-rw-r--r--  1 root root 410352 May 20 23:50 sa20
-rw-r--r--  1 root root 410352 May 21 23:50 sa21
-rw-r--r--  1 root root 410352 May 22 23:50 sa22
-rw-r--r--  1 root root 410352 May 23 23:50 sa23

https://www.thomas-krenn.com/de/wiki/Linux_Performance_Aufzeichnung_und_Auswertung_mit_sar

https://www.tmade.de/wiki/doku.php?id=linux:performance