Skip to main content

Get process by PID

GET 

/node/:hostname/process/:pid

Get detailed information about a specific process by PID.

Request

Path Parameters

    hostname stringrequired

    Possible values: non-empty

    Target agent hostname, reserved routing value (_any, _all), or label selector (key:value).

    pid integerrequired

    Possible values: >= 1

    Process identifier (PID).

Responses

Process detail.

Schema

    job_id uuid

    The job ID used to process this request.

    results

    object[]

    required

  • Array [

  • hostname stringrequired

    The hostname of the agent.

    status stringrequired

    Possible values: [ok, failed, skipped]

    The status of the operation for this host.

    process

    object

    Information about a running process.

    pid integer

    Process identifier.

    name string

    Process name.

    user string

    User running the process.

    state string

    Process state.

    cpu_percent double

    CPU usage percentage.

    mem_percent float

    Memory usage percentage.

    mem_rss int64

    Resident set size in bytes.

    command string

    Full command line.

    start_time string

    Process start time.

    error string

    Error message if the agent failed.

  • ]

Loading...