Top Hosting Forum

WebHosting Reviews Forum


What is your favorite tool for high load cause discovery?

Need help with server administration or do you have anything to advice about this topic?
Hosting Forum Description
Need help with server administration or do you have anything to advice about this topic?

What is your favorite tool for high load cause discovery?

Postby hostingforum » Mon Feb 20, 2017 8:10 am

Hello,

which Linux command line tool is your favorite for discovering high load cause on the server?

In my case "htop" as it allows easy sorting of the processes according to memory used, CPU usage and disk activity. The disk activity has to be manually set in configuration, it is named "IO_RATE -> IORW" and it is read+write rate in bytes per second. But it do not shows transactions per second. I have NOT found any tool that shows per process IOPS/TPS.

nmon and then "ldn" keys. it will show cpu, disk, network utilization. It shows "Transfers/sec" which should be rough estimate of IOPS, but it shows around 1000 in my case and i got just 2x 7K RPM drives in HW raid 1, so not sure if this is anyhow useful.

iotop -ao is my next favorite, because frequently HDD IO is the high load cause. It shows cumulative IO stats for the processes.

glances and then "i" key to sort by io

iostat -x 5 shows cpu and disk utilization, values like %iowait, r/s, w/s (reads/writes per seconds - IOPS), HDD utilization in percent. Does not show per process utilization.

I hope you can share some other tools that was not yet mentioned.



hostingforum
Site Admin
 
Posts: 662
Joined: Fri May 20, 2011 7:58 pm

Re: What is your favorite tool for high load cause discovery

Postby goodping » Wed Oct 09, 2019 6:52 am

You can use the following commands to find abusers in the server

To find top 10 memory utilized process process
ps axo ruser,%mem,comm,pid,euser | sort -nr | head -n 10

To view top 10 cpu utilized process process
ps axo ruser,%cpu,comm,pid,euser | sort -nr | head -n 10


goodping
 
Posts: 12
Joined: Wed Oct 09, 2019 6:36 am

Re: What is your favorite tool for high load cause discovery

Postby WHVDavid » Sun Dec 18, 2022 5:43 pm

I was unaware about htop.

I only used top command to find abusive users by CPU/RAM.


WHVDavid
 
Posts: 3
Joined: Sun Dec 18, 2022 5:41 pm


Return to Server Administration

Who is online

Users browsing this forum: No registered users and 0 guests

.
cron