Siva Nandy <[email protected]> writes: > Fwd: retrieve JobId fron scontrol > > Hi friends, > > A little question, do anyone know how to retrieve the JobId from the scontrol > output ? > I've tried this : > > ==================== > out=$(scontrol show jobid 52046) > echo $out > ==================== > > but I've got all the information, however I want the JobIf info. only :( > > advance thanks, > Siva
But if you are using the JobID as an argument to 'scontrol', then you already know it. I think you need to make it clearer what you are trying to achieve. Cheers, Loris -- This signature is currently under construction.
