In the Spotlight for UNIX connected to a Linux host, on the main page in the CPU panel, one of the graphs/lights shows "Blocked" processes. The pop-up menu says:
The Blocked Processes button in the CPU panel shows the number of processes waiting on information to become available in memory.
Processes can also become blocked when they are waiting for:
Disk I/O completion,
Network I/O completion, or
A shared resource.
A high level of blocked processes may indicate an under-configured machine.
The type of alarm that is activated is determined by the number of blocked processes waiting on information.
Question: on the drilldown screen, what processes are being identified by the "Blocked" screen? That is, how to identify the processes that Spotlight for UNIX is identifying as "Blocked" processes?
The "Blocked" Home Page control is returning the "b" column from vmstat.
To find out which processes are blocked in the "Processes" drilldown, turn off the "Show Tree" for the processes and sort the "State" column in ascending order - the state of blocked processes [for Linux at least] will be "D" - also note, these processes are likely to change state frequently unless there is a problem.
The information for the processes drilldown is coming from "ps" specifically "ps -eo user,pid,ppid,gid,%cpu,%mem,vsz,rss,tty,state,nice,pri,etime,time,comm,args"
© ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center