Lomanic
|
da37b31860
|
Create Github issue templates
|
6 years ago |
Lomanic
|
79f8a73e23
|
Fix #551 Filter out '_Total' results from PerfInfoWithContext and unexport this function
Also propagate context in perCPUTimes (renamed to perCPUTimesWithContext)
and unexport Win32_PerfFormattedData_Counters_ProcessorInformation.
|
6 years ago |
shirou
|
3ec50d2876
|
Merge pull request #595 from liu4480/dev
add CgroupCPUUsageDocker just like CgroupCPUDocker
|
6 years ago |
Lomanic
|
feffc5e3e1
|
Merge pull request #597 from liu4480/arg_in_lines
correct param in docker_linux.go for memory.stat
|
6 years ago |
Bin Liu
|
4ef2371dda
|
correct param in docker_linux.go for memory.stat
The version of docker on Ubuntu18.04 and Centos7 are old, and the
parameters in memory.stat on Ubuntu18.04 and Centos7 are as following:
cat /sys/fs/cgroup/memory/docker/33f962ca254969762d750ced9a97d8deef67535b96b1e8c17abd0939a3f2cbcf/memory.stat
cache 1110016
rss 413696
rss_huge 0
shmem 0
mapped_file 1015808
dirty 0
writeback 0
pgpgin 1610
pgpgout 1238
pgfault 1923
pgmajfault 12
inactive_anon 262144
active_anon 151552
inactive_file 0
active_file 1110016
unevictable 0
hierarchical_memory_limit 9223372036854771712
total_cache 1110016
total_rss 413696
total_rss_huge 0
total_shmem 0
total_mapped_file 1015808
total_dirty 0
total_writeback 0
total_pgpgin 1610
total_pgpgout 1238
total_pgfault 1923
total_pgmajfault 12
total_inactive_anon 262144
total_active_anon 151552
total_inactive_file 0
total_active_file 1110016
total_unevictable 0
this patch is for backward.
|
6 years ago |
Bin Liu
|
601dd00812
|
add CgroupCPUUsageDocker just like CgroupCPUDocker
|
6 years ago |
Nico Vinzens
|
453688f8c5
|
Merge pull request #1 from nvinzens/replace_self_mounts_with_self_mountinfo
replace self/mounts with self/mountinfo
|
7 years ago |
Nico Vinzens
|
1079f31626
|
change the way we handle the mountinfo lines
|
7 years ago |
Nico Vinzens
|
23dfe98621
|
use HostSys to construct device path
|
7 years ago |
Nico Vinzens
|
813c630e9c
|
replace self/mounts with self/mountinfo
|
7 years ago |
shirou
|
a11c78ba2c
|
Merge pull request #581 from CMGS/master
get docker container cpu usage from cpuacct.usage
|
7 years ago |
CMGS
|
80b3769ea3
|
not modify old API now
|
7 years ago |
shirou
|
77e5abb6f0
|
migrate to circleci2 (#587)
* add circleci 2.0 config, which has golang 1.9 image.
|
7 years ago |
shirou
|
e50c47b503
|
Merge pull request #528 from pytimer/win_services
[windows]services: add windows service feature
|
7 years ago |
shirou
|
6f5e32dd2f
|
Merge pull request #584 from Quasilyte/quasilyte/commentedOutCode
cpu,process: remove commented-out code
|
7 years ago |
shirou
|
62f689bda3
|
Merge pull request #576 from Lomanic/issue574
Fix #574
|
7 years ago |
shirou
|
50e1c3da5a
|
Merge pull request #575 from Lomanic/issue573
Fix #573
|
7 years ago |
Lomanic
|
3773c0ebf0
|
Merge pull request #583 from Quasilyte/quasilyte/emptyFallthrough
net: use multi-value case clause instead of fallthrough
|
7 years ago |
Iskander Sharipov
|
f3d4342c30
|
cpu,process: remove commented-out code
Found using https://go-critic.github.io/overview#commentedOutCode-ref
|
7 years ago |
Iskander Sharipov
|
3684fce88a
|
net: use multi-value case clause instead of fallthrough
Found using https://go-critic.github.io/overview#emptyFallthrough-ref
|
7 years ago |
CMGS
|
d93c01e54d
|
get docker container cpu usage from cpuacct.usage
|
7 years ago |
Lomanic
|
18b2744df2
|
[host][darwin] Fix #574, use 'uname -r' in KernelVersion()
|
7 years ago |
Lomanic
|
e38ea9f318
|
[process] Don't lose context in ProcessesWithContext() on Windows and Linux
|
7 years ago |
Lomanic
|
82b8111d04
|
[process][darwin] Fix #573 use Pids() to get processes in Processes()
|
7 years ago |
Lomanic
|
eb1f1ab16f
|
Merge pull request #549 from pytimer/win_net
[net] Implements windows net package Connections and ConnectionsPid
|
7 years ago |
Lomanic
|
ef54649286
|
[windows] Use windows.NewLazySystemDLL to (possibly) prevent DLL hijacking
Might be useless because of https://docs.microsoft.com/en-us/windows/desktop/dlls/dynamic-link-library-search-order#search-order-for-desktop-applications
but better be safe than sorry.
Ref: https://github.com/shirou/gopsutil/issues/570#issuecomment-413951653
|
7 years ago |
Tagir Bakirov
|
29b3c3719b
|
fix slice indices
|
7 years ago |
shirou
|
68ff0e2996
|
Merge pull request #566 from zyun-i/add_freebsd_mem_laundry
Add mem(laundry) numbers on FreeBSD.
|
7 years ago |
Isida Zyun'iti
|
bd7b2f8148
|
Add mem(laundry) numbers on FreeBSD.
After FreeBSD 11.1, mem number of cached replaced by laundry.
https://reviews.freebsd.org/D8302
|
7 years ago |
Tagir Bakirov
|
47166d6a81
|
implement grouped memorymaps output
|
7 years ago |
Isida Zyun'iti
|
48da6ade9e
|
Fix FreeBSD total memory.
Like this.
FreeBSD: fix total memory giampaolo/psutil@bd9a58b bd9a58b2af
|
7 years ago |
shirou
|
8048a2e9c5
|
[disk] add an comment.
|
7 years ago |
shirou
|
8b14be0b8b
|
Merge pull request #563 from tomekkolo/usedPercent_calculation_fix
Fixing calculation of UsedPercent.
|
7 years ago |
Tomasz Kolodziej
|
8e2d09ee63
|
Removed unnecessary line
|
7 years ago |
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.
|
7 years ago |
shirou
|
c06610bac7
|
Merge pull request #561 from szaydel/szaydel/add-stub-for-solaris
Fix undefined process.Processes when building telegraf on Solaris-based system
|
7 years ago |
shirou
|
c5575382be
|
Merge pull request #558 from ozairjr/slackware-version
Adding Slackware platform information
|
7 years ago |
Sam Zaydel
|
391d5ecf7d
|
Fix undefined process.Processes when building telegraf on Solaris-based system
|
7 years ago |
Ozair Jr
|
0bab9611d2
|
Adding Slackware platform information
|
7 years ago |
shirou
|
d9d9688f3d
|
Merge pull request #556 from Lomanic/winmemtest
[mem][windows] Fix TestVirtual_memory test
|
7 years ago |
shirou
|
ffda3675ce
|
Merge pull request #557 from Lomanic/issue555
[disk][unix] Fix #555 Unescape escaped sequences in fstab path in disk.Usage
|
7 years ago |
Lomanic
|
00bbeb757e
|
[disk][unix] Fix #555 Unescape escaped sequences in fstab path in disk.Usage
|
7 years ago |
pytimer
|
0ffcfc901f
|
[net][windows] Remove exported types and convert ALL_CAPS to mixedCaps
|
7 years ago |
pytimer
|
1c2cebbbc4
|
[net] Implements windows net package function Connections and ConnectionsPid
|
7 years ago |
Lomanic
|
6b586d2fcd
|
[mem][windows] Fix TestVirtual_memory test
|
7 years ago |
Lomanic
|
6ddbb8c5d8
|
[process][windows] Reuse Ppid() in Parent(), don't use slow wmi call
|
7 years ago |
Lomanic
|
bb518e9c4e
|
[host][windows] Remove exported wmi type from #550
|
7 years ago |
Lomanic
|
97b2ed891d
|
Merge pull request #550 from pytimer/win_temperature
[host] Implement windows temperature use wmi
|
7 years ago |
shirou
|
6b48f3bd01
|
[mem] fix test.
|
7 years ago |
shirou
|
4f442dad38
|
Merge pull request #553 from elboulangero/master
Fix TestVirtual_memory #552
|
7 years ago |