mcpField
S
system-admin

system-admin

github.com/chatermCloud & DevOps59562 installsUpdated 34w ago
Repository

About system-admin

A skill for Linux system administration, covering commands for inspecting system information, monitoring resources, managing services, and troubleshooting common issues.

Key features

  1. 01Inspect system and hardware information
  2. 02Monitor current and historical resource use
  3. 03Manage systemd services
  4. 04Troubleshoot load, disk, and memory issues

Use cases

  1. 01Run a system health check
  2. 02Find high-CPU or memory processes
  3. 03Diagnose low disk space
  4. 04Check failed services and logs

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/chaterm/terminal-skills --skill system-admin

After installing, type/system-adminin Claude Code to confirm it loaded.

Details

From the project README

Linux System Administration

Overview

Core commands and best practices for Linux system administration, including system information viewing, resource monitoring, service management, etc.

System Information

Basic Information
# System version
cat /etc/os-release
uname -a

# Hostname
hostnamectl

# Uptime and load
uptime
Hardware Information
# CPU information
lscpu
cat /proc/cpuinfo

# Memory information
free -h
cat /proc/meminfo

# Disk information
lsblk
df -h

Resource Monitoring

Real-time Monitoring
# Comprehensive monitoring
top
htop

# Memory monitoring
vmstat 1

# IO monitoring
iostat -x 1
iotop

# Network monitoring
iftop
nethogs
Historical Data
# System activity report
sar -u 1 10    # CPU
sar -r 1 10    # Memory
sar -d 1 10    # Disk

Service Management

Systemd Services
# Service status
systemctl status service-name
systemctl is-active service-name

# Start/Stop services
systemctl start/stop/restart service-name

# Boot startup
systemctl enable/disable service-name

# View all services
systemctl list-units --type=service

Common Scenarios

Scenario 1: System Health Check
# Quick health check script
echo "=== System Load ===" && uptime
echo "=== Memory Usage ===" && free -h
echo "=== Disk Usage ===" && df -h
echo "=== Failed Services ===" && systemctl --failed
Scenario 2: Troubleshoot High Load
# 1. Check load
uptime

# 2. Find high CPU processes
ps aux --sort=-%cpu | head -10

# 3. Find high memory processes
ps aux --sort=-%mem | head -10

Troubleshooting

ProblemCommands
System lagtop, vmstat 1, iostat -x 1
Disk fulldf -h, du -sh /*, ncdu
Memory shortagefree -h, ps aux --sort=-%mem
Service abnormalsystemctl status, journalctl -u

Comments

Markdown supported