快速业务通道

linux ps手册

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-04-28

139 x Lift the BSD-style "must have a tty" restriction, which is
140 imposed upon the set of all processes when some BSD-style
141 (without "-") options are used or when the ps personality
142 setting is BSD-like. The set of processes selected in this
143 manner is in addition to the set of processes selected by
144 other means. An alternate description is that this option
145 causes ps to list all processes owned by you (same EUID as
146 ps), or to list all processes when used together with the a
147 option.
148
149
150 --deselect Select all processes except those that fulfill the specified
151 conditions. (negates the selection) Identical to -N.
152
153
154
155 PROCESS SELECTION BY LIST
156 These options accept a single argument in the form of a blank-separated or
157 comma-separated list. They can be used multiple times.
158 For example: ps -p "1 2" -p 3,4
159
160
161 -C cmdlist Select by command name.
162 This selects the processes whose executable name is given in
163 cmdlist.
164
165
166 -G grplist Select by real group ID (RGID) or name.
167 This selects the processes whose real group name or ID is in
168 the grplist list. The real group ID identifies the group of
169 the user who created the process, see getgid(2).
170
171
172 U userlist Select by effective user ID (EUID) or name.
173 This selects the processes whose effective user name or ID is
174 in userlist. The effective user ID describes the user whose
175 file access permissions are used by the process
176 (see geteuid(2)). Identical to -u and --user.
177
178
179 -U userlist select by real user ID (RUID) or name.
180 It selects the processes whose real user name or ID is in the
181 userlist list. The real user ID identifies the user who
182 created the process, see getuid(2).
183
184
185 -g grplist Select by session OR by effective group name.
186 Selection by session is specified by many standards, but
187 selection by effective group is the logical behavior that
188 several other operating systems use. This ps will select by
189 session when the list is completely numeric (as sessions are).
190 Group ID numbers will work only when some group names are also
191 specified. See the -s and --group options.
192
193
194 p pidlist Select by process ID. Identical to -p and --pid.
195
196
197 -p pidlist Select by PID.
198 This selects the

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号