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)

Demos (as of v0.5.2) :

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.2.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.2-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: psstree-0.5.2.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.2.tar.gz
Algorithm Hash digest
SHA256 a58343b0b27378159bb9e49fcd2fa732823525bf52e6ceaa1f4ea71561f9afcf
MD5 d5948e97cc2147807fe5d0de52b25689
BLAKE2b-256 9f5db42930bbaba0195963beae7a43c2a041381626a72b628da4f09bfedaa069

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psstree-0.5.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e5e3bb92fc6e2f3ad3faa5429e77634cff9a0bb09bc12b158601b8244fd742ec
MD5 b17a66ace2d9dff4db5b1e5174bd9ee9
BLAKE2b-256 d0a65163b682f0ea7bdc29997d2145fbcfea73bb65694a8b19a8654f53a50fbf

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