mirror of
https://github.com/fccview/cronmaster.git
synced 2026-01-03 11:29:06 -05:00
16 lines
505 B
Bash
16 lines
505 B
Bash
# @id: system-info
|
|
# @title: System information
|
|
# @description: Get basic system information
|
|
# @category: System Operations
|
|
# @tags: system,info,hostname,uptime
|
|
|
|
# Get system information
|
|
echo "=== System Information ==="
|
|
echo "Hostname: $(hostname)"
|
|
echo "OS: $(uname -s)"
|
|
echo "Kernel: $(uname -r)"
|
|
echo "Architecture: $(uname -m)"
|
|
echo "Uptime: $(uptime)"
|
|
echo "Memory: $(free -h | grep Mem | awk '{print $2}')"
|
|
echo "Disk Usage: $(df -h / | tail -1 | awk '{print $5}')"
|
|
echo "========================" |