github.com/prometheus/procfs.Proc.PID (field)
8 uses
github.com/prometheus/procfs (current package)
proc.go#L31: PID int
proc.go#L41: func (p Procs) Less(i, j int) bool { return p[i].PID < p[j].PID }
proc.go#L95: return Proc{PID: pid, fs: fs.proc}, nil
proc.go#L117: p = append(p, Proc{PID: int(pid), fs: fs.proc})
proc.go#L267: return p.fs.Path(append([]string{strconv.Itoa(p.PID)}, pa...)...)
proc_stat.go#L124: s = ProcStat{PID: p.PID, proc: p.fs}
proc_status.go#L83: s := ProcStatus{PID: p.PID}
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |