If Mysql causing the load so you can use following commands to check it
------------------------------------------------------------------------
mysqladmin pr
mysqladmin -u root processlist
mysqladmin version
watch mysqladmin proc
If Apache causing the load so check using following commands
--------------------------------------------------------------
netstat -ntu | awk {print $5} | cut -d: -f1 | sort | uniq -c | sort n
netstat -an |grep :80 |wc l
netstat -n | grep :80 | wc -l;uptime ; netstat -n | wc l
netstat tupl
pidof httpd
history | netstat
lsof -p pid
If mysql is causing load so you can check it using following commands
---------------------------------------------------------------------
mysqladmin -u root processlist
mysqladmin version
watch mysqladmin proc
mysqladmin -u root processlist
To check ipd of php
--------------------
lsof -p pid
netstat -an |grep :80 |wc l
netstat -ntu | awk {print $5} | cut -d: -f1 | sort | uniq -c | sort -n
netstat -na |grep :80 |sort
Tuesday, February 9, 2016
Check Linux Load
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment