1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-05-10 19:29:14 +08:00

694 Commits

Author SHA1 Message Date
Shirou WAKAYAMA
2728d81cde copied from golang LICENSE. 2016-06-25 18:45:55 +09:00
shirou
bbb9025bfa Merge pull request #222 from diptanu/master
Casting the values of working set and page file to uint64
2016-06-23 15:14:09 +09:00
Diptanu Choudhury
af4c8608c9 Casting the values of working set and page file to uint64 2016-06-22 16:22:37 -07:00
shirou
5c1bfed855 Merge pull request #219 from sean-/freebsd-cpu-info
Improve FreeBSD's CPU InfoStat collection
2016-06-17 17:26:08 +09:00
Sean Chittenden
14b2ce8b81
Don't be lossy re: CPU model number. 2016-06-16 19:32:49 -07:00
Sean Chittenden
606680edc5
Improve the accuracy of CPU detection on FreeBSD. 2016-06-16 19:25:27 -07:00
shirou
22a03b5be3 Merge pull request #218 from zstyblik/patch-1
Fix typos in README.rst
v2.1
2016-06-14 18:28:26 +09:00
Zdenek Styblik
c184d5359e Fix typos in README.rst
Commit fixes some typos in README.rst
2016-06-14 11:06:54 +02:00
shirou
1a490a2491 Merge pull request #217 from sandlbn/master
[net]linux Add support for linux net interface fifo errors
2016-06-14 07:59:35 +09:00
shirou
93e9068485 Merge pull request #216 from zstyblik/add-documentation
[disk]linux: add documentation for GetDiskSerialNumber()
2016-06-13 22:54:23 +09:00
sandlbn
480ccb89e1 Added support for linux net interface fifo errors 2016-06-13 13:27:25 +01:00
Zdenek Styblik
70cbab7045 [disk]linux: add documentation for GetDiskSerialNumber()
Commit adds documentation for GetDiskSerialNumber(), because it wasn't clear
what was expected as a parameter.

Fixes #212
2016-06-13 11:11:12 +02:00
Shirou WAKAYAMA
dd9b50926c [host]linux: add coreos to Info() and Virtualization(). 2016-06-13 17:22:02 +09:00
Shirou WAKAYAMA
c916da2502 [process]linux: add linux_arm64.go explicitly 2016-06-13 16:17:40 +09:00
WAKAYAMA Shirou
53406b2832 [host]Windows: BootTime and Uptime are reversed on Windows. 2016-06-12 23:20:51 +09:00
Shirou WAKAYAMA
e9afb36ccf [host] linux: detect docker and rkt correctly 2016-06-06 23:50:19 +09:00
Shirou WAKAYAMA
c0d1185809 [host]linux: add alpine linux to detect host.Info(). 2016-06-06 22:57:17 +09:00
shirou
586bb697f3 Merge pull request #207 from sparrc/diskstats-panic-fix
Fix potential panic in linux disk IO counters
2016-06-03 22:00:04 +09:00
Cameron Sparr
da43049324 Fix potential panic in linux disk IO counters
Old kernels have a bug in diskstats where lines can have less than 14
fields. This applies to the kernel present in RHEL 5.2 and earlier.

It's a bit of a niche but probably best to patch to be safe from future
bugs too.

RHEL bug case:
https://bugzilla.redhat.com/show_bug.cgi?id=583285

Encountered in Telegraf:
https://github.com/influxdata/telegraf/issues/1322
2016-06-03 11:16:07 +01:00
shirou
ddc9f5a41c Merge pull request #205 from vrecan/calc_cpu_percent
Calc cpu percent using last variables if interval of 0 is given
2016-06-03 00:44:10 +09:00
Ben Aldrich
9dbebcf46e rename ALL to all 2016-06-01 16:03:11 -06:00
Ben Aldrich
a76195e088 fixed imports and spelling error 2016-06-01 15:53:54 -06:00
Ben Aldrich
c36f7ac8b0 rename var 2016-06-01 15:45:29 -06:00
Ben Aldrich
fcc1747d9f Merge branch 'master' of https://github.com/shirou/gopsutil into calc_cpu_percent
Conflicts:
	cpu/cpu.go
