block process checking

How can i check block process in Linux?

If found any what action is required?

How to check the pid of process?

How to kill the block process?

How to find out bottleneck process?

What you exactly mean by

?

Anyways if you want to see details of processes running in your Linux box , check the man pages of ps command .

you can also use top or htop command in your linux box to check if a particular process is eating away too much system resources .

Best Regards ,
Codemaniac

Thanks for replies, if some process got stuck it shows me from one software that 8 process are block.

If i will check above things in sun solaris what commands i should use?

---------- Post updated at 07:18 AM ---------- Previous update was at 04:02 AM ----------

@codemaniac

can u give more detail of solaris about that, other questions of linux.

Which

you are using to check the

processes ?
Do you want to kill the processes that are blocked ?
if so try something like that

for i in $processList
do
     kill -9 $i
done

There are tools for system auditing purpose that tracks if a specific file is accessed or modified by any processes .

You can use lsof command to check the files that are open by a specific process .

lsof -p [pid of the process]

lsof is a very popular utility and is ported to various unix flavors .

Regards ,
Codemaniac