ページの作成:「==オプション== ;-ely :To see every process on the system using standard syntax ;aux :To see every process on the system using BSD syntax」 |
|||
(同じ利用者による、間の7版が非表示) | |||
1行目: | 1行目: | ||
==オプション== | ==オプション== | ||
;- | ;-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 |
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