homepage Welcome to WebmasterWorld Guest from 54.166.122.86
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Apache load
rajeshk98

5+ Year Member



 
Msg#: 3142425 posted 5:14 pm on Nov 1, 2006 (gmt 0)

How can i see the httpd load alone on the server.
What is the command to see the apache load alone on the server othere then the TOP command.

 

physics

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3142425 posted 9:22 pm on Nov 6, 2006 (gmt 0)

Try

ps auxww grep httpd

Make sure to replace that pipe ... i.e. don't just copy and paste.

Dainichi

5+ Year Member



 
Msg#: 3142425 posted 6:38 am on Nov 8, 2006 (gmt 0)

One more way to know how server works:

#str=`echo -e "GET /server-status\n" nc -vv example.com 80 head -n 16 tail -n 2`

($str now is CPU Usage: u20.1328 s32.9766 cu0 cs0 - 9.62% CPU load<br> 307 requests/sec - 1.6 MB/second - 5.4 kB/request<br>)

#requests=`echo $str perl -ne 'm/([\d]+) requests/; print $1'`1'
#cpuload=`echo $str perl -ne 'm/([\d.]+)% CPU load/; print $1'`

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved