Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Claude CodeNot declared
CursorNot declared
CodexNot declared
GitHub CopilotNot declared
WindsurfNot declared
Gemini CLINot declared
ClineNot declared
OpenCodeNot declared
Repository health
Stars1
LicenseLICENSE
Default branchmain
Open issues0
Status
Archived
Skill metadata
Parsed from SKILL.md frontmatter.
Version2.0.0
Package contents
Files included with this skill beyond the listing page.
skill mdSKILL.md4,462 B
docsSUMMARY.md92 B
History
First seen on skills.sh
First recorded snapshot · 1 installs
SKILL.md
Process Management Skill
Master process control, signals, scheduling, and monitoring
Learning Objectives
After completing this skill, you will be able to:
List and inspect running processes
Send and handle signals properly
Run background jobs and daemons
Schedule tasks with cron and systemd
Monitor system resources
Prerequisites
Bash basics
Linux system fundamentals
User permissions understanding
Core Concepts
1. Process Inspection
# List processes
ps aux # All processes
ps -ef # Full format
ps --forest # Tree view
# Find processes
pgrep -f "pattern" # PID by pattern
pidof nginx # PID by name
ps aux | grep '[n]ginx' # Grep trick
# Resource usage
top # Real-time view
htop # Better interface
#!/usr/bin/env bash
set -euo pipefail
cleanup() {
echo "Cleaning up..."
rm -f "$TEMP_FILE"
}
trap cleanup EXIT INT TERM
# Main logic
TEMP_FILE=$(mktemp)
# ... work with temp file
Signal Reference
Signal
Number
Default
Common Use
SIGHUP
1
Terminate
Reload config
SIGINT
2
Terminate
Ctrl+C
SIGQUIT
3
Core dump
Ctrl+\
SIGKILL
9
Terminate
Force kill
SIGTERM
15
Terminate
Graceful stop
SIGSTOP
19
Stop
Pause
SIGCONT
18
Continue
Resume
Anti-Patterns
Don't
Do
Why
kill -9 first
kill -TERM first
Allow cleanup
Kill PID 1
Never
Crashes system
Cron without logs
Log all output
Debug issues
Practice Exercises
Process Monitor: Script to monitor a process
Daemon Script: Create a proper daemon
Cron Job: Schedule a backup job
Signal Handler: Graceful shutdown script
Troubleshooting
Common Errors
Error
Cause
Fix
No such process
Already dead
Check with ps
Operation not permitted
Wrong owner
Use sudo
Cron not running
PATH issues
Use full paths
Debug Techniques
# Check if process exists
ps -p $PID
# Debug cron
grep CRON /var/log/syslog
# Trace process
strace -p $PID