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 details)
Built Distribution
pmon-0.2.1-py3-none-any.whl
(4.1 kB
view details)
File details
Details for the file pmon-0.2.1.tar.gz
.
File metadata
- Download URL: pmon-0.2.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.9.9-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c7a0aa685a88bf8defb26729c9d59b8c40ad3d937793095ce16686d97d13f25 |
|
MD5 | 07f217cc3f2ff7d3329a40b3dc03f7f6 |
|
BLAKE2b-256 | cbd7f92e56d49799131eaf05cb72801ee5b5bbd326ea31199d0e358a997bae72 |
File details
Details for the file pmon-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: pmon-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.9.9-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4deb01c73ae9b0d0969f3705e9bb9d76dd12749dc1be792db4fa8b39b90a01f8 |
|
MD5 | 1579bfd1274888cbe21e12b8b5f1a628 |
|
BLAKE2b-256 | 74c68cfde22895bf66ac7f4fb1561ba28d05ed498d7314ff88d4d94e789bd276 |