1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-26 13:48:59 +08:00

19 Commits

Author SHA1 Message Date
marcospedreiro
d47801b68b revert imports 2018-11-19 22:06:05 -08:00
marcospedreiro
45aeaebda5 test windows cpu.Time(true) returning time instead of percentages 2018-11-18 22:30:47 -08:00
shirou
8048a2e9c5 [disk] add an comment. 2018-08-01 14:39:43 +09:00
Tomasz Kolodziej
8e2d09ee63 Removed unnecessary line 2018-07-30 15:06:41 +02:00
Tomasz Kolodziej
573f3336a4 Fixing calculation of UsedPercent.
Now it is calculated based of available disk space for user,
not including reserved space for root. This is compatible
with psutil and df command.
2018-07-30 14:59:23 +02:00
Lomanic
00bbeb757e [disk][unix] Fix #555 Unescape escaped sequences in fstab path in disk.Usage 2018-07-24 00:24:05 +02:00
shirou
4c73494c78 Add WithContext functions. 2017-12-31 15:25:49 +09:00
WAKAYAMA Shirou
66b0ca3121 [disk] Add comment to disk.Usage(). 2017-07-14 15:33:53 +09:00
Sean Chittenden
635b971c0e
Move from the syscall package to the golang.org/x/sys/{unix,windows} 2017-06-02 13:51:00 -07:00
Cameron Sparr
a213bf5e6d
run go fmt ./... 2017-02-01 23:05:29 +00:00
HeChuan
c73b6685be fix: division by zero possible
some filesystem have zero Inode
2016-12-23 15:50:28 +08:00
Shirou WAKAYAMA
08a6ab66b0 disk: If could not get Inodes, return empty. 2016-08-27 14:02:51 +09:00
Shirou WAKAYAMA
ea152ea901 [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters 2016-03-22 23:09:12 +09:00
Shirou WAKAYAMA
223c809234 disk[unix]: revert 61cb121. psutil uses Available as Free. 2015-12-01 23:29:15 +09:00
Shirou WAKAYAMA
ad6c3f60a7 disk[freebsd,darwin,windows]: add fstype to DiskUsageStat. 2015-08-14 18:08:43 +09:00
Shirou WAKAYAMA
61cb121015 disk[unix]: fix free. 2015-07-23 11:39:50 +09:00
Pavel Trukhanov
4f6e4f73f3 disk_usage as in psutil 2015-04-08 13:58:18 +03:00
Shirou WAKAYAMA
13cd195a7e change package name. 2014-12-30 22:09:05 +09:00
Shirou WAKAYAMA
a4671fcc2a move subdirectories. refer to issue #24 2014-11-27 10:18:15 +09:00