Anvil-check-memory: Difference between revisions

From Alteeve Wiki
Jump to navigation Jump to search
Created page with "{{man_header}} = NAME = anvil-check-memory - This reports the total memory used by all processes with to passed-in program name. = SYNOPSIS = '''anvil-check-memory''' ''<command> ''[''options''] = DESCRIPTION = This reports the total memory used by all processes with to 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 '/pro..."
 
No edit summary
 
Line 3: Line 3:
= NAME =
= NAME =


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


= SYNOPSIS =
= SYNOPSIS =
Line 11: Line 11:
= DESCRIPTION =
= DESCRIPTION =


This reports the total memory used by all processes with to passed-in program name. It can be an Anvil! or Striker program, or any other program running on the system.
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/&lt;pid&gt;/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.
This looks in 'ps' and finds pids for the given program name, then parses the '/proc/&lt;pid&gt;/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.

Latest revision as of 02:14, 16 August 2024

 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! Alteeve Enterprise Support Community Support
© 2025 Alteeve. Intelligent Availability® is a registered trademark of Alteeve's Niche! Inc. 1997-2025
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.