shirou
2f128c3955
Merge pull request #27 from logavanc/master
...
Update README.rst
2014-11-21 18:13:21 +09:00
logavanc
7a3e3cad63
Update README.rst
...
Corrected spelling error.
2014-11-20 10:06:06 -08:00
shirou
0f9f812472
Merge pull request #26 from logavanc/master
...
Update README.rst
2014-11-20 14:40:57 +09:00
logavanc
5e5c9048d1
Update README.rst
...
Corrected some typos and grammer errors.
Tweaked a couple of small things for consistency (section title capitalization, etc.).
Corrected a misreference to an added function CPUInfo (the function returned a CPUInfoStat struct, but the actual function name is CPUInfo).
2014-11-19 20:52:52 -08:00
Shirou WAKAYAMA
5169be59e4
use 10microsend duration for CPUPercent test.
2014-11-12 11:17:55 +09:00
Shirou WAKAYAMA
6adc13e592
value check to avoid zero division error.
2014-11-12 11:16:23 +09:00
Shirou WAKAYAMA
7be5e618bc
add a import.
2014-11-12 10:10:40 +09:00
shirou
f4c7973669
Merge pull request #25 from KenjiTakahashi/cpu_percent
...
CPUTimes per cpu and CPUPercent
2014-11-12 10:08:44 +09:00
KenjiTakahashi
13e0d3433f
CPUPercent
2014-11-08 22:43:32 +01:00
KenjiTakahashi
ab23ece76e
TODO: CPUTimes percpu for Windows
2014-11-08 22:43:32 +01:00
KenjiTakahashi
d3206cbaf1
CPUTimes percpu for Darwin
2014-11-08 22:43:32 +01:00
KenjiTakahashi
0725331571
CPUTimes percpu for FreeBSD
2014-11-08 22:43:32 +01:00
KenjiTakahashi
1739d4640a
CPUTimes percpu for Linux
2014-11-08 22:43:32 +01:00
KenjiTakahashi
58537fc519
readLinesOffsetN helper for reading only specific part of the file
2014-11-02 22:24:46 +01:00
Shirou WAKAYAMA
0fcf3154d3
fix error getting CPUInfo on darwin.
2014-11-02 18:29:12 +09:00
shirou
539c144016
Merge pull request #23 from def/master
...
[linux] fill SwapMemoryStat.Sin/Sout from /proc/vmstat
2014-11-02 18:23:00 +09:00
Nikolay Sivko
4fd429ca00
* fix IOCountersStat
2014-11-02 11:33:51 +03:00
Nikolay Sivko
28f9a28626
[linux] fill SwapMemoryStat.Sin/Sout from /proc/vmstat
2014-11-02 10:17:50 +03:00
shirou
4e06bc6ad3
Merge pull request #21 from elementai/swap-from-proc-pid-status
...
Add MemoryInfoStat to Process and fill it while reading /proc/<pid>/status
2014-10-23 15:08:27 +09:00
shirou
4338d0b15b
Merge pull request #20 from elementai/proc-smaps-skip-vmflags
...
skip VmFlags field when reading /proc/<pid>/smaps
2014-10-23 14:50:55 +09:00
Dmitry Medvedev
bd7243763c
add memInfo *MemoryInfoStat to Process struct, fill memInfo while reading /proc/<pid>/status, Process.MemoryInfo() returns memInfo
2014-10-22 19:58:39 +04:00
Dmitry Medvedev
28205c016b
skip VmFlags field when reading /proc/<pid>/smaps
2014-10-22 16:12:07 +04:00
shirou
dacd8155b5
Merge pull request #18 from def/master
...
disk usage in bytes
2014-10-17 11:43:39 +09:00
Nikolay Sivko
956cae2720
unix disk usage in bytes
2014-10-10 12:09:36 +04:00
shirou
ec46fb3a94
Merge pull request #17 from slank/CPUPpercent-typo
...
Fix typo
2014-09-25 13:48:19 +09:00
Matthew Wedgwood
fa4b2957ee
Fix typo
2014-09-24 21:36:06 -07:00
Shirou WAKAYAMA
9a928183a7
sorry, I committed an old file.
2014-09-22 16:40:07 +09:00
Shirou WAKAYAMA
9dbd4898b2
add SerialNumber to DiskIOCounterStat.
2014-09-22 16:35:47 +09:00
Shirou WAKAYAMA
6f9abdb869
fix cpu info outofrange error on darwin.
2014-09-20 10:38:21 +09:00
shirou
0cdfc73bfa
Merge pull request #16 from shirou/errorhandling
...
Errorhandling
2014-09-20 10:24:35 +09:00
WAKAYAMA shirou
9beacb51c5
fix error handling.
2014-09-20 10:22:41 +09:00
Shirou WAKAYAMA
a7a157d0f7
remove "mustParse" function on darwin.
2014-09-20 10:17:00 +09:00
Shirou WAKAYAMA
2cc4321636
fix darwin netstat format parsing error.
2014-09-20 10:16:30 +09:00
Shirou WAKAYAMA
b9702ac266
fix getPagesize parse error.
2014-09-20 09:37:02 +09:00
Shirou WAKAYAMA
f53c682823
fix darwin mem_swap parse error.
2014-09-20 09:30:14 +09:00
WAKAYAMA Shirou
b2dc569885
refactoring.
2014-09-20 00:23:33 +09:00
WAKAYAMA shirou
90b8a2160b
remove mustParse on frebsd.
2014-09-20 00:15:35 +09:00
WAKAYAMA Shirou
a2d4c5dcb8
error handling in linux is now unsuppressed.
...
However, so many err check is introduced. Some refactoring is needed.
2014-09-19 22:41:29 +09:00
shirou
9d03533a0f
Merge pull request #14 from def/master
...
change NumCtxSwitchesStat fields to int64
2014-09-17 00:43:32 +09:00
Nikolay Sivko
e8c96ea07d
fix DiskIOCountersStat.iotime on linux
2014-09-16 14:08:52 +04:00
Nikolay Sivko
9e3563f8ca
change NumCtxSwitchesStat fields to int64
2014-09-13 00:29:54 +04:00
shirou
5a0ed0e6df
Merge pull request #13 from gronpipmaster/patch-1
...
Bug fixed division 0 in SwapMemory()
2014-09-10 18:21:31 +09:00
Gronpipmaster
2dd4a033d6
Bug fixed division 0 in SwapMemory()
2014-09-10 01:23:12 +07:00
shirou
35c5899e02
Merge pull request #12 from def/master
...
Process changes merged
2014-09-02 10:07:54 +09:00
Nikolay Sivko
ba82ea1c90
error handling in Process.fillFromStatus
2014-09-01 15:24:46 +04:00
Nikolay Sivko
1b8d61144d
fix Process.fillFromStatus
2014-08-31 14:46:23 +04:00
Nikolay Sivko
14a4d64f47
fix /proc/pid/statm parsing
2014-08-31 12:50:53 +04:00
Nikolay Sivko
7dc4b97c4f
fix Process.Cmdline on linux
2014-08-30 18:13:16 +04:00
Nikolay Sivko
2297579d67
Process.Username method for posix-compliant OS
2014-08-29 16:38:01 +04:00
WAKAYAMA Shirou
547d722aef
fix LoadAvg definition error on Windows.
2014-08-26 23:56:38 +09:00