-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprocess_testdata_test.go
More file actions
64 lines (62 loc) · 1.06 KB
/
process_testdata_test.go
File metadata and controls
64 lines (62 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package procinfo
// +build linux darwin
var Testdata_Process = []Process{
{
Pid: 5623,
OriginalName: "slack",
State: 'S',
Cwd: "/proc/lol/fd",
PPid: 2770,
UserTime: 1,
KernelTime: 286,
Nice: 20,
Cmdline: []string{"/usr/lib/slack/slack"},
Env: []string{
"slack",
"",
"",
"\n",
},
},
{
Pid: 5705,
OriginalName: "chrome",
State: 'S',
Cwd: "/proc/5715/fdinfo",
PPid: 5680,
UserTime: 0,
KernelTime: 2,
Nice: 20,
Cmdline: []string{
"/opt/google/chrome/chrome --type=zygote --enable-crash-reporter=4d5673fa-4274-4096-a4f8-0c3f692622fa,",
"",
},
Env: []string{
"",
"",
"",
"",
"",
"\n",
},
},
{
Pid: 8819,
OriginalName: "code",
State: 'S',
Cwd: "/proc/notthere",
PPid: 1,
UserTime: 1,
KernelTime: 578,
Nice: 20,
Cmdline: []string{"/usr/share/code/code .", ""},
Env: []string{
"",
"",
"",
"",
"",
"\n",
},
},
}