mirror of
https://github.com/containers/podman.git
synced 2025-11-01 10:45:52 +08:00
vendor c/psgo@v1.7.1
psgo added support for listing supplementary groups via two new descriptors: * `groups` for supplementary groups inside the container * `hgroups` for the counterpart on the host Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/psgo/internal/process/process.go
generated
vendored
2
vendor/github.com/containers/psgo/internal/process/process.go
generated
vendored
@ -215,7 +215,7 @@ func (p *Process) StartTime() (time.Time, error) {
|
||||
return time.Unix(sinceBoot+bootTime, 0), nil
|
||||
}
|
||||
|
||||
// CPUTime returns the cumlative CPU time of process p as a time.Duration.
|
||||
// CPUTime returns the cumulative CPU time of process p as a time.Duration.
|
||||
func (p *Process) CPUTime() (time.Duration, error) {
|
||||
user, err := strconv.ParseInt(p.Stat.Utime, 10, 64)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user