2016-06-01 15:24:23 -06:00
Ben Aldrich
c389989453 calculate cpu percentage compared to last call if 0 interval is given 2016-06-01 15:21:58 -06:00
shirou
6e9b0bbb1b Merge pull request #197 from shirou/process/add_memory_windows
Process/add memory windows
2016-05-30 14:06:48 +09:00
shirou
83c6e72cbd Merge pull request #203 from shirou/add_timeout_and_change_to_use_invoker
add Timeout to invoke command and use common.Invoke
2016-05-21 07:39:10 +09:00
Sean Chittenden
d2ca7e8d2c
Remove redundant build tag 2016-05-20 10:04:58 -04:00
Shirou WAKAYAMA
1d461a68b6 [process]linux: porcess was not started. 2016-05-20 21:13:52 +09:00
Shirou WAKAYAMA
57f6aebc7e add Timeout to invoke command and use common.Invoke refs: #201 2016-05-20 17:59:41 +09:00
shirou
bae75faa5a Merge pull request #200 from azinman/master
Fix compile errors for iOS/arm64
2016-05-11 08:05:35 +09:00
Aaron Zinman
4041e7d31e Fix compile errors for iOS/arm64
- Added conditional preprocessor guard on cpu_darwin_cgo.go

- Duplicated disk_darwin_amd64 for arm64 (after confirming
that sys/mount.h are the same between the two platforms, hence the
constants should be valid).
2016-05-10 12:27:10 -07:00
shirou
99fb4dce54 Merge pull request #199 from gnhuy91/patch-1
make 'alternative location' in Usage section more readable
2016-05-10 17:13:19 +09:00
Huy Giang
7bf614d799 make 'alternative location' in Usage section more readable 2016-05-10 14:22:14 +07:00
Shirou WAKAYAMA
7b991b8135 add requirement to README.rst. 2016-05-05 00:09:19 +09:00
WAKAYAMA Shirou
ba34a3af8c [process]windows: add IO counters and fix CreateTime 2016-05-04 23:25:43 +09:00
WAKAYAMA Shirou
903277ce2f [process]windows: implement process.MemoryInfo (but no swap) 2016-05-04 22:39:44 +09:00
shirou
cf454998dc Merge pull request #194 from discordianfish/fish/add-arm64
Add type definitions for arm64 and ppc64le
2016-04-29 18:30:00 +09:00
shirou
5caae7e663 Merge pull request #192 from shirou/docker/add_CgroupDockerStat
[docker]linux: add CgroupDockerStat (#189)
2016-04-29 18:28:44 +09:00
Johannes 'fish' Ziemke
2a69690d62 Add type definitions for arm64 and ppc64le 2016-04-28 23:16:55 +02:00
Shirou WAKAYAMA
97e1d05084 [docker]linux: add CgroupDockerStat (#189) 2016-04-24 17:15:45 +09:00
shirou
f8c7af5565 Merge pull request #191 from shirou/host/update_freebsd_type
Host/update freebsd type
2016-04-24 16:53:57 +09:00
WAKAYAMA shirou
a9040e612c [process]freebsd: update 386. 2016-04-23 23:47:50 +09:00
WAKAYAMA shirou
e864f2a037 [disk]freebsd: update 386. 2016-04-23 23:43:00 +09:00
WAKAYAMA shirou
01832c6a58 [host]freebsd: add freebsd_386. 2016-04-23 23:18:18 +09:00
WAKAYAMA shirou
d9e994bec8 [host]freebsd: update freebsd_amd64 2016-04-23 23:10:23 +09:00
shirou
d8317f10e9 Merge pull request #190 from shirou/update_host_type_linux
Update host type linux
2016-04-23 22:42:49 +09:00
Shirou WAKAYAMA
ce98590a35 [host]linux: forgot to add sizeOfUtmp. 2016-04-23 22:18:34 +09:00
Shirou WAKAYAMA
15ff7e19df [host]linux: fix i386 and gofmt. 2016-04-23 21:34:27 +09:00
Shirou WAKAYAMA
b1df5a912c [host]linux: type file changed. 2016-04-23 21:21:24 +09:00