[torqueusers] inspecting running jobs

Mahmood Naderan nt_mahmood at yahoo.com
Wed Sep 5 13:41:58 MDT 2012


With this command, we can find which jobs are running of a particular node. This is the same as "qstat -rn".
thanks for you help

 
Regards,
Mahmood



________________________________
 From: Lloyd Brown <lloyd_brown at byu.edu>
To: torqueusers at supercluster.org 
Sent: Wednesday, September 5, 2012 5:57 PM
Subject: Re: [torqueusers] inspecting running jobs
 
This may not be very automatable, but the best tool (at least in Linux)
in my opinion is "pstree -p".  The running process will be a child (or
grandchild, etc.) of a process named something like
"jobnumber.schedulerhostname".  So, if you use pstree (with the "-p" to
show process IDs), search for the PID of the hard-hitting process, and
then follow it back up the tree, you should find something.

Lloyd Brown
Systems Administrator
Fulton Supercomputing Lab
Brigham Young University
http://marylou.byu.edu

On 09/05/2012 09:50 AM, Mahmood Naderan wrote:
> Dear all,
> Assume I have 20 running jobs. When I use "top" command, I see that
> there is one process (which is one of my jobs) that uses a lot of
> memory. How can I find which job number it is?
>  
> Regards,
> Mahmood*
> *
> 
> 
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
> 
_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org
http://www.supercluster.org/mailman/listinfo/torqueusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20120905/4772f0d4/attachment.html 


More information about the torqueusers mailing list