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.1.tar.gz (6.9 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.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for statblk-1.1.tar.gz
Algorithm Hash digest
SHA256 87896039dd1f4d7fd490fcccd54cdd880d7e277dd722a407f99f270e7f1d0fa4
MD5 9b23d83d2206d39cb1dd77a042f9adb4
BLAKE2b-256 450550d6085dbc16cfb6e6d0b060e7b227997e319a29c82fa739d04a26d7cc4e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for statblk-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 49074870add2470233c96ca8529b864cc8a8799fc93ea74714f641e670249a60
MD5 9ba044669c84b8f69e2a9da89820f878
BLAKE2b-256 56548cb401759f61f4899daff94792979af28248469c7c7b52f878ae9de49a62

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