Skip to main content

A process monitor for linux

Project description

pmon

A process monitor for linux that shows detailed RAM usage info.

$ pmon 261071
vms       rss       pss       uss       shared    swap      rss (%)   pss (%)   uss (%)   cpu (%)
2.576G    1.122G    1.110G    1.107G    99.699M   0B        7.22      7.14      7.12      0.00
2.576G    1.122G    1.110G    1.107G    99.699M   0B        7.22      7.14      7.12      12.23
2.576G    1.122G    1.110G    1.107G    99.699M   0B        7.22      7.14      7.12      6.48

Rationale

Measuring RAM usage on Linux can be tricky. Probably the most correct way to measure it is to use USS, i.e:

USS (Unique Set Size) is the memory which is unique to a process and which would be freed if the process was terminated right now.

Unfortunately, tools like top and htop do not report this metric. Nevertheless, psutil does collect it, so, we use it as the backend to monitor RAM usage.

Install

pipx install pmon

Usage

pmon --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pmon-0.2.1.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

pmon-0.2.1-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page