Commit Graph

502 Commits (759e96ebaffb01c3cba0e8b129ef29f56507b323)
 

Author SHA1 Message Date
shirou 4a0ce1d13e Merge pull request #33 from codeskyblue/master
change cpu_linux.go: on some android, runtime.NumCPU() will not return r...
codeskyblue 3b43a3f496 change cpu_linux.go: on some android, runtime.NumCPU() will not return right number of cpu cores
shirou df6dbdd1dc Merge pull request #32 from brunoqc/patch-1
README: highlight the example's code
Bruno Bigras a0eef8dfe9 README: highlight the example's code
Shirou WAKAYAMA 1f5941f396 add doc.go as placeholder to top.
Shirou WAKAYAMA 3ff690d1d8 make single network interface about NetIOCounters on darwin and freebsd
Shirou WAKAYAMA 406cbe9b87 implements pernic of NetIOCounters.
Shirou WAKAYAMA a73ca04d3a update README
Shirou WAKAYAMA ce433bf86e Merge branch 'separate_directories'
Conflicts:
	README.rst
Shirou WAKAYAMA cfb473f810 host linux now use godefs.
WAKAYAMA shirou 64f1a93c00 forget to add.
WAKAYAMA shirou b0c9f81246 host_freebsd now use godefs
Shirou WAKAYAMA 4973aa73f9 start to use godefs to get C structs.
Shirou WAKAYAMA 13cd195a7e change package name.
Shirou WAKAYAMA 4ff6a1cdc0 update README about disk_partitions of darwin
Shirou WAKAYAMA e9d79d2fc4 disk_darwin is backported with 1.3 frozen syscall.
Shirou WAKAYAMA 3f7769ccfa implement disk_partition of Darwin using golang.org/x/sys/unix.
Shirou WAKAYAMA c0338e392f fix README
Shirou WAKAYAMA 2efdb23875 add 1.4 notice.
Shirou WAKAYAMA b4355247d6 README update.
Shirou WAKAYAMA 8e2514d23a merge 9e216add90
Shirou WAKAYAMA 1cb67eb4c2 merge 039b9defab
Shirou WAKAYAMA 16de570414 merge 039b9defab
Shirou WAKAYAMA c348a399b0 merged 6e713f1469
Shirou WAKAYAMA 9e216add90 add Notice about package structure changed to README.
shirou 512ba09921 Merge pull request #29 from jamescun/master
Unify JSON tags to snake_case
James Cunningham bddb35d0c6
Updated Tests to snake_case
James Cunningham 039b9defab
Unified all structs json tags to snake_case
shirou 2b6366a26d Merge pull request #28 from def/master
[linux] fix /proc/net/dev parsing
WAKAYAMA Shirou 9f2c985a28 fix windows build.
Shirou WAKAYAMA a1c1d7b25f fix on Linux.
WAKAYAMA shirou d11680c773 fix bugs on FreeBSD.
Shirou WAKAYAMA a4671fcc2a move subdirectories. refer to issue #24
Nikolay Sivko 6e713f1469 [linux] fix /proc/net/dev parsing
shirou 2f128c3955 Merge pull request #27 from logavanc/master
Update README.rst
logavanc 7a3e3cad63 Update README.rst
Corrected spelling error.
shirou 0f9f812472 Merge pull request #26 from logavanc/master
Update README.rst
logavanc 5e5c9048d1 Update README.rst
Corrected some typos and grammer errors.
Tweaked a couple of small things for consistency (section title capitalization, etc.).
Corrected a misreference to an added function CPUInfo (the function returned a CPUInfoStat struct, but the actual function name is CPUInfo).
Shirou WAKAYAMA 5169be59e4 use 10microsend duration for CPUPercent test.
Shirou WAKAYAMA 6adc13e592 value check to avoid zero division error.
Shirou WAKAYAMA 7be5e618bc add a import.
shirou f4c7973669 Merge pull request #25 from KenjiTakahashi/cpu_percent
CPUTimes per cpu and CPUPercent
KenjiTakahashi 13e0d3433f CPUPercent
KenjiTakahashi ab23ece76e TODO: CPUTimes percpu for Windows
KenjiTakahashi d3206cbaf1 CPUTimes percpu for Darwin
KenjiTakahashi 0725331571 CPUTimes percpu for FreeBSD
KenjiTakahashi 1739d4640a CPUTimes percpu for Linux
KenjiTakahashi 58537fc519 readLinesOffsetN helper for reading only specific part of the file
Shirou WAKAYAMA 0fcf3154d3 fix error getting CPUInfo on darwin.
shirou 539c144016 Merge pull request #23 from def/master
[linux] fill SwapMemoryStat.Sin/Sout from /proc/vmstat