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.32.tar.gz (11.6 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.32-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for statblk-1.32.tar.gz
Algorithm Hash digest
SHA256 2cd43b844b1aeaaa5e2a146f598d8df63bf74a47687c84486f456acf0cd6d82a
MD5 368f450fae9813499519880015370f6a
BLAKE2b-256 8024b34ddee0fb058ede4269f2d4f1ea3ea08880fcc2bae1342a504668e3b339

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for statblk-1.32-py3-none-any.whl
Algorithm Hash digest
SHA256 e5e677141d04dfa26712028200b001388a308c77371c5fba6373714d93505cf9
MD5 39bfd4fe1871642f08e357005cb76bb1
BLAKE2b-256 be0c1404f01f3c18a0d73d0105800dd55d8d0fc8562c5278fde4fa384457d6a6

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