- 22 3月, 2016 2 次提交
-
-
由 Shirou WAKAYAMA 提交于
-
由 Shirou WAKAYAMA 提交于
-
- 15 3月, 2016 1 次提交
-
-
由 Shirou WAKAYAMA 提交于
-
- 13 3月, 2016 1 次提交
-
-
由 Shirou WAKAYAMA 提交于
-
- 12 3月, 2016 1 次提交
-
-
由 shirou 提交于
[net]linux: start replacing lsof
-
- 10 3月, 2016 1 次提交
-
-
由 Shirou WAKAYAMA 提交于
-
- 09 3月, 2016 1 次提交
-
-
由 Shirou WAKAYAMA 提交于
-
- 05 3月, 2016 4 次提交
-
-
由 Shirou WAKAYAMA 提交于
-
由 Shirou WAKAYAMA 提交于
-
由 Shirou WAKAYAMA 提交于
-
由 Shirou WAKAYAMA 提交于
-
- 04 3月, 2016 4 次提交
-
-
由 Shirou WAKAYAMA 提交于
-
由 Shirou WAKAYAMA 提交于
-
由 shirou 提交于
Provide correct length for slice creation.
-
由 raviparimi 提交于
- Creating a slice of length numFDs and later appending elements to it results in a slice whose first numFDs elements are all nil. It is sufficient to create a slice of zero length since we are appending elements to it. - The current allocation will make ret a slice of length 0. What's needed is a slice of length len(ofs).
-
- 03 3月, 2016 1 次提交
-
-
由 shirou 提交于
NewProcess does not close file descriptor
-
- 02 3月, 2016 1 次提交
-
-
由 Alexander Inozemtsev 提交于
-
- 01 3月, 2016 1 次提交
-
-
由 Shirou WAKAYAMA 提交于
-
- 29 2月, 2016 4 次提交
-
-
由 Shirou WAKAYAMA 提交于
-
由 shirou 提交于
process: add CmdlineSlice function for linux + freebsd
-
由 Chris Gilling 提交于
darwin will not perform correctly if there are spaces in the actual arguments, in which case a single argument will be reported as multple. Some CGO would be needed to get around this I think. I couldn't find any good documentation on how windows handles command line arguments with spaces inside the actual arguments, so this implementation merely just splits on spaces.
-
由 shirou 提交于
process: change linux NewProcess to only stat /proc/[pid]
-
- 28 2月, 2016 3 次提交
-
-
由 Chris Gilling 提交于
Before it was doing a fillFromStatus() call which was much slower and none of the information was needed, except by the Name() func which now will call fillFromStatus() if p.name is not set.
-
由 Chris Gilling 提交于
Sometimes (at least on linux) cmdline is empty, this was causing a panic.
-
由 Chris Gilling 提交于
This allows for getting more exact information about each argument especially if there are arguments that have spaces in them. This was not implemented for darwin or for windows because they both currently have not way of properly parsing the cmdline string. Darwin parses the output of 'ps' which is already whitespace segmented, and windows just has the cmdline string.
-
- 27 2月, 2016 1 次提交
-
-
由 shirou 提交于
[load]all: add Misc in load to get miscellaneous host info from /proc…
-
- 24 2月, 2016 2 次提交
-
-
由 shirou 提交于
Add test for process.CPUTimes()
-
由 Johan Walles 提交于
-
- 23 2月, 2016 1 次提交
-
-
由 Shirou WAKAYAMA 提交于
-
- 22 2月, 2016 7 次提交
-
-
由 shirou 提交于
Document + add tests for for mem.VirtualMemory()
-
由 Johan Walles 提交于
-
由 Johan Walles 提交于
-
由 Johan Walles 提交于
-
由 Johan Walles 提交于
-
由 Johan Walles 提交于
-
由 Johan Walles 提交于
This change changes and documents the (previously undocumented) behavior of Used to "RAM used by programs". We also remove the undocumented and unused Shared field of that struct. So with this change in place, the VirtualMemoryStruct contains: * three human-consumable fields for Total, Used and Available memory * one human-consumable UsedPercentage field * a number of kernel specific fields
-
- 21 2月, 2016 2 次提交
-
-
由 shirou 提交于
Use OS calls rather than exec() to get memory stats on Darwin
-
由 Johan Walles 提交于
-
- 20 2月, 2016 2 次提交
-
-
由 Shirou WAKAYAMA 提交于
-
由 Shirou WAKAYAMA 提交于
-