get_processes/0 is an Erlang function exported by "sysmon" module. Returns a list of all processes managed by the Operating system of the current node. This returned list contains tuples for each process as follows {process, Fields}. Depending on the OS you could receive more or less information, however you should take more attention the meaning of the following fields: •name - The process name. Depending on the OS type, the name could assembled differently. •state - The current operational status of the process. oD - in hibernation oR - running oS - sleeping / idle oT - terminated oW - waiting an OS background task to complete oX - dead oZ - zombie oP - parked oI - waiting •pid - The unique process identifier provided by the operating system •parent_pid - Ths PID of a parent process launched the current one •cpu_load - An averaged value in percentage of the CPU load by the referred process •threads - Number of the managed threads by the referred process •handles - Number of the managed handles by the referred process |
|