Skip to content
Skillv1.0.0

system-admin

Linux system administration and monitoring

by chaterm(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from chaterm/terminal-skills (linux/system-admin/SKILL.md) via skills.sh. Install upstream with npx skills add chaterm/terminal-skills --skill system-admin. Copyright stays with the author.

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

Problem Commands
System lag top, vmstat 1, iostat -x 1
Disk full df -h, du -sh /*, ncdu
Memory shortage free -h, ps aux --sort=-%mem
Service abnormal systemctl status, journalctl -u

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/chaterm-terminal-skills-system-admin/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

chaterm-terminal-skills-system-admin.ocm.jsonjson
{
  "ocm": "1",
  "id": "chaterm-terminal-skills-system-admin",
  "kind": "skill",
  "name": "system-admin",
  "description": "Linux system administration and monitoring",
  "publisher": "chaterm",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "linux",
      "system",
      "monitoring",
      "admin",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Linux system administration and monitoring"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/chaterm/terminal-skills",
      "path": "linux/system-admin/SKILL.md",
      "ref": "HEAD",
      "url": "https://www.skills.sh/chaterm/terminal-skills/system-admin",
      "key": "chaterm/terminal-skills/linux/system-admin/SKILL.md"
    }
  },
  "instructions": "# Linux System Administration\n\n## Overview\nCore commands and best practices for Linux system administration, including system information viewing, resource monitoring, service management, etc.\n\n## System Information\n\n### Basic Information\n```bash\n# System version\ncat /etc/os-release\nuname -a\n\n# Hostname\nhostnamectl\n\n# Uptime and load\nuptime\n```\n\n### Hardware Information\n```bash\n# CPU information\nlscpu\ncat /proc/cpuinfo\n\n# Memory information\nfree -h\ncat /proc/meminfo\n\n# Disk information\nlsblk\ndf -h\n```\n\n## Resource Monitoring\n\n### Real-time Monitoring\n```bash\n# Comprehensive monitoring\ntop\nhtop",
  "cost": {
    "context_tokens": 470
  }
}

Fetch it by URL: GET /api/v1/registry/chaterm-terminal-skills-system-admin/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.