User Name
Password

Go Back   Planetarion Forums > Non Planetarion Discussions > Programming and Discussion

Reply
Thread Tools Display Modes
Unread 6 Aug 2004, 15:23   #1
Ragnarak
Registered User
 
Ragnarak's Avatar
 
Join Date: Oct 2000
Posts: 4,944
Ragnarak is a splendid one to beholdRagnarak is a splendid one to beholdRagnarak is a splendid one to beholdRagnarak is a splendid one to beholdRagnarak is a splendid one to beholdRagnarak is a splendid one to beholdRagnarak is a splendid one to behold
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
Ragnarak is offline   Reply With Quote
Unread 6 Aug 2004, 16:02   #2
wu_trax
Registered User
 
Join Date: Jan 2003
Posts: 4,290
wu_trax is a pillar of this Internet societywu_trax is a pillar of this Internet societywu_trax is a pillar of this Internet societywu_trax is a pillar of this Internet societywu_trax is a pillar of this Internet societywu_trax is a pillar of this Internet societywu_trax is a pillar of this Internet societywu_trax is a pillar of this Internet societywu_trax is a pillar of this Internet societywu_trax is a pillar of this Internet societywu_trax is a pillar of this Internet society
Re: Useful RedHat commands for administering apache/mysql webserver?

try top for memory usage and cpu
__________________
im not tolerant, i just dont care.
wu_trax is offline   Reply With Quote
Unread 6 Aug 2004, 18:55   #3
Ragnarak
Registered User
 
Ragnarak's Avatar
 
Join Date: Oct 2000
Posts: 4,944
Ragnarak is a splendid one to beholdRagnarak is a splendid one to beholdRagnarak is a splendid one to beholdRagnarak is a splendid one to beholdRagnarak is a splendid one to beholdRagnarak is a splendid one to beholdRagnarak is a splendid one to behold
Re: Useful RedHat commands for administering apache/mysql webserver?

cheers

anyone else with any useful ones?
__________________
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
Ragnarak is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Forum Jump


All times are GMT +1. The time now is 08:44.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2018