1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-05-10 19:29:14 +08:00

649 Commits

Author SHA1 Message Date
WAKAYAMA shirou
d9e994bec8 [host]freebsd: update freebsd_amd64 2016-04-23 23:10:23 +09:00
shirou
d8317f10e9 Merge pull request #190 from shirou/update_host_type_linux
Update host type linux
2016-04-23 22:42:49 +09:00
Shirou WAKAYAMA
ce98590a35 [host]linux: forgot to add sizeOfUtmp. 2016-04-23 22:18:34 +09:00
Shirou WAKAYAMA
15ff7e19df [host]linux: fix i386 and gofmt. 2016-04-23 21:34:27 +09:00
Shirou WAKAYAMA
b1df5a912c [host]linux: type file changed. 2016-04-23 21:21:24 +09:00
Shirou WAKAYAMA
9ef341037b [process]posix: update process signal document 2016-04-20 13:29:54 +09:00
Shirou WAKAYAMA
860f5a0803 [process]linux: update comment to show godoc.org. 2016-04-20 13:26:05 +09:00
Shirou WAKAYAMA
bd1b04fe67 [process]linux: add document to Status. 2016-04-20 12:59:18 +09:00
shirou
073079b672 Merge pull request #185 from freman/no-lsof-ppid
Remove the requirement to use lost for pid …
2016-04-18 16:36:22 +09:00
Shannon Wynter
f99d495462 Run goimports before committing... 2016-04-18 17:28:47 +10:00
Shannon Wynter
a4387d0c92 emulate original behaviour 2016-04-18 14:38:24 +10:00
Shannon Wynter
c903f14189 Remove the requirement to use lsof by using the information provided in status to get the parent pid 2016-04-18 11:15:15 +10:00
Shirou WAKAYAMA
f2ebb91cf0 [disk]darwin,freebsd: implements 'all' argument. 2016-04-16 22:43:55 +09:00
Shirou WAKAYAMA
ca99d7dc3f [disk]linux: implements 'all' argument. 2016-04-16 21:54:11 +09:00
Shirou WAKAYAMA
5daf090513 [cpu]linux: vendorId in cpuinfo is sometimes vendor_id. 2016-04-12 23:08:13 +09:00
Shirou WAKAYAMA
0787e8ba3e [host]linux-arm: update type_liux.go. Test will fail. 2016-04-10 10:07:35 +00:00
shirou
e8f7a95747 Merge pull request #177 from shirou/v2
change to version2 with many of incompatiblity.
v2.0.0
2016-04-07 15:55:32 +09:00
Shirou WAKAYAMA
1cc575dae3 remove gopkg.in from README. 2016-04-07 15:34:49 +09:00
Shirou WAKAYAMA
4c73e74c42 add helpful Makefile. 2016-04-01 22:28:17 +09:00
Shirou WAKAYAMA
adf2f03a48 fix build and path error 2016-04-01 22:28:07 +09:00
Shirou WAKAYAMA
bce9212def fix build bugs. 2016-04-01 22:22:03 +09:00
Shirou WAKAYAMA
d21ed2b40d search path via exec.LookPath before actual invoke. 2016-04-01 22:13:05 +09:00
Shirou WAKAYAMA
613a8a90e1 fixed by golint. 2016-04-01 21:34:39 +09:00
Shirou WAKAYAMA
944429d994 fixed by errcheck 2016-04-01 21:02:20 +09:00
Shirou WAKAYAMA
da89408631 Merge branch 'master' into v2 2016-03-31 18:08:24 +09:00
WAKAYAMA shirou
37d8908841 [process]freebsd: implementes proceess.Nice() 2016-03-31 17:34:09 +09:00
WAKAYAMA shirou
37b6b4051f [process]freebsd: process_freebsd_amd64.go is now generated by cgo godefs. 2016-03-31 17:19:49 +09:00
WAKAYAMA shirou
e5c53aa342 Merge branch 'master' of github.com:shirou/gopsutil 2016-03-31 15:41:59 +09:00
Shirou WAKAYAMA
15a7edb712 [process]linux: linux process status change to "R" not "Running" see #173 2016-03-27 21:54:02 +09:00
Shirou WAKAYAMA
4bb84648bf JSON representation is renamed to fit Google JSON style, camelCase. 2016-03-23 10:52:46 +09:00
Shirou WAKAYAMA
46ddd57c72 process has NetIOCounters and IOCounters. 2016-03-22 23:23:08 +09:00
Shirou WAKAYAMA
ea152ea901 [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters 2016-03-22 23:09:12 +09:00
Shirou WAKAYAMA
be06a94d44 fix the gopkgin versioning on README. 2016-03-22 21:55:16 +09:00
Shirou WAKAYAMA
70ba28090d add version 2 breaking change notification to README. 2016-03-22 21:51:43 +09:00
WAKAYAMA shirou
dc8b14acd5 [disk]freebsd: change to use C.sizeof_struct. 2016-03-20 22:48:17 +09:00
Shirou WAKAYAMA
1f32ce1bb3 [net]linux: skip if "/proc/sys/net" is not exists on test environment. 2016-03-15 22:47:56 +09:00
Shirou WAKAYAMA
fa3e1cc196 [common]linux: add HostEtc to switch '/etc' See #175. 2016-03-13 23:42:06 +09:00
shirou
4dfd293fa8 Merge pull request #169 from shirou/net/replace_lsof
[net]linux: start replacing lsof
2016-03-12 23:47:39 +09:00
Shirou WAKAYAMA
34b63e671b [net]linux: add a test and fix private field name. 2016-03-10 22:32:16 +09:00
Shirou WAKAYAMA
627d2a9871 [process]: fix CPU_Percent always 0 if duration > 0 (#172) 2016-03-09 10:09:27 +09:00
Shirou WAKAYAMA
567da004c5 [net]linux: explicit skip CI. 2016-03-06 00:02:06 +09:00
Shirou WAKAYAMA
32fa88eb49 [net]linux: TestGetProcInodes will fail on CI. 2016-03-05 23:57:18 +09:00
Shirou WAKAYAMA
31439aa6b5 [net]linux: fix valious bugs in NetConnections. 2016-03-05 23:53:32 +09:00
Shirou WAKAYAMA
e4ddff09d5 [net]linux: add process_unix for NetConnections. 2016-03-05 22:24:26 +09:00
Shirou WAKAYAMA
32c62b5d48 [net]linux: implement processInet(). 2016-03-04 23:42:22 +09:00
Shirou WAKAYAMA
715c421b57 [process]: add OpenFiles() test. 2016-03-04 09:42:40 +09:00
shirou
24e2746d13 Merge pull request #171 from raviparimi/make-slice-errors
Provide correct length for slice creation.
2016-03-04 09:34:04 +09:00
raviparimi
be2dab5a40 Provide correct length for slice creation.
- 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).
2016-03-03 15:10:23 -08:00
shirou
a0cf924cac Merge pull request #170 from vecmezoni/fd-close
NewProcess does not close file descriptor
2016-03-03 09:48:12 +09:00
Alexander Inozemtsev
f4902fae49 Properly close opened file 2016-03-02 18:19:52 +03:00