1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-05-02 22:17:08 +08:00

398 Commits

Author SHA1 Message Date
mayowa
ee43e655c2 implemented GetPlatformInfo and refactored HostInfo() to use it 2015-08-25 23:27:25 -07:00
mayowa
56d70ecc5e implemented HostStatInfo.Platform* for windows 2015-08-25 23:03:25 -07:00
mayowa
7889ce3e03 changed ProccessorId type to *string, cause wmi sometimes returns nil for it 2015-08-25 22:21:10 -07:00
mayowa
6a2bc5afe8 removed l2CacheSize as its not present in all wmi databases 2015-08-25 22:08:35 -07:00
shirou
c715bd1b0b Merge pull request #59 from mjkim/master
return value of "sysctl hw.memsize" is memory size in bytes.
2015-08-16 21:40:38 +09:00
Myungjun Kim
c5b94d3e4c memory[darwin]: return value of "sysctl hw.memsize" is memory size in bytes. 2015-08-16 16:32:53 +09:00
WAKAYAMA shirou
c64c974c1a Merge branch 'master' of github.com:shirou/gopsutil 2015-08-15 01:21:27 +09:00
WAKAYAMA shirou
abb4086531 host[freebsd]: change to use utmpx for 9.0 or later. 2015-08-15 01:20:56 +09:00
Shirou WAKAYAMA
59c4b4ca75 disk[linux]: fix fstype map. 2015-08-14 20:37:35 +09:00
Shirou WAKAYAMA
7fb126f1bf disk[linux]: fix fstype dup. 2015-08-14 18:18:34 +09:00
Shirou WAKAYAMA
ad6c3f60a7 disk[freebsd,darwin,windows]: add fstype to DiskUsageStat. 2015-08-14 18:08:43 +09:00
Shirou WAKAYAMA
1223e28905 docker[linux]: change docker error valiable and add cgroup error. 2015-08-07 10:16:06 +09:00
shirou
a365e17869 Merge pull request #58 from influxdb/docker-non-linux
Allow gopsutil docker to build on non-linux boxes by stubbing out non…
2015-08-07 07:56:35 +09:00
Cameron Sparr
7a2d225b30 Allow gopsutil docker to build on non-linux boxes by stubbing out non-linux libraries 2015-08-05 10:19:36 -06:00
Shirou WAKAYAMA
cbe10d6761 cpu[darwin]: move helper path to under the HOME dir. 2015-07-29 22:25:42 +09:00
Shirou WAKAYAMA
c195d77ce3 cpu[darwin]: enable cpu helper only the environemnetal variable set. 2015-07-25 12:49:02 +09:00
Shirou WAKAYAMA
755d3a4119 cpu[darwin]: change default tick to 100. 2015-07-24 15:01:22 +09:00
Shirou WAKAYAMA
12843632ca cpu[darwin]: experimental implemtation to get CPU times on darwin. 2015-07-24 14:49:35 +09:00
Shirou WAKAYAMA
61cb121015 disk[unix]: fix free. 2015-07-23 11:39:50 +09:00
Shirou WAKAYAMA
a9e65ec556 mem[darwin]: fix VirtualMem stat multiply. 2015-07-23 11:39:22 +09:00
Shirou WAKAYAMA
a22c0c27d9 linux: fix ctime in linux. 2015-07-23 11:38:47 +09:00
Shirou WAKAYAMA
feb4fc9706 docker: fix field name. 2015-07-23 11:24:45 +09:00
Shirou WAKAYAMA
ba88128af1 host_linux: change some virtualization check StringsContains to StringsHas.` 2015-07-21 15:42:27 +09:00
Shirou WAKAYAMA
b5ffc220a6 common: Rename StringContains to StringsContains and add StringsHas. 2015-07-21 15:25:04 +09:00
Shirou WAKAYAMA
9822959f18 LICENSE: fix program name. 2015-07-20 01:05:05 +09:00
Shirou WAKAYAMA
5854011870 cpu: Steal, Guest, and GuestNice are not divided by CPU_TICK. 2015-07-17 22:11:30 +09:00
WAKAYAMA shirou
4bc631921f cpu: fix command output trim problem. 2015-07-17 21:52:43 +09:00
Shirou WAKAYAMA
8c17a750c6 get CLOCK TICK by using getconf. 2015-07-17 21:46:26 +09:00
shirou
06a4ba734e Merge pull request #53 from ooclab/fix-cpu-stat
Fix interpretation error about /proc/stat
2015-07-16 00:42:48 +09:00
gwind
a750762737 Fix interpretation error about /proc/stat 2015-07-15 16:20:12 +08:00
shirou
79f276e18a Merge pull request #52 from cornerot/patch-1
fix gosiger -> gosigar
2015-07-09 22:40:27 +09:00
cornerot
4048014170 fix gosiger -> gosigar 2015-07-09 16:16:35 +03:00
Shirou WAKAYAMA
0921e1f153 [linux] Process.CreateTime was returned msec, not sec. 2015-06-19 12:05:07 +09:00
Shirou WAKAYAMA
3bd9ace228 [linux] fix Host.BootTime(). It was seconds from Booted, not from epoch. 2015-06-19 12:00:04 +09:00
shirou
c71f9ee5be Merge pull request #49 from databus23/suse_detection
Add SuSe platform detection
2015-06-18 19:34:21 +09:00
Fabian Ruff
91a97374c4 Add SuSe platform detection 2015-06-18 11:52:49 +02:00
shirou
ce904df577 Merge pull request #48 from hhatto/numthreads_on_macosx
implement NumThreads on darwin. use ps command
2015-06-16 23:09:23 +09:00
Hideo Hattori
4d4bd26b06 implement NumThreads on darwin. use ps command 2015-06-16 22:01:02 +09:00
shirou
72772e9a94 Merge pull request #47 from hhatto/cputimes_on_darwin
implement CPUTimes (and CPUPercent) on darwin. use ps command.
2015-06-15 21:45:52 +09:00
Hideo Hattori
6ec0f72a72 implement CPUTimes (and CPUPercent) on darwin. use ps command. 2015-06-15 16:35:52 +09:00
WAKAYAMA shirou
64357f04e7 use StackExchange/wmi instead of invoking wmic process.
Note: This may not work on some old Windows XP.
2015-04-20 00:05:31 +09:00
shirou
b55d373cee Merge pull request #45 from okmeter/master
disk_usage as in psutil & Process.NumFds() for linux
2015-04-09 10:54:28 +09:00
Nikolay Sivko
06282a319c [darwin] hw.memsize already in bytes 2015-04-08 14:53:21 +03:00
Nikolay Sivko
889c8c0bd5 enable Process.NumFds() for linux 2015-04-08 14:01:05 +03:00
Pavel Trukhanov
4f6e4f73f3 disk_usage as in psutil 2015-04-08 13:58:18 +03:00
WAKAYAMA Shirou
79f4358f65 process: Exe, Cmdline and Name implemented in windows by using wmic 2015-03-20 23:56:46 +09:00
WAKAYAMA Shirou
5f8b99aa65 windows: GetWmic returns [][]string where string split by "," 2015-03-20 22:48:58 +09:00
Shirou WAKAYAMA
1f5fdd1fba process: user and system should be divide by ClockTicks directly. 2015-03-17 17:04:31 +09:00
Shirou WAKAYAMA
8db78af11e process: CPUPercent delta should be changed by CPUNums. 2015-03-17 17:03:03 +09:00
Shirou WAKAYAMA
8f05d68a09 host: forget to convert to uint64. 2015-03-12 09:25:32 +09:00