Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Utilities

    loop 1.0

    Download button

    No screenshots available
    Downloads: 491  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Dan Stromberg | More programs
    GPL / FREE
    May 2nd, 2006, 19:57 GMT
    ROOT / Utilities

     Read user reviews (0)  Refer to a friend  Subscribe

    loop description

    loop will run several commands with varied arguments in parallel, with a maximum of n running at any given time.

    loop will run several commands with varied arguments in parallel, with a maximum of n running at any given time. loop project is suitable for parallelized remote command execution via SSH or similar, but not limited to that.

    Usage:

    seki-strombrg> loop
    usage:
    /dcslib/allsys/etc/loop -d save directory
    /dcslib/allsys/etc/loop -n max concurrent proc
    /dcslib/allsys/etc/loop -c command to execute
    /dcslib/allsys/etc/loop -v (verbose)
    stdin should consist of filename arguments
    for each command to execute
    Sun Jan 01 11:06:37

    Example usage (from memory) might look like:

    mkdir -p /tmp/savedir
    rm /tmp/savedir/*
    cat /tmp/hostname-list-one-host-per-line | sed 's/^(.*)$/1 1/' | loop -d /tmp/savedir -n 20 -c 'uname -n' -v
    /tmp/savedir should then have one file per host, each containing the results from the command on each host. Then review the results with something like:
    vi /tmp/savedir/* # look at all the files
    vi $(ls /tmp/savedir | equivs2 -s | awk ' { print $1 } ') # only look at a single copy of any files that have the same content.

    Product's homepage

      


    TAGS:

    remote command | loop | remote | command

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM