Commit Graph

378 Commits

Author SHA1 Message Date
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
Shirou WAKAYAMA 515398a6f6 host: Boottime return type was wrong on darwin #40 2015-03-12 09:24:27 +09:00
Shirou WAKAYAMA 170390c0df cpu: fix build option on unix. 2015-03-11 23:06:00 +09:00
WAKAYAMA Shirou ead8393137 cpu: use wmic to get CPU usage on Windows. 2015-03-11 23:00:06 +09:00
Shirou WAKAYAMA 1851e63d38 process: callPs can get from all process and Ppid() uses ps command on darwin. 2015-03-11 11:38:02 +09:00
Shirou WAKAYAMA 6227460dc5 process: if pid < 0, skip it. and Cmdline retruned Joined string. 2015-03-11 11:19:19 +09:00
WAKAYAMA Shirou 19e34cf385 process: test pid is wrong in Windows. 2015-03-07 22:06:52 +09:00
WAKAYAMA Shirou ec2b509dda cpu: skip percpu percent test if windows. Windows can only get one CPU info currently. 2015-03-07 21:52:43 +09:00
Shirou WAKAYAMA ae3b0a48f4 process: commented out CPUPercent due to fail on drone.io. 2015-03-06 13:12:54 +09:00
Shirou WAKAYAMA f80276597c oops 2015-03-06 12:57:07 +09:00
Shirou WAKAYAMA 2342350766 process: fix for drone.io test. 2015-03-06 12:55:41 +09:00
Shirou WAKAYAMA 3ce89ce0c9 process: fix linux testing. 2015-03-06 12:07:28 +09:00
Shirou WAKAYAMA e39f17afd7 process: fix process status parsing. 2015-03-06 12:07:05 +09:00
若山史郎 9d38e5c995 process: add meminfo, cmdline on darwin. 2015-03-06 11:02:59 +09:00
若山史郎 20c3ddbfe5 process: fix darwin kinfo_proc struct and introduce creation by godef. 2015-03-06 10:05:58 +09:00
Shirou WAKAYAMA c61c09295c process: delete CPUPercent on the every architecture dependent part. 2015-03-04 00:04:29 +09:00
Shirou WAKAYAMA 2093d43c2a process: implement cpu_percent on linux. 2015-03-04 00:02:09 +09:00
若山史郎 e71113cffd change darwin process support status to broken.
using godef breaks process information on darwin. I am tackling to fix it.
2015-03-02 23:29:25 +09:00
若山史郎 d1b9134c32 process: use syscall in common on darwin 2015-03-01 22:29:37 +09:00
若山史郎 cea341c690 mem: add 0 check to darwin.swapmem. 2015-02-26 16:23:35 +09:00
WAKAYAMA Shirou 9569e2389c Merge branch 'master' of https://github.com/shirou/gopsutil 2015-02-23 21:20:37 +09:00