Returns an array about Memory or IO infos of a running process.
|| [optional] The name or PID of the process to get infos from. Default (-1) is the current process.
|| [optional] 0 = (default) memory infos, 1 = IO infos.
||An array of infos data (See Remarks).
The array returned is mono-dimensional and is made up as follows:
Type = 0 : Memory Stats
$array = WorkingSetSize
$array = PeakWorkingSetSize
Type = 1 : IO Stats
$array = number of read operations performed.
$array = number of write operations performed.
$array = number of I/O operations performed, other than read and write operations.
$array = number of bytes read.
$array = number of bytes write.
$array = number of bytes transferred during operations other than read and write operations.
; retrieve memory infos of the current running process
Local $mem = ProcessGetStats()
; retrieve IO infos of the current running process
Local $IO = ProcessGetStats(-1, 1)