x-ps

condition: Código não disponível para análise

SKILL.md

GitHub

x ps - Process Status Viewer

Enhanced process viewer with interactive UI, multiple output formats, and AI-powered filtering.


Quick Start

# Interactive process viewer (default)
x ps

# List all processes with details
x ps aux

Features

  • Interactive UI: Built-in csv app with sorting and filtering
  • fzf integration: x ps fz for fuzzy search
  • Multiple formats: CSV, JSON, TSV output
  • AI filtering: Natural language process selection (x ps =)
  • Process management: Kill processes from interactive view

Commands

Command Description
x ps Interactive process viewer (default)
x ps aux Show all processes
x ps fz Interactive fzf view
x ps --csv CSV format output
x ps --json JSON format output
x ps --tsv TSV format output

Examples

Interactive View

# Default interactive mode
x ps

# Use fzf for fuzzy search
x ps fz

Format Conversion

# Convert ps output to JSON
ps aux | x ps --tojson

# Get CSV format
x ps --csv

# Process and convert
ps -ef | x ps --tocsv

AI-Powered Filtering

# Natural language process selection
x ps = "heavy cpu processes"
x ps = "nodejs processes using most memory"

Process Management

# View and kill from interactive UI
x ps
# Select process → Choose action (dump, TERM, INT, KILL)

Data Pipeline

# Chain with other tools
x ps --csv | x csv sql "SELECT * WHERE CPU > 5"
x ps --json | jq '.[] | select(.USER == "root")'

Platform Notes

Linux

  • Uses native ps command
  • Fallback to busybox ps if needed

macOS

  • Full feature support
  • Native ps compatible

Windows

  • Via busybox or WSL

Related

  • Native ps(1) manual page

Diff History

  • v00.33.0: Ingested from x-cmd

Why This Skill Exists

Implement — |

<!-- SR_40: auto-generated from frontmatter `purpose`/`description` (OPP-Phase3). Expand with domain-specific rationale. -->

When to Use

Use this skill when the task requires x ps capabilities.

<!-- SR_40: auto-generated from frontmatter `when`/`description` (OPP-Phase3). -->

What If Fails

  • condition: Código não disponível para análise
<!-- SR_40: auto-generated from frontmatter `what_if_fails` (OPP-Phase3). -->