Commit Graph

757 Commits (2facc8e8ed346454611281476f2674c585a2e622)
 

Author SHA1 Message Date
James Lamb 001ff20588 Merge branch 'master' into add_netfilter
James Lamb 22f35fd518 add netfilter counter support
shirou fc932d9090 Merge pull request #121 from jimmidyson/stat-brackets-process-name
Handle process filenames with spaces in the name
Jimmi Dyson 7e4cef7a30 Handle process filenames with spaces in the name
Fixes #120
James Lamb dfff8af4df add nf_conntrack statistics to net_linux to query iptables/netfilter conntrack limits
Shirou WAKAYAMA 759e96ebaf Merge branch 'master' of github.com:shirou/gopsutil
Shirou WAKAYAMA 223c809234 disk[unix]: revert 61cb121. psutil uses Available as Free.
shirou 59c2eff5e8 Merge pull request #118 from okmeter/fix_disk_freebsd386
[disk] fix build for freebsd 386
Nikolay Sivko 46c34a9d1e [disk] fix build for freebsd 386
shirou 91e273aef0 Merge pull request #115 from okmeter/fix_swap_freebsd
[freebsd] fix SwapMemory for hosts without swap
Nikolay Sivko 075839d9f1 fix imports
shirou 3c39329606 Merge pull request #116 from okmeter/freebsd_proc_info
process[freebsd]: Cmdline, IOCounters, CPUTimes implemented
Nikolay Sivko 45dcaa3b91 process[freebsd]: Cmdline, IOCounters, CPUTimes implemented
Nikolay Sivko d4e648e253 [freebsd] fix SwapMemory for hosts without swap
shirou d49c4afc40 Merge pull request #96 from shirou/process/fix_openfiles
process[linux]: implements OpenFiles.
shirou 2d297dfb74 Merge pull request #113 from shirou/add_process_children
process[linux,freebsd,darwin]: implements Children using pgrep.
WAKAYAMA shirou 54a6c186c1 host[freebsd]: BREAKING CHANGE. Boottime() should return uint64 same as other.
Shirou WAKAYAMA 0afd653fab host[all]: fix #114 String() issue.
shirou b114432fbb Merge pull request #114 from sparrc/uptime-fix
Fix HostInfo.Uptime, which has been returning boot time
Cameron Sparr 444ee723c3 Fix HostInfo.Uptime, which has been returning boot time
Also adding a HostInfo.BootTime field for holding the boot time
Shirou WAKAYAMA dd13300833 process[linux,freebsd,darwin]: implements Children using pgrep.
shirou dcbb29ae2d Merge pull request #110 from shirou/add_mems_to_docker
docker[linux]: add more memory stats in cgroup.
Shirou WAKAYAMA 40bbba9636 docker[linux]: add more memory stats in cgroup.
shirou 4e774eabc2 Merge pull request #109 from influxdb/nc-net-snmp
Add system wide network protocol stats
Nathaniel Cook da832b3f12 add system wide network protocol stats
shirou 4cd10805e9 Merge pull request #106 from cgeoffroy/docker/fix_hardcoded_path
docker: fix static /sys paths by using env variables
cgeoffroy 40f6755c6b docker: fix static /sys paths by using env variables
shirou b9ba9bfee8 Merge pull request #105 from kardianos/fix_cores
cpu: CPUInfo returns one item per physical thread.
Daniel Theophanes fa7f8ba4e8 cpu: CPUInfo returns one item per physical thread. Fix "Cores" to 1 on Linux.
Fixes #104
shirou 127599b2cf Merge pull request #103 from kardianos/cpu_test
Cpu test
Daniel Theophanes bc6481f7e0 Merge branch 'master' of https://github.com/shirou/gopsutil into cpu_test
Shirou WAKAYAMA 7288e9a5af common[all]: add internal
shirou 72109c3d21 Merge pull request #102 from kardianos/common_internal
Common internal
shirou e7d2b34f97 Merge pull request #98 from kardianos/cpu_arm
cpu: support ARM CPUs.
Daniel Theophanes 726e7c6406 cpu: fix cpu test on small ARM device where CPU can be at 100%+rounding.
Fixes #99
Daniel Theophanes 0af895258e common: rename package common to internal/common. Add ENV helper funcs.
Package common wasn't used for public functions. Place it in an
internal directory to prevent other packages from using.

Remove the distributed references to "HOST_PROC" and "HOST_SYS"
consts and combine into a common function. This also helps so that
if a env var is defined with a trailing slash all will continue to
work as expected.

Fixes #100
Daniel Theophanes 69221741e8 cpu: allow override of /sys dir. Fix CPUInfo /proc + cpuinfo combine.
Daniel Theophanes ab2cba55ee Merge branch 'master' of https://github.com/shirou/gopsutil into cpu_arm
shirou 1e9aabb3c8 Merge pull request #97 from jchauncey/issue-94
chore(*): Fixes #94
Daniel Theophanes 9f2e6a74cc cpu: support ARM CPUs.
ARM CPUs don't include the same fields as  x86 and amd64 CPUs in
the /proc/cpuinfo list. Pull information from the /sys/...
device tree as well as updating when a CPU is done in cpuinfo.

Fixes #88
Jonathan Chauncey 0461c50666 chore(*): Fixes #94
Added the ability to fetch an alternative location for /proc via an
environment variable. If the env var is not set it will return /proc as
the default value.
Shirou WAKAYAMA 42af4a3e60 process[linux]: implements OpenFiles.
Shirou WAKAYAMA 8f48da88ea update README
Shirou WAKAYAMA 202a805f46 mem[darwin]: fix printf verb.
shirou 7f6e8da3d0 Merge pull request #91 from client9/master
shirou/gopsutil#90 make hostinfo more robust
Nick Galbreath 99d93f93b2 shirou/gopsutil#90 make hostinfo more robust
shirou 6a274c3628 Merge pull request #89 from shirou/separetes_cgo_on_darwin
cpu[darwin]: separetes cpu_darwin into cgo and nocgo to get CPUTimes.
Shirou WAKAYAMA 6e3f81ce18 net[linux]: fix lsof output
Shirou WAKAYAMA 5ae4dcc8ba net[linux]: fix lsof output in linux when no pid outputed.
Shirou WAKAYAMA 93e226a5e3 net[freebsd,linux,darwin]: merge unix like OSes.