Software Secure Workload
Activity Configure

Workload Long Running Processes

This endpoint returns list of long running processes on the workload. Long running processes are defined as processes that have at least 5 minutes uptime.

GET /openapi/v1/workload/{uuid}/process/list

Path Parameter

Description

uuid

Agent UUID

Response

The response is a list of processes JSON objects.

Attribute

Type

Description

cmd

string

Command string of the process

binary_hash

string

Sha256 of the process binary in hex

ctime

long

ctime of the process binary in us

mtime

long

mtime of the process binary in us

exec_path

string

Process executable path

exit_usec

long

Time when the process exited in us

num_libs

integer

Number of libs the process loads

pid

integer

Process ID

ppid

integer

Parent process ID

pkg_info_name

string

Name of the package associated with the process

pkg_info_version

string

Version of the package associated with the process

proc_state

string

Process state

uptime

long

Uptime of the process in us

username

string

Username of the process

resource_usage

array

Array of Resource Usage

object

Sample Python code


  agent_uuid = 'aa28b304f5c79b2f22d87a5af936f4a8fa555894'
  resp = restclient.get('/openapi/v1/workload/%s/process/list' % (agent_uuid))