DEFRECORD KCML_PSTAT

KCML $PSTAT structure
FLD namePack formatPurpose
PSTAT_UserStatus$CHAR(8)User settable status
PSTAT_KCMLReleaseUNUM(2,1)KCML release
PSTAT_Programmable$CHAR(1)Set to "P" if programmable
PSTAT_TermStatus$CHAR(1)Terminal status
PSTAT_GlobalName$CHAR(8)Global partition name (all 0x00 if not a global)
PSTAT_ErrorMajorUNUM(2,0)Major portion of last error code
PSTAT_DeviceStatusUINT(1)Device status
PSTAT_ProcessIdUINT(4)Process ID
PSTAT_TerminalUINT(2)#TERM
PSTAT_PartitionUINT(2)#PART
PSTAT_GlobalPartitionUINT(2)Global partition ID, or grouping ID
PSTAT_ErrorMinorUINT(1)Minor portion of last error number
PSTAT_ClientIP$HEX(4)IP address of WDW clients. For generic code use the MACHINE_ClientIP$ field of $MACHINE
PSTAT_HeapSizeUINT(2)Dynamic heap size in kB (accurate up to 64Mb)
PSTAT_ClientCategory$CHAR(1)Client category
PSTAT_ClientName$CHAR(16)Name of client
PSTAT_LastAccessedUINT(4)Timestamp of last keyboard access
PSTAT_UserId$CHAR(16)User Id
PSTAT_MACaddress$HEX(6)MAC address of client
PSTAT_ConnectTypeUINT(1)Connection Type
PSTAT_HeapSize2UINT(4)Dynamic heap size in kB
PSTAT_Uuid$HEX(16)Universally Unique identifier. Will be only be set if extended partitions have been configured. Use 'KCML_Uuid_ToString() to convert to a printable string.

More info