RAD function: processes

A RAD function that returns an array describing all processes.

Function

processes

Format

processes(s)

Factors

Each element of the array contains the following information:

  • login time
  • session id
  • device name
  • user name
  • idle time
  • process id
  • thread id
  • host name
  • IP address

The argument of s determines the types of processes to be returned:

S Type of process
null All
ALL All
SYSTEM System (terminal="SYSTEM")
USER User (not System)
ACTIVE Active
INACTIVE Inactive (not active)

Example

processes("ACTIVE") returns {{[‘04/06/09 11:02:22’, 11, "Soap-Windows Vista", "System.Admin", ‘00:00:00’, 1692, 5164, "HPSD9667", "15.80.163.173"]}}.