pss-total/README.md

967 B

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