.\" Generated by scdoc 1.11.5 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "SYD\-MEM" "1" "2026\-09\-01" .PP .SH NAME .PP \fBsyd\-mem\fR \- Calculate the memory usage of the given process or the parent process .PP .SH SYNOPSIS .PP \fBsyd\-mem\fR [\-sHV] \fI[pid]\fR .PP .SH DESCRIPTION .PP The \fBsyd\-mem\fR utility calculates the memory usage of the given process or the parent process.\& Source of information is the per\-process file \fIproc_pid_smaps_rollup\fR(5) or \fIproc_pid_smaps\fR(5) when \fI\-s\fR option is given.\& .PP .SH OPTIONS .PP .TS l lx l lx l lx l lx. T{ \fB\-H\fR T} T{ Print human\-formatted size T} T{ \fB\-V\fR T} T{ Print virtual memory size T} T{ \fB\-s\fR T} T{ Use \fIproc_pid_smaps\fR(5) rather than the rollup file.\& T} T{ T} T{ This method is inefficient and is provided for benchmarking.\& T} .TE .sp 1 .SH SEE ALSO .PP \fIsyd\fR(1), \fIsyd\fR(2), \fIsyd\fR(5), \fIproc\fR(5), \fIproc_pid_smaps\fR(5), \fIproc_pid_smaps_rollup\fR(5) .PP \fBsyd\fR homepage: https://sydbox.\&exherbo.\&org/ .PP .SH AUTHORS .PP 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.\&