Documentation
¶
Overview ¶
Package memory return MemoryInfoStat modify from https://github.com/shirou/gopsutil/tree/v4.25.8/process
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrNotImplementedError = errors.New("not implemented yet")
Functions ¶
func PrettyByteSize ¶
PrettyByteSize convert size in bytes to Bytes, Kilobytes, Megabytes, GB and TB https://gist.github.com/anikitenko/b41206a49727b83a530142c76b1cb82d?permalink_comment_id=4467913#gistcomment-4467913
Types ¶
type MemoryInfoStat ¶
func GetMemoryInfo ¶
func GetMemoryInfo(pid int32) (*MemoryInfoStat, error)