Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

passenger-memory-stats(8) [debian man page]

passenger-memory-stats(8)				      Administration Commands					 passenger-memory-stats(8)

NAME
passenger-memory-stats - reports a snapshot of the Apache and Phusion Passenger memory statistcs SYNOPSIS
passenger-memory-stats DESCRIPTION
passenger-memory-stats allows you to easily analyze the real memory usage of Phusion Passenger and Apache. Process inspection tools such as ps and top are useful, but they rarely show the correct memory usage. The real memory usage is usually lower than what ps and top report. There are many technical reasons why this is so, but an explanation is beyond the scope of this page. We refer the interested reader to operating systems literature about virtual memory and copy-on-write. When you run this tool the Private or private dirty RSS field shows the real memory usage of processes. ENVIRONMENT VARIABLES
HTTPD The full filename to the Apache executable. By default, Passenger will attempt to autodetect the Apache executable. If autodetection fails for whatever reason, then Apache processes will not be shown in the memory statistics. In that case, you may manually specify the location to the Apache executable using this environment variable. SEE ALSO
passenger-status(8), ps(1), top(1), User guide at http://www.modrails.com/documentation.html AUTHOR
Phusion Passenger is written by Phusion (http://www.phusion.nl) "Phusion" and "Phusion Passenger" are trademarks of Hongli Lai & Ninh Bui. This manual page was written by Neil Wilson <neil@brightbox.co.uk> for the Ubuntu project (but may be used by others). Phusion Passenger 2.0 passenger-memory-stats(8)

Check Out this Related Man Page

APACHE_CHILD_TERMINATE(3)						 1						 APACHE_CHILD_TERMINATE(3)

apache_child_terminate - Terminate apache process after this request

SYNOPSIS
bool apache_child_terminate (void ) DESCRIPTION
apache_child_terminate(3) will register the Apache process executing the current PHP request for termination once execution of PHP code is completed. It may be used to terminate a process after a script with high memory consumption has been run as memory will usually only be freed internally but not given back to the operating system. RETURN VALUES
Returns TRUE if PHP is running as an Apache 1 module, the Apache version is non-multithreaded, and the child_terminate PHP directive is enabled (disabled by default). If these conditions are not met, FALSE is returned and an error of level E_WARNING is generated. CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.4.0 | | | | | | | This function became available under FastCGI. | | | Previously, it was supported only when PHP was | | | installed as an Apache module. | | | | +--------+---------------------------------------------------+ NOTES
Note This function is not implemented on Windows platforms. SEE ALSO
exit(3). PHP Documentation Group APACHE_CHILD_TERMINATE(3)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Collecting data from TOP to a file

Is there a way to collect data from top command to a file at regular intervals. I need this on HP-UX. I need to gather resident memory usage. I know that sar will give %cpu usage. There is a pmap command which gives memory usage in solaris. Is there a similar command in HP-UX Thanks (5 Replies)
Discussion started by: sssow
5 Replies

2. UNIX for Advanced & Expert Users

How to examine the memory usage??

Hello, I'm working with Linux 2.4.18 I'll like to know, if there is a way to know exactly what is using the RAM memory of my box. I try with ps command, but the size of the memory usage than I can calculate, it is very diferent compared with the information that I get with the free command. ... (11 Replies)
Discussion started by: comadreja
11 Replies

3. AIX

Process using the most memory

Hi:- Is there an easy way to find out which process is consuming the most memory on an AIX server? Thanks, (5 Replies)
Discussion started by: janet
5 Replies

4. Solaris

CPU, memory and disk stats

I've been asked to gather CPU, memory and disk stats in the following format: Cpu_Max Cpu_Min Cpu_Avg Mem_Max Mem_Min Mem_Avg Disk_Max Disk_Min Disk_Avg Can anyone please tell me a command to gather all this info? Thanks! Todd (6 Replies)
Discussion started by: ungnown.admin
6 Replies

5. Shell Programming and Scripting

Memory usage of a process

hi all, i want to write a script that checks the memory usage of processes and send a mail with the name of the process witch is using more then 300mb RAM. dose anybody have a sample script or an idea how i can make it ? PROCCESSES="snmpd sendmail" for myVar in $PROCCESSES do ... (7 Replies)
Discussion started by: tafil
7 Replies

6. UNIX for Dummies Questions & Answers

var memory usage increasing

Hi all Just a couple days ago my /var/ partition was at 63% now its shot up to 83%. I checked my log file sizes and they same ok # ls -l |more total 38820 -rw-r----- 1 root root 3754 Aug 1 19:26 acpid drwxrwxrwx 2 root root 4096 Aug 24 04:11 admserv -rw------- ... (28 Replies)
Discussion started by: mcraul
28 Replies

7. AIX

can I use ps to log overall system stats.

Hi I'm writing a script to get overall system memory and cpu utilization in percentages, much like in top or with AIX's topas. Could I use 'ps' to get the same, I know I can get such results for a particular or group of PIDs but I haven't been able to figure out how I could use 'ps' to give me... (10 Replies)
Discussion started by: thebytegrill
10 Replies

8. AIX

memory usage

Hi, I am having memory problem. Whenever i run the Tivoli backup command from CLI "dsmc" my memory use is very high. Topas shows the following output Memory Real, MB 35584 %Comp 17 %Noncomp 80.1 %Client 80.1 and "svmon" shows Paging space has not been used size ... (8 Replies)
Discussion started by: pchangba
8 Replies

9. AIX

Need a list of top 10 CPU using processes (also top 10 memory hogs, separately)

Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold I use top on other... (5 Replies)
Discussion started by: thenomad
5 Replies

10. AIX

Increase for the Page space

Guy's This is our page space , i want some information about page space and I want the good way to how to increase the page space and what's the recommended page space that need to be configured Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum hd6 hdisk0... (8 Replies)
Discussion started by: Mr.AIX
8 Replies

11. Linux

Unkown memory usage, top doesn't know

Hi, Yersterday I started monitoring my homeserver memory consumition due some errors found in the system (network hangs). I've detected almost all the memory used (~10 MB free from 1GB). First I thought it was because of the MySQL configuration, so I monitored it with top and found it wasn't... (6 Replies)
Discussion started by: nefeli
6 Replies

12. AIX

Regarding AIX Memory Utilization usage calculation

Hello, Am working on small program that used to calculate the memory usage of AIX servers. Am using svmon -G command to get the memory usage. For example, consider the following output. $ svmon -G size inuse free pin virtual mmode memory ... (9 Replies)
Discussion started by: maruthu
9 Replies

13. HP-UX

How to find the used memory in HP-UX?

Hi all, Can any please provide how to calculate the cpu and memory usage of HP-UX server. Thanks in advance. (6 Replies)
Discussion started by: ssk250
6 Replies

14. AIX

AIX memory usage by processes

Hi, i have 2 identical web servers using AIX. I use nmon analyser to check their performance. The server A exceeds 20% memory usage for system, 5% for cache and the rest 75% for processes. While, it uses 4% of Paging Space. The server B exceeds 20% for system, 45% for cache and 35% for processes.... (24 Replies)
Discussion started by: dim
24 Replies

15. UNIX for Advanced & Expert Users

Troubleshooting sudden high memory usage

Hi, This morning there was an app that caused a sudden spike in I/O and memory usage in the server. We found the reason for the I/O, however the memory spike was something new, as it had never happened before. I figured out what caused the memory spike, however, how do I investigate why... (6 Replies)
Discussion started by: anaigini45
6 Replies