Commit Graph

952 Commits (565f5c8c5e5f8cf2f8a92cf9375f2f1c0e3ea034)
 

Author SHA1 Message Date
shirou 14f42a28f1 Merge pull request #231 from msingle/patch-1
Fix typo
9 years ago
Matt Singletary 072f1a3574 Fix typo
misspelling of family in 'platformfamiliy'
9 years ago
shirou ca63fa830d Merge pull request #228 from sean-/master
Correctly detect host Procs on all platforms.
9 years ago
Sean Chittenden 4f79984afe
Remove redefined import name for common. 9 years ago
Sean Chittenden e0b5f86113
Spell `error` like `err`. *facepalm* 9 years ago
Sean Chittenden a3f57b1314
Resolve cyclic import and create a common helper func, NumProcs() 9 years ago
Sean Chittenden fcd296ea11
Merge branch 'master' of github.com:shirou/gopsutil 9 years ago
Sean Chittenden 69f7f8eaeb
Update host.Info() to return the number of processes on all platforms.
Fixes: #227
9 years ago
Shirou WAKAYAMA 2728d81cde copied from golang LICENSE. 9 years ago
shirou bbb9025bfa Merge pull request #222 from diptanu/master
Casting the values of working set and page file to uint64
9 years ago
Diptanu Choudhury af4c8608c9 Casting the values of working set and page file to uint64 9 years ago
shirou 5c1bfed855 Merge pull request #219 from sean-/freebsd-cpu-info
Improve FreeBSD's CPU InfoStat collection
9 years ago
Sean Chittenden 14b2ce8b81
Don't be lossy re: CPU model number. 9 years ago
Sean Chittenden 606680edc5
Improve the accuracy of CPU detection on FreeBSD. 9 years ago
shirou 22a03b5be3 Merge pull request #218 from zstyblik/patch-1
Fix typos in README.rst
9 years ago
Zdenek Styblik c184d5359e Fix typos in README.rst
Commit fixes some typos in README.rst
9 years ago
shirou 1a490a2491 Merge pull request #217 from sandlbn/master
[net]linux Add support for linux net interface fifo errors
9 years ago
shirou 93e9068485 Merge pull request #216 from zstyblik/add-documentation
[disk]linux: add documentation for GetDiskSerialNumber()
9 years ago
sandlbn 480ccb89e1 Added support for linux net interface fifo errors 9 years ago
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
9 years ago
Shirou WAKAYAMA dd9b50926c [host]linux: add coreos to Info() and Virtualization(). 9 years ago
Shirou WAKAYAMA c916da2502 [process]linux: add linux_arm64.go explicitly 9 years ago
WAKAYAMA Shirou 53406b2832 [host]Windows: BootTime and Uptime are reversed on Windows. 9 years ago
Shirou WAKAYAMA e9afb36ccf [host] linux: detect docker and rkt correctly 9 years ago
Shirou WAKAYAMA c0d1185809 [host]linux: add alpine linux to detect host.Info(). 9 years ago
shirou 586bb697f3 Merge pull request #207 from sparrc/diskstats-panic-fix
Fix potential panic in linux disk IO counters
9 years ago
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
9 years ago
shirou ddc9f5a41c Merge pull request #205 from vrecan/calc_cpu_percent
Calc cpu percent using last variables if interval of 0 is given
9 years ago
Ben Aldrich 9dbebcf46e rename ALL to all 9 years ago
Ben Aldrich a76195e088 fixed imports and spelling error 9 years ago
Ben Aldrich c36f7ac8b0 rename var 9 years ago
Ben Aldrich fcc1747d9f Merge branch 'master' of https://github.com/shirou/gopsutil into calc_cpu_percent
Conflicts:
	cpu/cpu.go
9 years ago
Ben Aldrich c389989453 calculate cpu percentage compared to last call if 0 interval is given 9 years ago
shirou 6e9b0bbb1b Merge pull request #197 from shirou/process/add_memory_windows
Process/add memory windows
9 years ago
shirou 83c6e72cbd Merge pull request #203 from shirou/add_timeout_and_change_to_use_invoker
add Timeout to invoke command and use common.Invoke
9 years ago
Sean Chittenden d2ca7e8d2c
Remove redundant build tag 9 years ago
Shirou WAKAYAMA 1d461a68b6 [process]linux: porcess was not started. 9 years ago
Shirou WAKAYAMA 57f6aebc7e add Timeout to invoke command and use common.Invoke refs: #201 9 years ago
shirou bae75faa5a Merge pull request #200 from azinman/master
Fix compile errors for iOS/arm64
9 years ago
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).
9 years ago
shirou 99fb4dce54 Merge pull request #199 from gnhuy91/patch-1
make 'alternative location' in Usage section more readable
9 years ago
Huy Giang 7bf614d799 make 'alternative location' in Usage section more readable 9 years ago
Shirou WAKAYAMA 7b991b8135 add `requirement` to README.rst. 9 years ago
WAKAYAMA Shirou ba34a3af8c [process]windows: add IO counters and fix CreateTime 9 years ago
WAKAYAMA Shirou 903277ce2f [process]windows: implement process.MemoryInfo (but no swap) 9 years ago
shirou cf454998dc Merge pull request #194 from discordianfish/fish/add-arm64
Add type definitions for arm64 and ppc64le
9 years ago
shirou 5caae7e663 Merge pull request #192 from shirou/docker/add_CgroupDockerStat
[docker]linux: add CgroupDockerStat (#189)
9 years ago
Johannes 'fish' Ziemke 2a69690d62 Add type definitions for arm64 and ppc64le 9 years ago
Shirou WAKAYAMA 97e1d05084 [docker]linux: add CgroupDockerStat (#189) 9 years ago
shirou f8c7af5565 Merge pull request #191 from shirou/host/update_freebsd_type
Host/update freebsd type
9 years ago