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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for statblk-1.0.tar.gz
Algorithm Hash digest
SHA256 9c8fd2367504a13d2ab9593d2e183deedadb1c07f6705d92ab1a29fa69fef209
MD5 19f2944f42570878c5554ad2251e3154
BLAKE2b-256 0e0748bf0a773d8e3ded8198124351d7cd94338b81af1ccdd23a23e9d32b1e8c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for statblk-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c085986f652a4e0a76faa69fa3a9a5b9c97afc5f2ec90a443b838cb13cbe768
MD5 2eb07bb5632a68053f61fa3a7ab01df4
BLAKE2b-256 7378f7e507ea7f34e978b09605d8130126f9fec0c855405f47486347a17cacea

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