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.1.tar.gz (9.3 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.1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: psstree-0.5.1.tar.gz
  • Upload date:
  • Size: 9.3 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.1.tar.gz
Algorithm Hash digest
SHA256 d4f01538676e96c027097d4b749fc3ae372da60fcda012d71ab59109c7901b61
MD5 7db7eabd3cc92cd9f9bf91d2519e95b8
BLAKE2b-256 8fcd9d7b8274ae51b8702618101b43fea68ac13f71097015eb643ce05536e13e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psstree-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 10.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 090ff7e44a5c34dbb670331fd4d6d78a0c051b1e22c883836c380330c19f0209
MD5 93db47da93c815125c9e41530897fa49
BLAKE2b-256 e2d5933e850fb921ed9f754725060ed545863e5a77563827dde73191116c7a7b

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