Anvil-check-memory

From Alteeve Wiki
Jump to navigation Jump to search

 Alteeve Wiki :: Man Pages :: Anvil-check-memory

NAME

anvil-check-memory - This reports the total memory used by all processes with the passed-in program name.

SYNOPSIS

anvil-check-memory <command> [options]

DESCRIPTION

This reports the total memory used by all processes with the passed-in program name. It can be an Anvil! or Striker program, or any other program running on the system.

This looks in 'ps' and finds pids for the given program name, then parses the '/proc/<pid>/smaps' kernel file to calculate the memory use. This will include shared memory space! Ending the program won't necessarily release the reported amount of RAM.

The output will be in the format: '<program_name> = <number_of_bytes> # <size in human readable format>

OPTIONS

-?, -h, --help
Show this man page.
--log-secure
When logging, record sensitive data, like passwords.
-v, -vv, -vvv
Set the log level to 1, 2 or 3 respectively. Be aware that level 3 generates a significant amount of log data.

Commands:

--program <name>
This is the name of the program to report memory usage of.

AUTHOR

Written by Madison Kelly, Alteeve staff and the Anvil! project contributors.

REPORTING BUGS

Report bugs to users@clusterlabs.org

 

Any questions, feedback, advice, complaints or meanderings are welcome.
Alteeve's Niche! Enterprise Support:
Alteeve Support
Community Support
© Alteeve's Niche! Inc. 1997-2024   Anvil! "Intelligent Availability®" Platform
legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions.