Changes

Jump to navigation Jump to search
166 bytes added ,  22:03, 24 September 2018
→‎Proposed solution: + few missing fields to TASK_DIAG_BASE
Line 77: Line 77:     
{| class="wikitable"
 
{| class="wikitable"
|| TASK_DIAG_BASE || PID, PGID, SID, TID, comm
+
|| TASK_DIAG_BASE || PID, PPID, PGID, SID, TID, state, comm
 
|-
 
|-
 
|| TASK_DIAG_CRED || UID, GID, groups, capabilities
 
|| TASK_DIAG_CRED || UID, GID, groups, capabilities
Line 91: Line 91:  
=== Performance measurements ===
 
=== Performance measurements ===
   −
==== Get pid, tid, pgid and comm for 50000 processes ====
+
==== ps (emulation) ====
 +
 
 +
Get pid, tid, pgid and comm for 50000 processes. The code used is available [https://github.com/avagin/linux-task-diag/tree/task-diag-proc/tools/testing/selftests/task_diag from here].
    
Existing interface:
 
Existing interface:

Navigation menu