diff options
| author | Paul Buetow (europa) <paul@buetow.org> | 2015-05-25 22:57:38 +0100 |
|---|---|---|
| committer | Paul Buetow (europa) <paul@buetow.org> | 2015-05-25 22:57:38 +0100 |
| commit | 96820584df88162cec749a0291c395bfc7803cd2 (patch) | |
| tree | 02c0b5c2f23d8ba794a02193fa26e5f3111be4b7 /process | |
| parent | e82ed18a6805c525260602c8ef761e6bc3d8432b (diff) | |
prepare to compare
Diffstat (limited to 'process')
| -rw-r--r-- | process/process.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/process/process.go b/process/process.go index d33bf69..c4f2953 100644 --- a/process/process.go +++ b/process/process.go @@ -40,7 +40,7 @@ func new(pidstr string) (Process, error) { } err = utils.Slurp(&p.Cmdline, fmt.Sprintf("/proc/%d/cmdline", pid)) - p.Id = pidstr + " " + p.Cmdline + p.Id = fmt.Sprintf("(%s) %s", pidstr, p.Cmdline) return p, err } |
