mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
478 B
Plaintext
26 lines
478 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# smem
|
|
|
|
> Print memory usage for programs.
|
|
> More information: <https://manned.org/smem>.
|
|
|
|
- Print memory usage for current processes:
|
|
|
|
`smem`
|
|
|
|
- Print memory usage for current processes for a every user on a system:
|
|
|
|
`smem --users`
|
|
|
|
- Print memory usage for current processes for a specified user:
|
|
|
|
`smem --userfilter {{username}}`
|
|
|
|
- Print system memory information:
|
|
|
|
`smem --system`
|