SYD-MEM(1)

NAME

syd-mem - Calculate the memory usage of the given process or the parent process

SYNOPSIS

syd-mem [-sHV] [pid]

DESCRIPTION

The syd-mem utility calculates the memory usage of the given process or the parent process. Source of information is the per-process file proc_pid_smaps_rollup(5) or proc_pid_smaps(5) when -s option is given.

OPTIONS

-H | Print human-formatted size
-V | Print virtual memory size
-s | Use proc_pid_smaps(5) rather than the rollup file.
 | This method is inefficient and is provided for benchmarking.

SEE ALSO

syd(1), syd(2), syd(5), proc(5), proc_pid_smaps(5), proc_pid_smaps_rollup(5)

syd homepage: https://sydbox.exherbo.org/

AUTHORS

Maintained by Ali Polatel. Up-to-date sources can be found at https://gitlab.exherbo.org/sydbox/sydbox.git and on Radicle at rad:z38HCnbmcDegA2BMxuPaPRPMdp6wF. Bugs/patches can be submitted to https://gitlab.exherbo.org/groups/sydbox/-/issues. Discuss in #sydbox on Libera Chat or in #sydbox:mailstation.de on Matrix.