|
From: Jason B. <br...@us...> - 2004-11-16 21:06:34
|
Update of /cvsroot/openxcat/openxcat/bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2167 Modified Files: genpasswd genrhosts hexip iphex nrcmd osver pbsjobnodes pbsusernodes Log Message: Add POD documentation Index: genrhosts =================================================================== RCS file: /cvsroot/openxcat/openxcat/bin/genrhosts,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- genrhosts 8 Nov 2004 20:40:04 -0000 1.1 +++ genrhosts 16 Nov 2004 21:06:19 -0000 1.2 @@ -6,20 +6,6 @@ # # $Id$ -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - use strict; use FindBin qw($Bin); use lib "$Bin/../lib"; @@ -102,3 +88,40 @@ exit; } +=head1 NAME + +genrhosts - Generate rhosts file for a noderange + +=head1 SYNOPSIS + + genrhosts noderange (username) + +=head1 DESCRIPTION + +The genrhosts utility will generate an rhosts file for a given noderange. If +a user is specified (and it is run by root), then the file can be generated +for a given user. + +=head1 REVISION + +Revision $Revision$ + +=head1 AUTHOR + +Jason Brechin <br...@nc...> + +=head1 COPYRIGHT + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Index: osver =================================================================== RCS file: /cvsroot/openxcat/openxcat/bin/osver,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- osver 5 Nov 2004 17:53:25 -0000 1.1 +++ osver 16 Nov 2004 21:06:19 -0000 1.2 @@ -5,20 +5,6 @@ # Copyright 2004 The Board of Trustees of the University of Illinois. # # $Id$ -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA use FindBin qw($Bin); use lib "$Bin/../lib"; @@ -38,3 +24,39 @@ exit; } +=head1 NAME + +osver - Get OS version + +=head1 SYNOPSIS + + osver + +=head1 DESCRIPTION + +The osver utility will return a string specifying the OS version of the current +machine. + +=head1 REVISION + +Revision $Revision$ + +=head1 AUTHOR + +Jason Brechin <br...@nc...> + +=head1 COPYRIGHT + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Index: nrcmd =================================================================== RCS file: /cvsroot/openxcat/openxcat/bin/nrcmd,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- nrcmd 16 Nov 2004 17:28:44 -0000 1.1 +++ nrcmd 16 Nov 2004 21:06:19 -0000 1.2 @@ -92,15 +92,15 @@ =head1 SYNOPSIS - nr (-l) noderange + nrcmd noderange NODEcommand Options: --help Display this helpful information --verbose Print more information NODEcommand should be a command with the word NODE where each - node in the node range should be substituted, - + node in the node range should be substituted. + noderange may be 'me' to specify all the nodes running your pbs job(s). You may also specify a PBS job ID to run on the nodes assigned to that job ID. Index: iphex =================================================================== RCS file: /cvsroot/openxcat/openxcat/bin/iphex,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- iphex 5 Nov 2004 17:53:25 -0000 1.1 +++ iphex 16 Nov 2004 21:06:19 -0000 1.2 @@ -5,20 +5,6 @@ # Copyright 2004 The Board of Trustees of the University of Illinois. # # $Id$ -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA use FindBin qw($Bin); use lib "$Bin/../lib"; @@ -43,3 +29,38 @@ exit; } +=head1 NAME + +hexip - Convert hex IP to dotted decimal + +=head1 SYNOPSIS + + iphex (ip) + +=head1 DESCRIPTION + +The iphex utility will convert a dotted decimal IP to a packed hexadecimal IP. + +=head1 REVISION + +Revision $Revision$ + +=head1 AUTHOR + +Jason Brechin <br...@nc...> + +=head1 COPYRIGHT + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Index: hexip =================================================================== RCS file: /cvsroot/openxcat/openxcat/bin/hexip,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- hexip 5 Nov 2004 17:53:25 -0000 1.1 +++ hexip 16 Nov 2004 21:06:19 -0000 1.2 @@ -5,20 +5,6 @@ # Copyright 2004 The Board of Trustees of the University of Illinois. # # $Id$ -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA use FindBin qw($Bin); use lib "$Bin/../lib"; @@ -44,3 +30,38 @@ exit; } +=head1 NAME + +hexip - Convert hex IP to dotted decimal + +=head1 SYNOPSIS + + hexip (hexip) + +=head1 DESCRIPTION + +The hexip utility will convert a packed hexadecimal IP to a dotted decimal. + +=head1 REVISION + +Revision $Revision$ + +=head1 AUTHOR + +Jason Brechin <br...@nc...> + +=head1 COPYRIGHT + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Index: pbsjobnodes =================================================================== RCS file: /cvsroot/openxcat/openxcat/bin/pbsjobnodes,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- pbsjobnodes 10 Nov 2004 22:22:32 -0000 1.2 +++ pbsjobnodes 16 Nov 2004 21:06:19 -0000 1.3 @@ -6,20 +6,6 @@ # Copyright 2004 The Board of Trustees of the University of Illinois. # # $Id$ -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA use FindBin qw($Bin); use lib "$Bin/../lib"; @@ -40,3 +26,39 @@ exit; } +=head1 NAME + +pbsjobnodes - Get nodes assigned to a PBS job ID + +=head1 SYNOPSIS + + pbsjobnodes jobID + +=head1 DESCRIPTION + +The pbsjobnodes utility will return a list of the nodes assigned to a given +PBS job ID. + +=head1 REVISION + +Revision $Revision$ + +=head1 AUTHOR + +Jason Brechin <br...@nc...> + +=head1 COPYRIGHT + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Index: pbsusernodes =================================================================== RCS file: /cvsroot/openxcat/openxcat/bin/pbsusernodes,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- pbsusernodes 10 Nov 2004 22:22:32 -0000 1.2 +++ pbsusernodes 16 Nov 2004 21:06:19 -0000 1.3 @@ -6,20 +6,6 @@ # Copyright 2004 The Board of Trustees of the University of Illinois. # # $Id$ -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA use FindBin qw($Bin); use lib "$Bin/../lib"; @@ -40,3 +26,39 @@ exit; } +=head1 NAME + +pbsusernodes - Get nodes assigned to a PBS job ID + +=head1 SYNOPSIS + + pbsusernodes jobID + +=head1 DESCRIPTION + +The pbsusernodes utility will return a list of the nodes assigned to a given +PBS user. + +=head1 REVISION + +Revision $Revision$ + +=head1 AUTHOR + +Jason Brechin <br...@nc...> + +=head1 COPYRIGHT + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Index: genpasswd =================================================================== RCS file: /cvsroot/openxcat/openxcat/bin/genpasswd,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- genpasswd 5 Nov 2004 21:55:57 -0000 1.1 +++ genpasswd 16 Nov 2004 21:06:10 -0000 1.2 @@ -5,20 +5,6 @@ # Copyright 2004 The Board of Trustees of the University of Illinois. # # $Id$ -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA use FindBin qw($Bin); use lib "$Bin/../lib"; @@ -38,3 +24,39 @@ exit; } +=head1 NAME + +genpasswd - Generate random password + +=head1 SYNOPSIS + + genpasswd (length) + +=head1 DESCRIPTION + +The genpasswd utility will generate a random password of a given length +(default: 8 characters). + +=head1 REVISION + +Revision $Revision$ + +=head1 AUTHOR + +Jason Brechin <br...@nc...> + +=head1 COPYRIGHT + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |