Linux - Command to find server load spike users, Find top 10 users in server
Command to find server load spike users
Command to find server load spike usersThe following are some of the most used command by me and system admiins as and then.
To Find max http hits from which ip
netstat -tn | grep :80 | awk '{print \$5}' | cut -f1 -d: | sort | uniq -c | sort -rn | head
To find the nettraffic
/usr/local/nagios/libexec/check_nrpe -H localhost -c check_network| awk -F\| '{print \$1}'
List top 10 users
ps -eo user,pcpu,pid,command | sort -r -k2 | head -11
List Process
ps -aGp
Find the user who executs perl
fuser -v /usr/bin/perl fuser -k pid
The topic on Linux - Command to find server load spike users is posted by - Venki
Hope you have enjoyed, Linux - Command to find server load spike usersThanks for your time