When I run qstat -u \*, each job references the specific node it is running on. So, if you know the jobnum, I would just use "qstat -u \* | grep jobnum".
Ian On Wed, Apr 23, 2014 at 2:21 PM, Tim Landscheidt <[email protected]> wrote: > Hi, > > how do I find out the host a particular job is currently > running on? > > "qstat -j 1897" (for example) only lists the requested > queue. "qhost -u tools.wikilint" works, but is very un- > friendly to parse in a shell script. > > Do I have to pipe "qhost -u tools.wikilint -xml" to an XML > parser, or is there a more convenient way to get the host? > > Tim > > _______________________________________________ > users mailing list > [email protected] > https://gridengine.org/mailman/listinfo/users -- Ian Kaufman Research Systems Administrator UC San Diego, Jacobs School of Engineering ikaufman AT ucsd DOT edu _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
