cancel
Showing results for 
Search instead for 
Did you mean: 

PS out put bracket meaning

 
Arun K P
Occasional Contributor

PS out put bracket meaning

Dear team,

Please help me regarding one query,

ps -ef | more
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 04:37 ? 00:00:01 init [5]

root 2 1 0 04:37 ? 00:00:00 [migration/0]
root 3 1 0 04:37 ? 00:00:00 [ksoftirqd/0]
root 4 1 0 04:37 ? 00:00:00 [watchdog/0]
root 5 1 0 04:37 ? 00:00:00 [events/0]
root 6 1 0 04:37 ? 00:00:00 [khelper]


what mean by the bracket in the output of ps command

Thanks in advance..
7 REPLIES
P Muralidhar Kini
Honored Contributor

Re: PS out put bracket meaning

Hi Arun,

The entries in bracket correspond to the heading CMD.
For "ps -ef", it corresponds to the process that are running in the system.

Refer the following link for more details -
http://www.devdaily.com/linux/unix-linux-ps-command-process-processes

Also, from your forum profile
>> I have assigned points to 0 of 6 responses to my questions.
Refer the following link which says how you thank the forum -
http://forums11.itrc.hp.com/service/forums/helptips.do?#28

Hope this helps.

Regards,
Murali
Let There Be Rock - AC/DC
macosta
Trusted Contributor

Re: PS out put bracket meaning

The items in square brackets means that the process is actually a kernel thread, such as softirq, events, etc. It's not a process you can run in userland, but runs in kernel-space.
Kapil Jha
Honored Contributor

Re: PS out put bracket meaning

man ps :)
I am in this small bowl, I wane see the real world......
Kapil Jha
Honored Contributor

Re: PS out put bracket meaning

Its actually swapped out process.

>>Programs swapped out to disk will be shown without command line arguments, and unless the c option is given, in brackets.

BR,
Kapil+

I am in this small bowl, I wane see the real world......
Kapil Jha
Honored Contributor

Re: PS out put bracket meaning

Mind it its capital C.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Arun K P
Occasional Contributor

Re: PS out put bracket meaning

Thanks to all for giving me the information
Kapil Jha
Honored Contributor

Re: PS out put bracket meaning

I think people deserve points with thanks :)

BR,
Kapil+
I am in this small bowl, I wane see the real world......