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

Uploaded Python 3

File details

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

File metadata

  • Download URL: statblk-1.39.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.39.tar.gz
Algorithm Hash digest
SHA256 52ec0c9024fd8266dcf8eed882497cff6f7dde219a4e066cdfef3437dbbfa967
MD5 73254e4ab9def0ca69fc43cf27e3b04f
BLAKE2b-256 d07a0a575fce8b1de3a74d9e61a3acc9da939641d357318166ddf52aca7d20dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: statblk-1.39-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.39-py3-none-any.whl
Algorithm Hash digest
SHA256 f0edb8e666e6fc5d08d55c060253c4326deb28e56df07ffb114e78bc40c3dae4
MD5 9c5f6a7fd6bbbb482c835775d51e7c21
BLAKE2b-256 67cfc23eee513b7648fb32e56739928a182d2695f263389f5d0e7a713ba2d275

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