Class | PhusionPassenger::AdminTools::MemoryStats |
In: |
lib/phusion_passenger/admin_tools/memory_stats.rb
|
Parent: | Object |
Returns a list of Apache processes, which may be the empty list if Apache is not running. If the Apache executable name is unknown then nil will be returned.
Returns a list of Phusion Passenger processes, which may be the empty list if Phusion Passenger is not running.
Returns whether root privileges are required in order to measure private dirty RSS. Only meaningful if platform_provides_private_dirty_rss_information? returns true.
Returns the sum of the memory usages of all given processes. Returns a pair [usage, accurate]. usage is the summed memory usage in KB, and accurate indicates whether this sum is accurate. This may be false if some process‘s memory usage cannot be determined.