[torquedev] new node attribute: "note"

Garrick Staples garrick at usc.edu
Mon Mar 19 15:10:44 MDT 2007

On Mon, Mar 19, 2007 at 02:02:21PM -0600, Marcus R. Epperson alleged:
> On 03/19/2007 01:15 PM, Garrick Staples wrote:
> >[garrick at hpc-admin cmds]$ ./pbsnodes -n -l -s hpc-pbs
> >hpc1448              eth problem
> >hpc1770              what is up with this crashy node?
> >[garrick at hpc-admin cmds]$ ./pbsnodes -l -n -s hpc-pbs
> >/home/rcf-00/garrick/rpm/crisvn/torque/branches/2.1-fixes-build/src/cmds/.libs/lt-pbsnodes:
> >Unknown node  MSG=cannot located specified node
> Yeah, it's kind of a hack since the getopt specification for -n requires an 
> argument (which used to be a good thing).  There's a GNU extension to 
> getopt that allows optional arguments, but I assume I can't use that.  :)  
> Do you have any suggestions for how to do this argument parsing correctly?

Indeed, we definitely need to stay away from GNU extensions.

How about we use lowercase n for listing, and capital N for setting?

Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20070319/2e13610e/attachment.bin

More information about the torquedev mailing list