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
Metadata
Release files for pmon 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pmon-0.2.1.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pmon-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.9 kB
Release files / pmon-0.2.1.tar.gz
| Download URL | pmon-0.2.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c7a0aa685a88bf8defb26729c9d59b8c40ad3d937793095ce16686d97d13f25
|
|
BLAKE2b-256 checksum How to use checksums |
cbd7f92e56d49799131eaf05cb72801ee5b5bbd326ea31199d0e358a997bae72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.8.6 Linux/5.9.9-arch1-1
|
Release files / pmon-0.2.1-py3-none-any.whl
| Download URL | pmon-0.2.1-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4deb01c73ae9b0d0969f3705e9bb9d76dd12749dc1be792db4fa8b39b90a01f8
|
|
BLAKE2b-256 checksum How to use checksums |
74c68cfde22895bf66ac7f4fb1561ba28d05ed498d7314ff88d4d94e789bd276
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.8.6 Linux/5.9.9-arch1-1
|