We can trace the user responsible for high web server resource usage by the folowing command
—————————
cat /etc/httpd/logs/access_log | grep mp3
cat /etc/httpd/logs/access_log | grep rar
cat /etc/httpd/logs/access_log | grep wav etc
cat /etc/httpd/logs/access_log | grep 408 can be used to check for DDOS attacks on the server.
cat /etc/httpd/logs/access_log | grep rar
—————————
You can check if any backup is going on, run the following commands
—————————
ps aux | grep pkg
ps aux | grep gzip
ps aux | grep backup
ps aux | grep buagent
—————————
Use below mentioned command to get top memory consuming processes
—————————
ps aux | head -1;ps aux –no-headers| sort -rn +3 | head
—————————
Use below command to get top cpu consuming processes
—————————
ps aux | head -1;ps aux –no-headers | sort -rn +2 |more
—————————
Leave A Comment
You must be logged in to post a comment.