Installation • Usage • Build Status • Contributing • License
swptop
is simple utility for viewing swap consumption of processes.
To build the swptop
from scratch, make sure you have a working Go 1.19+ workspace (instructions), then:
go install github.com/essentialkaos/swptop@latest
sudo yum install -y https://pkgs.kaos.st/kaos-repo-latest.el$(grep 'CPE_NAME' /etc/os-release | tr -d '"' | cut -d':' -f5).noarch.rpm
sudo yum install swptop
You can download prebuilt binaries for Linux from EK Apps Repository.
To install the latest prebuilt version, do:
bash <(curl -fsSL https://apps.kaos.st/get) swptop
Usage: swptop {options}
Options
--user, -u Filter output by user
--filter, -f Filter output by part of command
--no-color, -nc Disable colors in output
--help, -h Show this help message
--version, -v Show version
Examples
swptop
Show current swap consumption of all processes
swptop -u redis
Show current swap consumption by webserver user processes
swptop -f redis-server
Show current swap consumption by processes with 'redis-server' in command
swptop | wc -l
Count number of processes which use swap
Branch | Status |
---|---|
master |
|
develop |
Before contributing to this project please read our Contributing Guidelines.