---
name: "syd-mem"
section: "1"
platform: "linux"
package: "syd"
version: "3.59.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/syd-mem"
---

# syd-mem(1)

Calculate the memory usage of the given process or the parent process

## 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)](/proc_pid_smaps/5.md) when *-s* option is given.

## OPTIONS

| | |
| --- | --- |
| **-H** | Print human-formatted size |
| **-V** | Print virtual memory size |
| **-s** | Use [*proc\_pid\_smaps*(5)](/proc_pid_smaps/5.md) rather than the rollup file. |
|  | This method is inefficient and is provided for benchmarking. |

## SEE ALSO

[*syd*(1)](/syd/1.md), [*syd*(2)](/syd/2.md), [*syd*(5)](/syd/5.md), [*proc*(5)](/proc/5.md), [*proc\_pid\_smaps*(5)](/proc_pid_smaps/5.md), *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.
