Translated message

A translation of this page exists in English.

ps 출력에서 crond 스레드가 대문자로 표시되는 이유

Solution In Progress - Updated -

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
  • Red Hat Enterprise Linux 7
  • cronie crond

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content