fixed some minor things

This commit is contained in:
Tyler Mayoff 2025-07-04 18:43:00 -04:00
parent 0d3e86c016
commit 73a19061db

View file

@ -12,13 +12,14 @@ runs:
- name: Get disk usage - name: Get disk usage
shell: bash shell: bash
run: | run: |
df -h | head -n 1 | cut -d ' ' -f 3,5 # df -h | head -n 1 | cut -d ' ' -f 3,5
df -h | grep /\$ | cut -d ' ' -f 3,5 # df -h | grep /\$ | cut -d ' ' -f 3,5
df -h
- name: Detailed usage - name: Detailed usage
shell: bash shell: bash
run: | run: |
du -h -d2 / 2>/dev/null | sort -hr | head -n 20 || true du -h -d3 / 2>/dev/null | sort -hr | head -n 20 || true
- name: Clear - name: Clear
shell: bash shell: bash
@ -40,9 +41,10 @@ runs:
shell: bash shell: bash
run: | run: |
echo "used use%" echo "used use%"
df -h | grep /\$ | cut -d ' ' -f 5,9 # df -h | grep /\$ | cut -d ' ' -f 5,9
df -h
- name: Detailed usage - name: Detailed usage
shell: bash shell: bash
run: | run: |
du -h -d2 / 2>/dev/null | sort -hr | head -n 20 || true du -h -d3 / 2>/dev/null | sort -hr | head -n 20 || true