Commit Graph

36 Commits (4fd429ca00bf1ce7002ab04a848c0b4d277cdf65)

Author SHA1 Message Date
Nikolay Sivko 4fd429ca00 * fix IOCountersStat 11 years ago
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
11 years ago
Dmitry Medvedev bd7243763c add memInfo *MemoryInfoStat to Process struct, fill memInfo while reading /proc/<pid>/status, Process.MemoryInfo() returns memInfo 11 years ago
Dmitry Medvedev 28205c016b skip VmFlags field when reading /proc/<pid>/smaps 11 years ago
Matthew Wedgwood fa4b2957ee Fix typo 11 years ago
WAKAYAMA Shirou a2d4c5dcb8 error handling in linux is now unsuppressed.
However, so many err check is introduced. Some refactoring is needed.
11 years ago
Nikolay Sivko 9e3563f8ca change NumCtxSwitchesStat fields to int64 11 years ago
Nikolay Sivko ba82ea1c90 error handling in Process.fillFromStatus 11 years ago
Nikolay Sivko 1b8d61144d fix Process.fillFromStatus 11 years ago
Nikolay Sivko 14a4d64f47 fix /proc/pid/statm parsing 11 years ago
Nikolay Sivko 7dc4b97c4f fix Process.Cmdline on linux 11 years ago
Nikolay Sivko 2297579d67 Process.Username method for posix-compliant OS 11 years ago
Lukas Lueg 0d21129dc7 Rename idents to gofmt-specs 11 years ago
WAKAYAMA shirou 594816dd1f add NotImplementedError as fixed variable. 11 years ago
WAKAYAMA Shirou b1d963d5b0 rename parseFoo to mustParseFoo because these funcs are just a util func.
Such funcs should be panic if error occured, but not implemented yet.
11 years ago
Shirou WAKAYAMA 2ab7b00f2b implements Process.NumCtxSwitches() on linux. 11 years ago
Shirou WAKAYAMA b6b79b5b38 forget to implements String() 11 years ago
Shirou WAKAYAMA 02a91378b8 implements Process.IOCounters on linux. 11 years ago
WAKAYAMA shirou 0ab054c576 implements some Process funcs on freebsd. 11 years ago
Shirou WAKAYAMA d511748bfd golint on Linux 11 years ago
WAKAYAMA Shirou 9de8e26721 golint (not finished yet) 11 years ago
WAKAYAMA Shirou 1a820b9a10 add args which same as psutil. but has not implemented yet. 11 years ago
WAKAYAMA Shirou 5c8c707ddd return "not implemented yet" error instead of nil. 11 years ago
WAKAYAMA Shirou bc5f1da99d Process struct now has functions from members
NOTICE: THIS BREAKS API compatibirities.
11 years ago
Shirou WAKAYAMA db655861e3 implements Process.open_files on linux. 11 years ago
Shirou WAKAYAMA 400054f2f0 imeplements Process.Memory_Maps(). This is a function because map is very large. 11 years ago
Shirou WAKAYAMA a6e7b8261d implements process.exe on linux. 11 years ago
Shirou WAKAYAMA 51c2995c2b implement cwd on linux. 11 years ago
Shirou WAKAYAMA 2e50131db8 implement Process.Memory_info on linux. 11 years ago
Shirou WAKAYAMA 0dcaecbada implements Create_time of process_linux. 11 years ago
Shirou WAKAYAMA d5176e0c0b fix fillFunc is not called problem 11 years ago
Shirou WAKAYAMA 19f52ebbf6 use first-class funcs to fill Process information. 11 years ago
WAKAYAMA Shirou b12ec08970 gm fmt 11 years ago
WAKAYAMA Shirou 1703a5b606 implements some of process information on linux/amd64. 11 years ago
WAKAYAMA Shirou 40d30f8a28 change NewProcess return value to *Process. 11 years ago
Shirou WAKAYAMA bcb556f89f first commit of process in linux. 11 years ago