Performace tool
On Linux :
iostat (IO status)
vmstat (Memory)
mpstat (CPU)
mpstat -P ALL (all cores CPU)
top
sar
Top 10 CPU uage:
ps -eo pcpu,pid,user,args sort -k 1 -r head 10
or
ps -eo pcpu,pid,user,args sort -r -k1 less
who is using the CPU
ps -e -o pcpu,cpu,nice,state,cputime,args –sort pcpu sed ‘/^ 0.0 /d’
check CPU:
cat /proc/cpuinfo
less /proc/interrupts
ls /sys/devices/system/cpu
iostat (IO status)
vmstat (Memory)
mpstat (CPU)
mpstat -P ALL (all cores CPU)
top
sar
Top 10 CPU uage:
ps -eo pcpu,pid,user,args sort -k 1 -r head 10
or
ps -eo pcpu,pid,user,args sort -r -k1 less
who is using the CPU
ps -e -o pcpu,cpu,nice,state,cputime,args –sort pcpu sed ‘/^ 0.0 /d’
check CPU:
cat /proc/cpuinfo
less /proc/interrupts
ls /sys/devices/system/cpu
Comments