when we use "top -c" in Linux, which type of process is closed by brackets?

1

As the title said, which type of process is closed by brackets?

thlgood

Posted 2011-12-24T03:09:29.633

Reputation:

Answers

1

Processes with names like ...

    2 ?        S      0:00 [kthreadd]
 1174 ?        S      9:13 [kjournald]
 1984 ?        S      2:43 [flush-202:0]

... are kernel threads. They can be distinguished from normal processes in that they typically show up with no memory usage.

duskwuff -inactive-

Posted 2011-12-24T03:09:29.633

Reputation: 3 824

0

Processes in brackets [] are kernel threads.

tamilsweet

Posted 2011-12-24T03:09:29.633

Reputation: 101

3Processes started by init are not "special", and aren't displayed in brackets. – duskwuff -inactive- – 2011-12-24T03:18:03.340

@duskwuff: Exactly, they're not part of the init process but rather get started before that the init process kicks in, by the kernel itself. They are in essence kernel threads, and kernel threads do get shown in brackets. – Tamara Wijsman – 2012-07-16T02:28:28.497