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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for statblk-1.33.tar.gz
Algorithm Hash digest
SHA256 d3e2824d9d5c7cb220bbcbae306dfdf158c6db75defb0fca5b33c7e84b3d8641
MD5 418ccfe4f392862790cf3598b96d7fac
BLAKE2b-256 bca8b8b5d6a1cd9697a6ee7adbc1f8260da13e24e99161b5bf74b4e99ab26111

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for statblk-1.33-py3-none-any.whl
Algorithm Hash digest
SHA256 6eccf1a27d2d61ae1ddcdf53abae289565a04990820d25e2159b103698f907f2
MD5 76eecd7fe894cc62ac00ca18b514b6dd
BLAKE2b-256 01ce5ecc9db71f6aac6d8cb20a02908652d0d4aae35d4afc152bda92b4011d56

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