diff --git a/process/process.go b/process/process.go index 0792122..a50b4dc 100644 --- a/process/process.go +++ b/process/process.go @@ -461,7 +461,7 @@ func (p *Process) CPUAffinity() ([]int32, error) { } // MemoryInfo returns generic process memory information, -// such as RSS, VMS and Swap +// such as RSS and VMS. func (p *Process) MemoryInfo() (*MemoryInfoStat, error) { return p.MemoryInfoWithContext(context.Background()) } diff --git a/v3/process/process.go b/v3/process/process.go index 28deb2f..6ef390a 100644 --- a/v3/process/process.go +++ b/v3/process/process.go @@ -472,7 +472,7 @@ func (p *Process) CPUAffinity() ([]int32, error) { } // MemoryInfo returns generic process memory information, -// such as RSS, VMS and Swap +// such as RSS and VMS. func (p *Process) MemoryInfo() (*MemoryInfoStat, error) { return p.MemoryInfoWithContext(context.Background()) }