New scripts
Deploy / deploy (push) Successful in 8s

This commit is contained in:
2026-08-29 14:41:40 +05:00
parent 3f400694d8
commit e4f58e820f
4 changed files with 38 additions and 3 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
# Заполненность корневого раздела в процентах (linux + mac).
case "$(uname)" in
Darwin) df -k / | awk 'NR==2 {print $5}' | tr -d '%' ;;
*) df -Pk / | awk 'NR==2 {print $5}' | tr -d '%' ;;
esac