crond スレッドが ps 出力で大文字で表示される
Issue
- RHEL6 の ps の出力で、
crond
スレッドの一部の定式が大文字で表示されるのはなぜですか? 同じ定式が、RHEL5 では小文字でした。RHEL 6 で、以下のコマンドを実行しました。
[root@localhost ~]# cron=$(</var/run/crond.pid)
[root@localhost ~]# pstree -pa | grep -A6 $cron
|-crond,10964
| |-crond,30684
| | `-crontest,30686 /root/crontest
| | `-sleep,30687 30m
| |-crond,30722
| | `-crontest,30724 /root/crontest
| | `-sleep,30725 30m
[root@localhost ~]# ps --ppid $cron --pid $cron
PID TTY TIME CMD
10964 ? 00:00:04 crond
30684 ? 00:00:00 crond
30722 ? 00:00:00 crond
[root@localhost ~]# ps -f --ppid $cron --pid $cron
UID PID PPID C STIME TTY TIME CMD
root 10964 1 0 Aug14 ? 00:00:04 crond
root 30684 10964 0 20:48 ? 00:00:00 CROND
root 30722 10964 0 20:49 ? 00:00:00 CROND
[root@localhost ~]# ps f --ppid $cron --pid $cron
PID TTY STAT TIME COMMAND
10964 ? Ss 0:04 crond
30684 ? S 0:00 \_ CROND
30722 ? S 0:00 \_ CROND
Environment
- Red Hat Enterprise Linux 6
- cronie crond
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.