Skip to main content

Gather essential disk and partition info for block devices and print it in a nice table

Project description

usage: statblk.py [-h] [-j] [-b] [-H] [-F] [-M] [-B] [--show_zero_size_devices] [-V]

Gather disk and partition info for block devices.

options:
-h, --help show this help message and exit
-j, --json Produce JSON output
-b, --bytes Print the SIZE column in bytes rather than in a human-readable format
-H, --si Use powers of 1000 not 1024 for SIZE column
-F, -fo, --formated_only
Show only formated filesystems
-M, -mo, --mounted_only
Show only mounted filesystems
-B, -bo, --best_only Show only best mount for each device
--show_zero_size_devices
Show devices with zero size
-V, --version show program's version number and exit


Install:
sudo pip install statblk

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

statblk-1.28.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

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

statblk-1.28-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file statblk-1.28.tar.gz.

File metadata

  • Download URL: statblk-1.28.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.16

File hashes

Hashes for statblk-1.28.tar.gz
Algorithm Hash digest
SHA256 68506b2e9994c65281e39eb9078ed81600d419e98763aeb595e18c62702f00c1
MD5 64e9ae8d440ee53f95b21e9df5922105
BLAKE2b-256 df191e133232f80cc445e60efcdcb3a93cac8c2c7bae8624714608cfbddebc92

See more details on using hashes here.

File details

Details for the file statblk-1.28-py3-none-any.whl.

File metadata

  • Download URL: statblk-1.28-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.16

File hashes

Hashes for statblk-1.28-py3-none-any.whl
Algorithm Hash digest
SHA256 f89b0854c10515910bd851f1ea5fbf1037256e4162f68fe8886cc0c01fab207a
MD5 acf4f648dc66c8fa269e689c25662de3
BLAKE2b-256 2471f079a8878bca950fa3f86f527aec4b8ff7a2dc03c3175e36058070761bbd

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