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

Uploaded Python 3

File details

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

File metadata

  • Download URL: statblk-1.35.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.12 {"installer":{"name":"uv","version":"0.9.12"},"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.35.tar.gz
Algorithm Hash digest
SHA256 42b9784e7829a51420d64f9fc7d64533c928809f493b0a66bbae78621fe8116e
MD5 8cb6b4fbd8aef9c545ee1752c862c542
BLAKE2b-256 e8831ce07ec6b92502cd3edee2bc8978c5d27e61d3519ee2e12244df278d10d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: statblk-1.35-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.12 {"installer":{"name":"uv","version":"0.9.12"},"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.35-py3-none-any.whl
Algorithm Hash digest
SHA256 7ddc124663ef6f3ec06895dfe251a4373973e410e9d0c4dff32f323b81d10cf5
MD5 9716ef23ee58c23406de30604dbf90c3
BLAKE2b-256 5b0464bed3a7ae4191e1d62001a747712d883bbff085bc703d094c9b9db1ec14

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