classh

Wrapper around SSH for running commands on a number of hosts concurrently
Download

classh Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • James T. Dennis
  • Publisher web site:
  • http://bitbucket.org/jimd/
  • Operating Systems:
  • Mac OS X 10.5 or later
  • File Size:
  • 12 KB

classh Tags


classh Description

Wrapper around SSH for running commands on a number of hosts concurrently classh is the "Cluster Administrator's ssh" tool and it is yet another wrapper around SSH for running commands on a number of hosts concurrently similar to xCAT, pssh, Cluster ssh, and a gaggle of other utilities.classh is yet another wrapper around ssh for running jobs on multiple targets. classh can support tens of thousands of targets (tested on over 25,000 at once) and runs a configurable number of jobs concurrently. It separately gathers results, output and error messages, displaying summary/status information it comes in (asynchronously) and more detailed data after all jobs have completed.classh provides an SSHJobMan class which can be imported into your ownPython code and easily used to handle specialized display or other disposition of results. (For example the names of all hosts on whichthe job succeeded can be fed into another process while various failuremodes can be tested and fed into other processes).classh is released under the terrms of the Python Software Foundation License. Here are some key features of "classh": · Runs configurable number of jobs in parallel · Tested on tens of thousands of targets per job · Record exit status, running time, output, and error messages separately · Supports timeouts (and records them) · Supports (optional) incremental results gathering/processing · Feed hostnames from successful and/or exceptional jobs into their own files or processes. · Flexible host pattern expansion (foobar.xxx) · Flexible options for saving output, errors, and exit values (including pickling all results for import) · Support interactive shell · Importable as a Python module: use to build more powerful scripts · Basic functionality in one file using only Python 2.4 std libs. Requirements: · Python 2.4 or later What's New in This Release: · Added --sshargs --sshpath switches and search_path(): find…


classh Related Software