1passenger-memory-stats(8)   Administration Commands  passenger-memory-stats(8)
2
3
4

NAME

6       passenger-memory-stats  -  reports a snapshot of the Apache and Phusion
7       Passenger memory statistcs
8

SYNOPSIS

10       passenger-memory-stats
11

DESCRIPTION

13       passenger-memory-stats allows you to easily  analyze  the  real  memory
14       usage of Phusion Passenger and Apache.
15
16       Process inspection tools such as ps and top are useful, but they rarely
17       show the correct memory usage. The real memory usage is  usually  lower
18       than what ps and top report.
19
20       There  are many technical reasons why this is so, but an explanation is
21       beyond the scope of this page. We refer the interested reader to  oper‐
22       ating systems literature about virtual memory and copy-on-write.
23
24       When you run this tool the Private or private dirty RSS field shows the
25       real memory usage of processes.
26

ENVIRONMENT VARIABLES

28       HTTPD  The full filename to the Apache executable. By default,  Passen‐
29              ger will attempt to autodetect the Apache executable. If autode‐
30              tection fails for whatever reason, then  Apache  processes  will
31              not  be  shown  in  the memory statistics. In that case, you may
32              manually specify the location to  the  Apache  executable  using
33              this environment variable.
34

SEE ALSO

36       passenger-status(8), ps(1), top(1),
37
38       User  guide  at https://www.phusionpassenger.com/documentation_and_sup
39       port
40

AUTHOR

42       Phusion Passenger is written by Phusion (http://www.phusion.nl)
43
44       This manual page was written by Neil Wilson <neil@brightbox.co.uk>  for
45       the Ubuntu project (but may be used by others).
46
47
48
49Phusion Passenger                     2.0            passenger-memory-stats(8)
Impressum