| Crates.io | smapview |
| lib.rs | smapview |
| version | 0.2.0 |
| created_at | 2025-08-28 13:32:44.062604+00 |
| updated_at | 2025-08-28 13:32:44.062604+00 |
| description | A simple program to view processes' different kinds of memory usage on Linux. |
| homepage | https://github.com/lilydjwg/smapview |
| repository | https://github.com/lilydjwg/smapview |
| max_upload_size | |
| id | 1814116 |
| size | 11,109 |
smapview is a simple program to view processes' different kinds of memory usage on Linux.
This project has been renamed from "swapview" to "smapview", as it can now be used for any data in /proc/PID/smap_rollup. It looks at swap usage by default and can be changed, e.g. to view transparent hugepage usage:
smapview -f AnonHugePages
This is the version for daily use. For implementations in different programming languages, see swapview-rosetta.
Install:
cargo install smapview
Tips: you can continuously monitor swap usage in a terminal with
watch -n 1 "smapview | tail -\$((\$LINES - 2)) | cut -b -\$COLUMNS"