[torqueusers] suppressing output using /dev/null causes null to be removed

Ronny T. Lampert telecaadmin at gmail.com
Tue Nov 27 02:04:24 MST 2007


>>>     1. What's the best way to discard output and error completely? 
>> I dunno where this obsession with /dev/null comes from when qsub readily 
>> supports this from the very beginning :-)
>>
>> #> qsub -k n <args>
>>
>> man-page:
>>
>>  n  Neither stream is retained.
> 
> Because that doesn't suppress stdout or stderr?
> 
> "retained" refers to keeping the stdio files on the execution node and not
> transferring them to the submit host.

Ugh. That I completely misunderstood.

Can we maybe add another option called "d" - discard?
That would automatically dup2() stdout/err to /dev/null.

Just a suggestion, would be terribly clean :)

Cheers,
Ronny



More information about the torqueusers mailing list