このコマンドの出力の一部はps -ef
次のとおりです。
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 2012 ? 00:00:01 init [3]
root 2 1 0 2012 ? 00:00:01 [migration/0]
root 3 1 0 2012 ? 00:00:00 [ksoftirqd/0]
root 4 1 0 2012 ? 00:00:00 [watchdog/0]
root 5 1 0 2012 ? 00:00:00 [events/0]
root 6 1 0 2012 ? 00:00:00 [khelper]
root 7 1 0 2012 ? 00:00:00 [kthread]
root 9 7 0 2012 ? 00:00:00 [xenwatch]
root 10 7 0 2012 ? 00:00:00 [xenbus]
root 18 7 0 2012 ? 00:00:01 [migration/1]
root 19 7 0 2012 ? 00:00:00 [ksoftirqd/1]
"?"
TTY列のすべての行はどういう意味ですか?また、C
合計CMD
列は何を表しますか?
ベストアンサー1
マンページビューを使用して、man ps
各列の意味を確認できます。ps
たとえば、Linuxのマンページでは次のようになります。
c C integer value of the processor utilisation percentage.
(see %cpu)
tname TTY controlling tty (terminal). (alias tt, tty).
args COMMAND command with all its arguments as a string. May chop as
desired. Modifications to the arguments are not shown.
The output in this column may contain spaces.
(alias cmd, command)
cmd CMD see args. (alias args, command)
これは、そのプロセスTTY
が?
どのユーザー端末にも接続されていないことを意味します。