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

Uploaded Python 3

File details

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

File metadata

  • Download URL: statblk-1.37.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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.37.tar.gz
Algorithm Hash digest
SHA256 01759f0aa8e91427d196b843532fdc25c7a3693a801dd727243d6fa7f65e0436
MD5 e41e5acf5fe6e4594bec6cebeb598a92
BLAKE2b-256 37eec60b58d312744f37f1f42b2b7b650d9b12201bb54a3db40a07b5270c32d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: statblk-1.37-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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.37-py3-none-any.whl
Algorithm Hash digest
SHA256 a32d1c2a94d73512e7e16132af45b18cfce3042848e52d5876549df048602b48
MD5 9c04a1d48c2dc44eccce734b2662e45e
BLAKE2b-256 0a80923ec9e11d61a7fa17295fba6a316e9af3ab52f1aaf3f53c05e38eac9752

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