{
    "api": "YAML JSON TOON Database",
    "version": "1.0.0",
    "format": "json",
    "dataset": {
        "id": 2467,
        "slug": "process-management-commands",
        "title": "Unix Process & System Management Commands",
        "description": "Essential Unix commands for monitoring and managing processes and system resources.",
        "summary": "Unix process and system-management commands with a description, example and category: ps, top, htop, kill, nice, df, du, free, uname and lscpu.",
        "use_when": [
            "You are inspecting running processes, resource use or system information.",
            "You need the command to stop or reprioritize a process."
        ],
        "caveats": [
            "Output format and flags differ between Linux, BSD and macOS.",
            "kill -9 gives a process no chance to clean up; try SIGTERM first."
        ],
        "related": [
            "process-management",
            "file-operations",
            "unix-networking-commands",
            "monitoring-logging-tools"
        ],
        "entry_count": 10,
        "fields": [
            {
                "section": "commands",
                "field": "command",
                "type": "string",
                "example": "ps"
            },
            {
                "section": "commands",
                "field": "description",
                "type": "string",
                "example": "Display information about running processes"
            },
            {
                "section": "commands",
                "field": "example",
                "type": "string",
                "example": "ps aux"
            },
            {
                "section": "commands",
                "field": "category",
                "type": "string",
                "example": "Process Monitoring"
            }
        ],
        "category": "Unix Commands",
        "category_slug": "unix-commands",
        "tags": "unix,linux,commands,process,system,admin",
        "view_count": 47,
        "created_at": 1777673262,
        "updated_at": 1777673262
    },
    "data": {
        "commands": [
            {
                "command": "ps",
                "description": "Display information about running processes",
                "example": "ps aux",
                "category": "Process Monitoring"
            },
            {
                "command": "top",
                "description": "Display real-time system summary and process list",
                "example": "top -o %MEM",
                "category": "Process Monitoring"
            },
            {
                "command": "htop",
                "description": "Interactive process viewer (enhanced top)",
                "example": "htop",
                "category": "Process Monitoring"
            },
            {
                "command": "kill",
                "description": "Send a signal to a process",
                "example": "kill -9 1234",
                "category": "Process Control"
            },
            {
                "command": "nice",
                "description": "Run a program with modified scheduling priority",
                "example": "nice -n 10 .\/script.sh",
                "category": "Process Control"
            },
            {
                "command": "df",
                "description": "Report filesystem disk space usage",
                "example": "df -h",
                "category": "System Monitoring"
            },
            {
                "command": "du",
                "description": "Estimate file and directory space usage",
                "example": "du -sh \/home",
                "category": "System Monitoring"
            },
            {
                "command": "free",
                "description": "Display amount of free and used memory",
                "example": "free -h",
                "category": "System Monitoring"
            },
            {
                "command": "uname",
                "description": "Print system information",
                "example": "uname -a",
                "category": "System Information"
            },
            {
                "command": "lscpu",
                "description": "Display CPU architecture information",
                "example": "lscpu",
                "category": "System Information"
            }
        ]
    }
}