|
According to sam.kleinman currently there is no port of the gopsutil to Solaris platform, hence no process resource information is available on Solaris.
On Windows, there is a limitation that only info for a single process is returned, but not for the process tree. A ticket MAKE-220 has been opened to track this issue.
|
$ curl localhost:2285/status
|
{
|
"agent_revision": "cbb4eb409e60df316e65fc8bbd4b59b5dcad9bc8",
|
"pid": 15794,
|
...
|
"ps_info": [
|
{
|
"pid": 15794,
|
"parentPid": 5872,
|
"numThreads": 6,
|
"command": "./executables/linux_amd64/main",
|
"cpu": {
|
"cpu": "cpu",
|
"user": 0,
|
"system": 0.01,
|
"idle": 0,
|
"nice": 0,
|
"iowait": 0,
|
"irq": 0,
|
"softirq": 0,
|
"steal": 0,
|
"guest": 0,
|
"guestNice": 0,
|
"stolen": 0
|
},
|
"io": {
|
"readCount": 243,
|
"writeCount": 47,
|
"readBytes": 339968,
|
"writeBytes": 24576
|
},
|
"net": [
|
{
|
"name": "all",
|
"bytesSent": 4922033151702,
|
"bytesRecv": 5769721400235,
|
"packetsSent": 2730485829,
|
"packetsRecv": 4199734939,
|
"errin": 0,
|
"errout": 0,
|
"dropin": 0,
|
"dropout": 0,
|
"fifoin": 0,
|
"fifoout": 0
|
}
|
],
|
"mem": {
|
"rss": 6352896,
|
"vms": 196161536,
|
"swap": 0
|
},
|
"memExtra": {
|
"rss": 6352896,
|
"vms": 196161536,
|
"shared": 4349952,
|
"text": 4935680,
|
"lib": 0,
|
"data": 0,
|
"dirty": 180842496
|
},
|
"errors": [
|
"process does not have children"
|
],
|
"metadata": {
|
"time": "0001-01-01T00:00:00Z"
|
}
|
}
|
],
|
"task_id": ""
|
}
|
|