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
Executable
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
# Заполненность RAM в процентах: ps %mem — уже доля от общей памяти, суммируем как есть (mac + linux).
ps -A -o %mem | awk '{s+=$1} END {printf "%d", s}'