getProcStat

Reads /proc/<pid>/stat and extracts the data.

  1. ProcStat getProcStat(cstring path)
    getProcStat
  2. bool getProcStat(cstring path, ProcStat stat)

Parameters

path cstring

path of the file to query

Return Value

Type: ProcStat

filled ProcStat structure based on /proc/self/stat or empty ProcStat instance in case parsing has failed.

Meta