Process Tools¶
processes ¶
Process management tools.
get_process_info
async
¶
get_process_info(
pid: Annotated[
int, Field(description="Process ID", ge=1)
],
host: Host = None,
) -> str
Get detailed information about a specific process.
Retrieves comprehensive process details including CPU/memory usage, process
state, virtual/resident memory size, controlling terminal, and additional
metadata from /proc/
Source code in src/linux_mcp_server/tools/processes.py
list_processes
async
¶
List all running processes.
Retrieves a snapshot of all running processes with details including PID, user, CPU/memory usage, process state, start time, and command line.