aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 113a38efab2743b1a5be50f7ee93bf1867b0041e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
##AGL-task-manager

Task Manager service queries the system folder /proc to collect data on 
the processes currently running on the machine. Information such as 
process name, process ID, user, system CPU usage, user CPU usage, resident memory and state. 


## Verbs

| Name               | Description                               |
|:-------------------|:------------------------------------------|
| get_process_list   | retrieves the current processes from /proc|


## JSON response is an array of process entries each containing the values described below

| Name        | Description                                     |
|:------------|-------------------------------------------------|
| cmd         | name of each process							|
| tid         | unique process ID      							|
| euid        | process user                      				|
| scpu        | % of CPU time used by process in kernel mode    |
| ucpu        | % of CPU time used by process in user time      |
| resident_mem| amount of resident memory used                  |
| state       | state of process                   				|