agentsclimarketplace

System admin

Skill chaterm/terminal-skills/linux/system-admin

Linux system administration and monitoringFrom its SKILL.md

Install
npx -y skills add chaterm/terminal-skills --skill system-admin

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

2.0 KB, 532 tokens by cl100k_base, as published. Nobody here has run it

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

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.