Sum proportional set size of every process for accurate memory usage statistics.
Find a file
2024-05-24 18:53:16 -05:00
lib/include first commit 2024-05-24 16:54:17 -05:00
src waybar version 2024-05-24 18:44:00 -05:00
.clang-format first commit 2024-05-24 16:54:17 -05:00
.gitignore added License 2024-05-24 16:56:49 -05:00
build.ninja waybar version 2024-05-24 18:44:00 -05:00
install.sh waybar version 2024-05-24 18:44:00 -05:00
LICENSE added License 2024-05-24 16:56:49 -05:00
ngen.toml waybar version 2024-05-24 18:44:00 -05:00
README.md added waybar usage info 2024-05-24 18:53:16 -05:00
uninstall.sh waybar version 2024-05-24 18:44:00 -05:00

pss-total

sum proportional set size of every process for accurate memory usage statistics. In non-pretty mode, the number is given in kibibytes.

This version is for use with waybar. It outputs JSON that waybar can interpret using a custom module.

Here is an example configuration:

"custom/pss-memory": {
  "exec": "pss-total-waybar",
  "return-type": "json",
  "restart-interval": 3,
  "format": "{} {icon}",
  "format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
}

Licensed under GPLv3.

Summary

pss-total [OPTIONS]

Options

  • -p, --pretty: format output using sensible units: KiB, MiB, or GiB.
  • -h, --help: print this help message.

Building

Build for debug/development: ninja debug

Build for production: ninja release

Install: ninja release && sudo sh install.sh

Uninstall: sudo sh uninstall.sh