procs
Modern Rust-based process viewer
TLDR
List all processes
SYNOPSIS
procs [--tree] [--watch] [--sortd column] [--insert columns] [keyword]
DESCRIPTION
procs is a modern replacement for ps, written in Rust with enhanced output formatting. It displays process information with syntax highlighting, making output more readable.
The default view shows more useful information than ps: command name, PID, user, CPU%, memory, and a truncated command line. Colors distinguish types of processes and highlight keywords.
Tree view (-t) shows process hierarchy with visual indentation. This makes it easy to see parent-child relationships without piping through pstree.
Watch mode (-w) provides top-like real-time updates. Combined with sorting, it helps identify resource-heavy processes. The interval is configurable.
Search works by keyword matching against multiple fields: process name, command line, user. Filters provide more precise control using expressions like "cpu gt 10" or "user eq root".
Configuration file (~/.config/procs/config.toml) allows customizing columns, colors, and default options.
PARAMETERS
--tree, -t
Tree view showing parent-child relationships.--watch, -w
Watch mode with auto-refresh.--watch-interval SEC
Refresh interval in seconds.--sortd COLUMN
Sort descending by column.--sorta COLUMN
Sort ascending by column.--insert COLUMNS
Add columns to display.--only COLUMNS
Show only specified columns.--or FILTER
Filter with OR logic.--and FILTER
Filter with AND logic.--color MODE
Color mode: auto, always, disable.--pager MODE
Pager: auto, always, disable.--config FILE
Use specific config file.--theme THEME
Color theme.--no-header
Hide column headers.
CONFIGURATION
~/.config/procs/config.toml
User configuration file defining default columns, color themes, sort order, and display options.
CAVEATS
Some ps options don't have direct equivalents. Filter syntax differs from ps. Config file format may change between versions. Large process lists can be slow to render. Terminal must support colors for best experience.
HISTORY
procs was created by dalance around 2019 as part of the wave of Rust-based Unix tool rewrites. It aimed to improve on ps's dated output format while maintaining familiarity. The tool emphasizes visual clarity and modern terminal features.
