shirou
shirou
We don't want to add more platform specific API on this library. How about to create a new library which can get drive information on Windows specific?
According to your report, `disk.SerialNumber("/dev/sda")` seems succeeded (and I confirmed it works on my local). Why do you want to specify `"sda"`?
Could you tell us `/proc/cpuinfo` content? We want to know `cpu MHz` line exists and the content of that line.
Yes, Fstype on Windows is [not implemented yet.](https://github.com/shirou/gopsutil/blob/master/v3/disk/disk_windows.go#L58) PR is always welcome!
Could you run `go tool cgo -godefs types_linux.go` in `host` directory on your ppc64le, and paste the outputted utmp struct ? "gcc" is required.
Since the ticker interval in your code is 30sec, I think the load is too high and getting the time is too slow. Now I do not know how to...
OK. now I have implemented linux version at #169. The output is same as psutil, but more tests are required.
### FreeBSD sysctl `net.inet.tcp.pcblist` returnes `xtcpcb` struct. But since it is complicated to parse to golang struct, time should be required. ### Darwin To get NetConnections, `proc_pidinfo()` is required and...
@NullSoldier what platform do you want to replace lsof?
Swap usage in windows has been introduced by #423. Currently gopsutil uses `GetPerformanceInfo()` to get [Commit Charge](https://en.wikipedia.org/wiki/Commit_charge) which includes **both** the physical memory and the page file size. So it...