111
This commit is contained in:
parent
b2f0d3df29
commit
2ba10307b3
1 changed files with 0 additions and 3 deletions
|
|
@ -13,11 +13,8 @@ _CMD = r"""
|
|||
echo "=== OS ===" && (cat /etc/os-release 2>/dev/null | grep -E "^PRETTY_NAME|^VERSION_ID" || echo "unknown") && \
|
||||
echo "=== UPTIME ===" && uptime -p 2>/dev/null || uptime && \
|
||||
echo "=== CPU_LOAD ===" && cat /proc/loadavg && \
|
||||
echo "=== CPU_CORES ===" && nproc && \
|
||||
echo "=== MEMORY ===" && free -m && \
|
||||
echo "=== DISK ===" && df -h --output=target,size,used,avail,pcent -x tmpfs -x devtmpfs 2>/dev/null || df -h && \
|
||||
echo "=== TOP_PROCS ===" && ps aux --sort=-%cpu --no-headers 2>/dev/null | head -5 && \
|
||||
echo "=== TEMPS ===" && (cat /sys/class/thermal/thermal_zone*/temp 2>/dev/null | awk '{printf "%.1f°C\n", $1/1000}' || echo "n/a")
|
||||
""".strip()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue