Grid

Get a thread list for a process on a grid node

Get list of threads for the specified process on the specified node.

get/grid/{name}/processes/{processId}/threads

Request

  • Base URL: http://mock-cas.apifirst.unx.sas.com/cas
  • URL: http://mock-cas.apifirst.unx.sas.com/cas/grid/{name}/processes/{processId}/threads
  • Auth: one of:
    • HTTP basic
    • OAuth 2 (implicit, authorization URL https://site-specific-url)

Response

OK

pidstring

The process ID of the owner process.

idstring

Thread identifier.

userIdstring

UID of process owner.

usernamestring

If username cannot be determined from UID, contains string representation of UID.

commandstring

Command used to start the process.

state'Running' | 'Sleeping' | 'Disk Wait' | 'Zombie' | 'Traced' | 'Paging'

State of the thread.

userCPUTimenumber double

Amount of time the thread has executed in user space, in hertz/cycles.

systemCPUTimenumber double

Amount of time the thread has executed in user space, in hertz/cycles.

totalCPUTimenumber double

Amount of time the thread has executed in user space, in hertz/cycles.

clockTicksPerSecondnumber double

Number of clock ticks (cycles) per second. Use to convert CPU times to seconds.

niceinteger

The priority of the thread.

vmSizestring

Virtual memory size, in bytes.

rssstring

Resident set size, in bytes.

cpustring

Number of CPU running the thread.

stackTracestring[]

The contents of the thread's current execution stack.

Changes

No recorded changes to this operation across all 1 revision of this API.