Inspired by Vitals, I present to you
healthy
, which attempts to do the same, only for Linux.
It's a little system monitor that keeps track of cpu, memory, network¹ ² and io usage for the last minute. When something is misbehaving, you can now look for it and see who was spinning up your fans.
¹ Network metrics currently only work for the current user, so system processes like updates are not included yet.
² Network metrics currently only include TCP traffic, so UDP-based traffic is not accounted for.
On Arch Linux, this can be installed as healthy-git
from the
AUR:
https://aur.archlinux.org/packages/healthy-git.
With sway it is possible run healthy
in the
background in a "scratchpad" like the following:
# ~/.config/sway/config
for_window [app_id="healthy"] {
floating enable
move to scratchpad
}
exec healthy
This starts healthy
in the background when sway starts and then calls the
window to the front using the keybindings or commands
for the scratchpad:
To run this locally, clone the repository and run python healthy.py
.
If there are missing dependencies, try the ./scripts/run
script. This
script will install dependencies to a local virtualenv
and then run
the application.
healthy
is licensed under GPLv3, see LICENSE
for
details.