Skip to content

Add support for threads count #57

@simonepri

Description

@simonepri

Example:

❯ ps M -p 2100        
USER        PID   TT   %CPU STAT PRI     STIME     UTIME COMMAND
simonepri  2100   ??    1.9 R    47T   0:01.72   0:18.31 /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal
           2100         0.0 S    20T   0:00.00   0:00.00 
           2100         0.0 S    31T   0:00.00   0:00.00 
           2100         0.0 S    31T   0:00.54   0:00.33 
           2100         0.0 S    47T   0:00.92   0:00.56 
           2100         0.1 S    61T   0:00.00   0:00.03 
           2100         0.1 S    47T   0:00.00   0:00.02 
           2100         0.0 S    61T   0:00.00   0:00.01 
           2100         0.1 S    47T   0:00.00   0:00.01 

To count them:

❯ ps M -p 2100 | wc -l
      10

@soyuka any idea on how can we support this?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions