Skip to main content

Module commands

Module commands 

Source
Expand description

CLI command implementations

Each command is implemented in its own module and follows a consistent pattern:

  • Parse arguments from clap
  • Execute the operation
  • Format and display results

Re-exports§

pub use by::ByCommand;
pub use find_in::InCommand;
pub use info::InfoCommand;
pub use kill::KillCommand;
pub use list::ListCommand;
pub use on::OnCommand;
pub use ports::PortsCommand;
pub use stop::StopCommand;
pub use stuck::StuckCommand;
pub use tree::TreeCommand;
pub use unstick::UnstickCommand;

Modules§

by
proc by - Filter processes by name
find_in
proc in - Filter processes by working directory
info
Info command - Get detailed process information
kill
proc kill - Kill processes
list
proc list - List processes
on
proc on - Port/process lookup
ports
proc ports - List all listening ports
stop
Stop command - Graceful process termination (SIGTERM)
stuck
proc stuck - Find stuck/hung processes
tree
Tree command - Show process tree
unstick
Unstick command - Attempt to recover stuck processes