Product SiteDocumentation Site

8.53. SysQueryProcess

Windows

                      +-PID---+
>>-SysQueryProcess(" -+-TID---+- ")----------------------------><
                      +-PPRIO-+
                      +-TPRIO-+
                      +-PTIME-+
                      +-TTIME-+

Unix

                      +-PID------+
>>-SysQueryProcess(" -+----------+- ")-------------------------><
                      +-PPID-----+
                      +-PPRIO----+
                      +-PTIME----+
                      +-PMEM-----+
                      +-PSWAPS---+
                      +-PRCVDSIG-+

Retrieves information about the current process or Windows thread.
Parameter:
info
The kind of information requested:
PID
Returns the process ID of the current process.
PPID
Returns the parent process ID of the current process.
TID
Returns the thread ID of the current thread.
PPRIO
Returns the priority class of the current process.
TPRIO
Returns the relative priority of the current thread.
PTIME
Returns time information on the current process.
TTIME
Returns time information on the current thread.
PMEM
Returns the maximum memory (RSS) used by the current process.
PRCVDSIG
Returns the number of signals that have been received by the process.
Return codes: