-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
We want to parse monitor show output and extract the total time for active tasks, and create a summary metric for this.
It will allow us to detect long running jobs that may be "stuck" in some way.
Note that we need to potentially exclude service accounts, or tasks such as ldapsync
or resource monitor
We should also count IDLE processes.
Potential metrics:
- max time for any active command
- total time fo all active commands
- count of idle processes and Init() processes?
- count of service commands?
Sample output:
p4 monitor show -al 2268 B svc_master 132:38:12 ldapsync -g -i 1800 2269 B svc_master 132:38:12 admin resource-monitor 2308 I svc_p4d_fs_brk 00:00:00 IDLE none 235102 I p4sdp 07:42:00 IDLE none 500017 I p4dtguser 00:00:09 IDLE none 918870 I swarm 00:02:41 IDLE none 921879 I swarm 00:02:45 IDLE none
Metadata
Metadata
Assignees
Labels
No labels