(同じ利用者による、間の5版が非表示) | |||
2行目: | 2行目: | ||
;-e | ;-e | ||
:Select all processes | :Select all processes | ||
;-l | |||
:Long format. The -y option is often useful with this. | |||
;-y | |||
:Do not show flags; show rss in place of addr | |||
;-f | ;-f | ||
:full-format listing | :full-format listing | ||
;-o | |||
:User-defined format. | |||
;-p | |||
:--pid | |||
;a | ;a | ||
:Lift the BSD-style "only yourself" restriction | :Lift the BSD-style "only yourself" restriction | ||
10行目: | 18行目: | ||
;x | ;x | ||
:Lift the BSD-style "must have a tty" restriction | :Lift the BSD-style "must have a tty" restriction | ||
$ ps -eo pid,comm | grep sshd | |||
589 sshd | |||
3620 sshd | |||
3634 sshd |
2019年3月9日 (土) 21:22時点における最新版
オプション
- -e
- Select all processes
- -l
- Long format. The -y option is often useful with this.
- -y
- Do not show flags; show rss in place of addr
- -f
- full-format listing
- -o
- User-defined format.
- -p
- --pid
- a
- Lift the BSD-style "only yourself" restriction
- u
- user-oriented format
- x
- Lift the BSD-style "must have a tty" restriction
$ ps -eo pid,comm | grep sshd 589 sshd 3620 sshd 3634 sshd