The process ids of each individual task can be seen using jps and jconsole 
commands provided by java. 

jconsole command on command-line interface provides a GUI screen for monitoring 
running tasks within java. 

The tasks are only visible as java virtual machine instance in the os system 
monitoring tool. 


Regards,
Varad Meru
-----------------------------------
Sent from my iPod

On 29-Sep-2011, at 0:15, bikash sharma <[email protected]> wrote:

> Hi,
> Is it possible to get the process id of each task in a MapReduce job?
> When I run a mapreduce job and do a monitoring in linux using ps, i just see
> the id of the mapreduce job process but not its constituent map/reduce
> tasks.
> The use case is to monitor the resource usage of each task by using sar
> utility in linux with specific process id of task.
> 
> Thanks,
> Bikash

Reply via email to