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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for statblk-1.25.tar.gz
Algorithm Hash digest
SHA256 c04f2d053f8dc9d20e9d52d48b0dbbc99ab3e6f7c31beaa40bdad43d17173a30
MD5 04c74f39007f86a37e90754e118c03f2
BLAKE2b-256 ec9f3b64ea5e9935813e1f03dcb7f0d2e9365c1a31ae0b249c20069bb9a38981

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for statblk-1.25-py3-none-any.whl
Algorithm Hash digest
SHA256 8f417db26315d9bf89d7f6bd95da7c46b0fec3a34ee8f8a5c96f66ff96e0ffca
MD5 b6cc0b98369bb42d0a391c2f3de817dc
BLAKE2b-256 a3dc9e0955c44304024e504614469388d40ce3aa881bfdaf945b79506a87074b

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