This is an old revision of the document!


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
sar -B 1
sar -r
sar -f /var/log/sa/sa26 -r| more
[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

linux/performance.1557241968.txt.gz · Last modified: 2019/05/07 17:12 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki