Linux
Low risk
Show Linux disk space and filesystems
Displays volumes mounted with their size, space used, space available and occupancy rates.
df -hT --exclude-type=tmpfs --exclude-type=devtmpfs
When should you use it?
Use this as a first check when a Linux server can no longer write files, logs, or package updates.
What the script does
- -h displays human-readable sizes.
- -T adds the filesystem type.
- Temporary filesystems are excluded to keep the output easier to read.
Precautions
- A full disk may require identifying the root cause before deleting anything.
Rollback
Read-only operation.