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.40.tar.gz (17.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.40-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: statblk-1.40.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for statblk-1.40.tar.gz
Algorithm Hash digest
SHA256 bff0e599674448f2105778a3bfea5482e73f2c7b08c0f319eead7cfbe00dabd8
MD5 3ee843c39d06b9caf5bbde17d2523418
BLAKE2b-256 d7adb565bab671f47ff96b027db3c9c7e51278a54570d1f272c95471dfafe9e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: statblk-1.40-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for statblk-1.40-py3-none-any.whl
Algorithm Hash digest
SHA256 8ec9f04a90647eddcb4467d4d18032a94824312c47279e39a9985321ba8ed686
MD5 8bd0647632c0439e62da99a258886a77
BLAKE2b-256 d03399f9268edfdfe022a4a083f5e0bb3458ccc15d4137b3d8bc050e040659b8

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