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.23.tar.gz (10.5 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.23-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for statblk-1.23.tar.gz
Algorithm Hash digest
SHA256 7d08c53a435a9866ab628952d5cdb577ef2e13972cfe5ce8b6ebf3976f26ed70
MD5 7dcd04090578c6235840fff1491de2bc
BLAKE2b-256 ca3f7de6a4e5ad1114579bef873ae6a29b6edf99687bb5c6be9b0e265ac4a9a8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for statblk-1.23-py3-none-any.whl
Algorithm Hash digest
SHA256 bd387d63687aa7cc01f9e7c364a7f8e601e72e1bce9c6907aaaec86ece6dcda1
MD5 e7b530ac0898aace4648377b29f80b75
BLAKE2b-256 f438f020acd5bb02e2d63a39f3f93ff3560ce73f4f64fb60be0407b5e2472c82

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