Firebird News

Tuesday, October 10, 2006

tip of the day , how to show memory used by apache in ubuntu/debian ?

$ps -ylC httpd --sort:rss

S UID PID PPID C PRI NI RSS SZ WCHAN TTY TIME CMD
S 500 3487 3483 0 78 0 836 3712 - ? 00:00:00 httpd
S 500 3478 3473 0 78 0 840 3881 - ? 00:00:00 httpd



I have seen it on debianhelp.co.uk apache optimization howto

ps: php is really fat (~22Megs sometime if compiled with all kind of options)

No comments: