Cotal TypeScript packages
    Preparing search index...

    Function processStatFields

    • Read one Linux /proc/<pid>/stat snapshot. The returned fields start at field 3 (state) after the final ) , because comm may contain spaces and parentheses. Undefined when the entry is absent, unreadable, or malformed.

      Parameters

      • pid: number

      Returns string[] | undefined