Useful RedHat commands for administering apache/mysql webserver?
I'm looking for any useful commands for monitoriing the performance of a webserver.
/etc/init.d/httpd restart
/etc/init.d/mysqld restart
mysqladmin -u root -p variables
/etc/init.d/mysqld status
mysqladmin -u root -p status
view active connections
netstat -an | grep :80 | grep EST
number of active connections
netstat -an | grep :80 | grep EST | wc -l
The above are all the ones i've found at the minute.
I'd also be interested in a command that shows how the hardware is handling. How much ram is free, how much ram there is in total, what the cpu speed is, etc.
Thanks for any help guys.
__________________
I find it kind of funny
I find it kind of sad
The dreams in which i'm dying
Are the best i've ever had
|