1 Star 0 Fork 0

Cinus / gopsutil

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
v3Changes.md 1.52 KB
一键复制 编辑 原始数据 按行查看 历史
Lomanic 提交于 2020-11-05 20:18 . [doc] Fix links in v3Changes.md

v2 to v3 changes

  • v3 is in the v3 directory

  • [process] RLimit is now uint64 (#364)

  • [process] Remove process.NetIOCounters (#429)

  • [docker] fix typo of memoryLimitInBbytes (#464)

  • [mem] VirtualMemoryStat JSON fields capitalization (#545)

    • various JSON field name and some of Variable name have been changed. see v3migration.sh
  • [all] various kind of platform dependent values/constants such as process.GetWin32Proc is now private. see v3migration.sh

  • [process] process.Status() now returns []string. and status string is "Running", not just "R". defined in process.go. (#596)

  • [docker] CgroupCPU() now returns *CgroupCPUStat with Usage (#590 and #581)

  • [disk] disk.Opts is now string[], not string. (related to #955)

  • [host] Fixed temperature sensors detection in Linux (#905)

  • [disk] GetDiskSerialNumber() is now SerialNumber() and spread to all platforms

  • [disk] GetLabel () is now Label() and spread to all platform

  • [net] Change net.InterfaceStat.Addrs to InterfaceAddrList (#226)

  • [cpu] Removed windows-specific ProcInfo()

Go
1
https://gitee.com/cinus/gopsutil.git
git@gitee.com:cinus/gopsutil.git
cinus
gopsutil
gopsutil
v3.21.11

搜索帮助

53164aa7 5694891 3bd8fe86 5694891