mirror of https://github.com/shirou/gopsutil
process: change linux NewProcess to only stat /proc/[pid]
Before it was doing a fillFromStatus() call which was much slower and none of the information was needed, except by the Name() func which now will call fillFromStatus() if p.name is not set.pull/168/head
parent
3618a777a8
commit
a3bbd9e3cd
Loading…
Reference in New Issue