Skip to content

essentialkaos/swptop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GitHub Actions CI Status GoReportCard codebeat badge GitHub Actions CodeQL Status

InstallationUsageBuild StatusContributingLicense


swptop is simple utility for viewing swap consumption of processes.

Installation

From source

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

Prebuilt binaries

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

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

Build Status

Branch Status
master CI
develop CI

Contributing

Before contributing to this project please read our Contributing Guidelines.

License

Apache License, Version 2.0