This website works better with JavaScript.
Explore
Help
Sign In
phc
/
storage
Watch
6
Star
1
Fork
You've already forked storage
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
af6e835c0c
main
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'af6e835c0c'
${ noResults }
storage
/
scripts
/
disk-usage
6 lines
94 B
Plaintext
Raw
Normal View
History
Unescape
Escape
chore: cosmetic changes in scripts
2 years ago
#!/bin/sh
Added some monitoring widgets and scripts
2 years ago
DEVICE="$1"
Updated scripts
2 years ago
df "$DEVICE" | tail -n 1 | tr -s ' ' | cut -d' ' -f 2-3 | tr ' ' '\n'