Skip to main content

list process' PSS sorted descendingly within their parent-child hierarchy. can also do same for disk-space usage

Project description

PSS-tree

root@8c5c99474e16:/opt/dev# psstree --help
usage: psstree [-h] [--full] [--shm] [--raw] [--du PATH] [--all]

gets process' PSS via /proc/<PID>/smaps(_rollup), sorts it descendingly within their parent-child hierarchy, and displays it in an interactive TUI with collapsible sections. alternatively can do the same for disk-space usage given a root-path

options:
  -h, --help  show this help message and exit
  --full      show full description in labels
  --shm       include tmpfs/ramfs filesystems in memory report
  --raw       disable TUI and dump formatted repr directly to stdout
  --du PATH   report disk space instead of memory, for given root-path
  --all       [only matters for --raw --du] include content inside certain noisy/unimportant dirs: currently this includes site-packages, __pycache__, and ones starting with '.' (like .git). by default it is omitted (the dirs themselves are
              never omitted, just that they would be collapsed)

PSS Example

DU Example

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

psstree-0.5.0.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

psstree-0.5.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file psstree-0.5.0.tar.gz.

File metadata

  • Download URL: psstree-0.5.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for psstree-0.5.0.tar.gz
Algorithm Hash digest
SHA256 e3b490cf556581ee21bcc7b3c78bc62d444234d70850ca752768123fe319ce76
MD5 ab3dff5746e427a2c877215ff3440872
BLAKE2b-256 dd4794f6f376d7c9c2a7e5a41bd5424b7925f8433f343597815ca18abd7babb1

See more details on using hashes here.

File details

Details for the file psstree-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: psstree-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for psstree-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 99453c9055aa357b3cbe75ca0f7fcdf90486ff52b8e384e1a57105d2f0805966
MD5 a2cf481f94c822f2517833121462952b
BLAKE2b-256 6950892cc0e7e1e3290f4d49d3d9159ebc71db15f1a5bc1389590e59f3babbf5

See more details on using hashes here.

Supported by

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