Repository navigation
Expand file tree
/
Copy pathpgrep.json
More file actions
169 lines (169 loc) · 4.95 KB
/
Copy pathpgrep.json
File metadata and controls
169 lines (169 loc) · 4.95 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
Analyzing Binary: pgrep, Parent: None
AI Token Usage: {'prompt_tokens': 635, 'completion_tokens': 1026, 'total_tokens': 1661}
Analyzing Binary Version: pgrep
AI Token Usage: {'prompt_tokens': 62, 'completion_tokens': 13, 'total_tokens': 75}
{
"name": "pgrep",
"description": "For more details see pgrep(1).",
"usage": "pgrep [options] <pattern>",
"options": [
{
"option": "--delimiter",
"shortcut": "-d",
"description": "specify output delimiter",
"value": "<string>"
},
{
"option": "--list-name",
"shortcut": "-l",
"description": "list PID and process name"
},
{
"option": "--list-full",
"shortcut": "-a",
"description": "list PID and full command line"
},
{
"option": "--inverse",
"shortcut": "-v",
"description": "negates the matching"
},
{
"option": "--lightweight",
"shortcut": "-w",
"description": "list all TID"
},
{
"option": "--count",
"shortcut": "-c",
"description": "count of matching processes"
},
{
"option": "--full",
"shortcut": "-f",
"description": "use full process name to match"
},
{
"option": "--pgroup",
"shortcut": "-g",
"description": "match listed process group IDs",
"value": "<PGID,...>"
},
{
"option": "--group",
"shortcut": "-G",
"description": "match real group IDs",
"value": "<GID,...>"
},
{
"option": "--ignore-case",
"shortcut": "-i",
"description": "match case insensitively"
},
{
"option": "--newest",
"shortcut": "-n",
"description": "select most recently started"
},
{
"option": "--oldest",
"shortcut": "-o",
"description": "select least recently started"
},
{
"option": "--older",
"shortcut": "-O",
"description": "select where older than seconds",
"value": "<seconds>"
},
{
"option": "--parent",
"shortcut": "-P",
"description": "match only child processes of the given parent",
"value": "<PPID,...>"
},
{
"option": "--session",
"shortcut": "-s",
"description": "match session IDs",
"value": "<SID,...>"
},
{
"option": "--signal",
"description": "signal to send (either number or name)",
"value": "<sig>"
},
{
"option": "--terminal",
"shortcut": "-t",
"description": "match by controlling terminal",
"value": "<tty,...>"
},
{
"option": "--euid",
"shortcut": "-u",
"description": "match by effective IDs",
"value": "<ID,...>"
},
{
"option": "--uid",
"shortcut": "-U",
"description": "match by real IDs",
"value": "<ID,...>"
},
{
"option": "--exact",
"shortcut": "-x",
"description": "match exactly with the command name"
},
{
"option": "--pidfile",
"shortcut": "-F",
"description": "read PIDs from file",
"value": "<file>"
},
{
"option": "--logpidfile",
"shortcut": "-L",
"description": "fail if PID file is not locked"
},
{
"option": "--runstates",
"shortcut": "-r",
"description": "match runstates [D,S,Z,...]",
"value": "<state>"
},
{
"option": "--ignore-ancestors",
"shortcut": "-A",
"description": "exclude our ancestors from results"
},
{
"option": "--cgroup",
"description": "match by cgroup v2 names",
"value": "<grp,...>"
},
{
"option": "--ns",
"description": "match the processes that belong to the same namespace as <pid>",
"value": "<PID>"
},
{
"option": "--nslist",
"description": "list which namespaces will be considered for the --ns option. Available namespaces: ipc, mnt, net, pid, user, uts",
"value": "<ns,...>"
},
{
"option": "--help",
"shortcut": "-h",
"description": "display this help and exit"
},
{
"option": "--version",
"shortcut": "-V",
"description": "output version information and exit"
}
],
"subcommands": [],
"version": "4.0.4"
}