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.21.tar.gz (10.4 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.21-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for statblk-1.21.tar.gz
Algorithm Hash digest
SHA256 5e6c3e3cc3506243235d2108e9c82d9f8d4d687534c9a1aa5549ebb03deec062
MD5 36e266bb715d1a5742ded87c5a2da4e8
BLAKE2b-256 65b13aa2b53dc70b2814e90b3d3373c26d6ec82354d4c5ce4ec9f9fe52901b90

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for statblk-1.21-py3-none-any.whl
Algorithm Hash digest
SHA256 8e03d3a65344ba4751b9a2f5c050f881b72bdd54514adbfe6400c81b3abcdef5
MD5 eb8350ed4b3946d5beb421e7a00440bd
BLAKE2b-256 07fde3adb93be7f400d614a0f6b724833a2fb77f8be404b61869dc78c43d7f40

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