Letter keys instead of function keys

h help, / search, s sort, t tree, z all, c command line, i swap in,
o swap out, F flush, k signal, q quit.
This commit is contained in:
Andy Dixon
2026-10-07 12:32:27 +01:00
parent ccbbd416b7
commit 4b11d955cb
4 changed files with 34 additions and 45 deletions
+4 -4
View File
@@ -11,10 +11,10 @@ zram figures appear when present. Each process shows its SWAP, proportional
SWPPSS, DELTA since the last refresh, RSS and how much of it is in swap;
`Enter` breaks a process down by mapping (heap, stacks, libraries, files).
Actions, each confirmed first: swap a process back in (`F7`), page a process
out (`F8`, `process_madvise`, Linux 5.10+), flush every swap device with
swapoff+swapon (`F2`), send a signal (`F9`). Search (`/`), sort (`F6`), tree
view (`F5`), zero-swap toggle (`z`), full command line (`c`). Settings
Actions, each confirmed first: swap a process back in (`i`), page a process
out (`o`, `process_madvise`, Linux 5.10+), flush every swap device with
swapoff+swapon (`F`), send a signal (`k`). Search (`/`), sort (`s`), tree
view (`t`), zero-swap toggle (`z`), full command line (`c`), help (`h`). Settings
persist in `~/.config/swaptop/config`. See `man swaptop`.
Run it as root to see every process and use the actions: