win32job.QueryInformationJobObject
dict = QueryInformationJobObject(Job, JobObjectInfoClass )
Retrieves limit and job state information from the job object.
Parameters
JobObjectInfoClass | Type of information returned |
JobObjectBasicAccountingInformation | Returns a dict representing a JOBOBJECT_BASIC_ACCOUNTING_INFORMATION struct |
JobObjectBasicAndIoAccountingInformation | Returns a dict representing a JOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION struct |
JobObjectBasicLimitInformation | Returns a dict representing a JOBOBJECT_BASIC_LIMIT_INFORMATION struct |
JobObjectExtendedLimitInformation | Returns a dict representing a JOBOBJECT_EXTENDED_LIMIT_INFORMATION struct |
JobObjectEndOfJobTimeInformation | Returns a dict representing a JOBOBJECT_END_OF_JOB_TIME_INFORMATION struct |
JobObjectBasicUIRestrictions | Returns a dict representing a JOBOBJECT_BASIC_UI_RESTRICTIONS struct |
JobObjectBasicProcessIdList | Returns a sequence of pids of processes assigned to the job |
JobObjectJobSetInformation | Returns a dict representing a JOBOBJECT_JOBSET_INFORMATION struct (not documented on MSDN) |
JobObjectSecurityLimitInformation | JOBOBJECT_SECURITY_LIMIT_INFORMATION Not implemented |
JobObjectAssociateCompletionPortInformation | JOBOBJECT_ASSOCIATE_COMPLETION_PORT Not implemented |
Return Value
The type of the returned information is dependent on the class requested