• Sasha Goldshtein's avatar
    cpudist: Attempt to resolve pid to command · 4b72f052
    Sasha Goldshtein authored
    Use `/proc/$PID/comm`, which may fail, for example if the original
    process already exited. This may also produce misleading results
    if another process got the same pid, but there's no way around this.
    4b72f052
cpudist.py 5.58 KB