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.26.tar.gz (10.7 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.26-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for statblk-1.26.tar.gz
Algorithm Hash digest
SHA256 d5f307060a7f48e75a4a8bf70fa4fd76989aa87577cd92af8e8d3764548aa32f
MD5 acfa9ff47ba46d43c59f6210019a3343
BLAKE2b-256 0a00f8c4ef71f11481ef9ec0809ad3e673a465fd95f79f2833005c02e5878163

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for statblk-1.26-py3-none-any.whl
Algorithm Hash digest
SHA256 63cc00ae1673f82c1705db8d47cbbf8c6c0b5d8c8eb0315f3a93e3a2a7694339
MD5 3a5521d46eb8b21c3559c60bf72554c9
BLAKE2b-256 f55388643be7fa15b14e3a3c9bb713230ab0e950cfad85dee90b155a813998c8

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