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 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.
