Commit Graph

414 Commits (cbd943016aaf7160224dbf4ebfc79cfc48ac32ac)
 

Author SHA1 Message Date
WAKAYAMA Shirou cbd943016a process[windows]: implement CreateTime. 10 years ago
WAKAYAMA Shirou 4696985e84 cpu[windows]: skip if could not get cpu.LoadPercentage. 10 years ago
WAKAYAMA shirou bb04b692c3 disk[freebsd]: update devstat mib. 10 years ago
WAKAYAMA shirou 6365c902e7 disk[freebsd]: fix typo. 10 years ago
shirou af29b38440 Merge pull request #69 from vrecan/fix_build
Fix windows compile issues
10 years ago
Ben Aldrich 85a89e707b fix compile fail 10 years ago
Shirou WAKAYAMA 47f6760cf3 cpu[darwin]: use CGO to get CPUTimes. This is breaking. see #66. 10 years ago
shirou 3c958a8ee6 Merge pull request #60 from mayowa/master
Bug fix and HostStatInfo.Platform* windows implementation
10 years ago
mayowa bf16d0a6a7 modified PlatformVersion and PlatformFamily string to (somewhat) match the output from sysinfo 10 years ago
mayowa 6fa0704dbf fixed: ProcessorId doesnt return a value 10 years ago
shirou 3a625ab13f Merge pull request #64 from influxdb/master
Fix memory reporting for linux systems
10 years ago
Cameron Sparr 1a037fddb1 Fix disk usage stats for windows 10 years ago
Cameron Sparr ce70817f55 Fix memory reporting for linux systems
/proc/meminfo reports memory in KiloBytes and so needs a multiplier of
1024 instead of 1000.
The kernel reports in terms of pages and the proc filesystem is left
shifting by 2 for 4KB pages to get KB. Since this is a binary shift,
Bytes will need to shift by 10 and so get multiplied by 1024.

From the kernel code. PAGE_SHIFT = 12 for 4KB pages
"MemTotal:       %8lu kB\n", K(i.totalram)

Thanks to @subhachandrachandra!
10 years ago
Shirou WAKAYAMA 0d7ff2eb40 cpu[darwin]: convert cpu frequency to Mhz. 10 years ago
shirou b1a93c4e33 Merge pull request #61 from cbednarski/f-darwin-cpu
Read Darwin CPU frequency from sysctl hw.cpufrequency
10 years ago
Chris Bednarski d5fa4f880f Read Darwin CPU frequency from sysctl hw.cpufrequency 10 years ago
mayowa ee43e655c2 implemented GetPlatformInfo and refactored HostInfo() to use it 10 years ago
mayowa 56d70ecc5e implemented HostStatInfo.Platform* for windows 10 years ago
mayowa 7889ce3e03 changed ProccessorId type to *string, cause wmi sometimes returns nil for it 10 years ago
mayowa 6a2bc5afe8 removed l2CacheSize as its not present in all wmi databases 10 years ago
shirou c715bd1b0b Merge pull request #59 from mjkim/master
return value of "sysctl hw.memsize" is memory size in bytes.
10 years ago
Myungjun Kim c5b94d3e4c memory[darwin]: return value of "sysctl hw.memsize" is memory size in bytes. 10 years ago
WAKAYAMA shirou c64c974c1a Merge branch 'master' of github.com:shirou/gopsutil 10 years ago
WAKAYAMA shirou abb4086531 host[freebsd]: change to use utmpx for 9.0 or later. 10 years ago
Shirou WAKAYAMA 59c4b4ca75 disk[linux]: fix fstype map. 10 years ago
Shirou WAKAYAMA 7fb126f1bf disk[linux]: fix fstype dup. 10 years ago
Shirou WAKAYAMA ad6c3f60a7 disk[freebsd,darwin,windows]: add fstype to DiskUsageStat. 10 years ago
Shirou WAKAYAMA 1223e28905 docker[linux]: change docker error valiable and add cgroup error. 10 years ago
shirou a365e17869 Merge pull request #58 from influxdb/docker-non-linux
Allow gopsutil docker to build on non-linux boxes by stubbing out non…
10 years ago
Cameron Sparr 7a2d225b30 Allow gopsutil docker to build on non-linux boxes by stubbing out non-linux libraries 10 years ago
Shirou WAKAYAMA cbe10d6761 cpu[darwin]: move helper path to under the HOME dir. 10 years ago
Shirou WAKAYAMA c195d77ce3 cpu[darwin]: enable cpu helper only the environemnetal variable set. 10 years ago
Shirou WAKAYAMA 755d3a4119 cpu[darwin]: change default tick to 100. 10 years ago
Shirou WAKAYAMA 12843632ca cpu[darwin]: experimental implemtation to get CPU times on darwin. 10 years ago
Shirou WAKAYAMA 61cb121015 disk[unix]: fix free. 10 years ago
Shirou WAKAYAMA a9e65ec556 mem[darwin]: fix VirtualMem stat multiply. 10 years ago
Shirou WAKAYAMA a22c0c27d9 linux: fix ctime in linux. 10 years ago
Shirou WAKAYAMA feb4fc9706 docker: fix field name. 10 years ago
Shirou WAKAYAMA ba88128af1 host_linux: change some virtualization check StringsContains to StringsHas.` 10 years ago
Shirou WAKAYAMA b5ffc220a6 common: Rename StringContains to StringsContains and add StringsHas. 10 years ago
Shirou WAKAYAMA 9822959f18 LICENSE: fix program name. 10 years ago
Shirou WAKAYAMA 5854011870 cpu: Steal, Guest, and GuestNice are not divided by CPU_TICK. 10 years ago
WAKAYAMA shirou 4bc631921f cpu: fix command output trim problem. 10 years ago
Shirou WAKAYAMA 8c17a750c6 get CLOCK TICK by using getconf. 10 years ago
shirou 06a4ba734e Merge pull request #53 from ooclab/fix-cpu-stat
Fix interpretation error about /proc/stat
10 years ago
gwind a750762737 Fix interpretation error about /proc/stat 10 years ago
shirou 79f276e18a Merge pull request #52 from cornerot/patch-1
fix gosiger -> gosigar
10 years ago
cornerot 4048014170 fix gosiger -> gosigar 10 years ago
Shirou WAKAYAMA 0921e1f153 [linux] Process.CreateTime was returned msec, not sec. 10 years ago
Shirou WAKAYAMA 3bd9ace228 [linux] fix Host.BootTime(). It was seconds from Booted, not from epoch. 10 years ago