<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mirakui</author_name>
  <author_url>https://blog.hatena.ne.jp/mirakui/</author_url>
  <blog_title>昼メシ物語</blog_title>
  <blog_url>https://blog.mirakui.com/</blog_url>
  <categories>
  </categories>
  <description>コード（rop.rb） 使い方 まずリモートで実行したいスクリプトを用意します。例えばログファイルのgrepとかです。 $ cat script.txt grep hoge /var/log/nginx/access.log で、例のやつを実行します。 $ ruby rop.rb -H 'app-0{01..05}' -f script.txt そうするとで対象ホストに並列（デフォルトでは5スレッド。-nオプションで指定可）でSCPとかSSHでスクリプトが送られて実行されて、その結果がファイルとしてダウンロードされます。ダウンロードしたファイルは /tmp/rop/0522-2306-11/a…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.mirakui.com%2Fentry%2Frop&quot; title=&quot;複数のリモートホストで並列にコマンドを実行して結果をファイルでダウンロードするやつ書いた - 昼メシ物語&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-05-22 23:19:10</published>
  <title>複数のリモートホストで並列にコマンドを実行して結果をファイルでダウンロードするやつ書いた</title>
  <type>rich</type>
  <url>https://blog.mirakui.com/entry/rop</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
