mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 07:51:36 +00:00
Update cheatsheets
This commit is contained in:
25
linux/smem
Normal file
25
linux/smem
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
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`
|
||||
Reference in New Issue
Block a user