<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masm11</author_name>
  <author_url>https://blog.hatena.ne.jp/masm11/</author_url>
  <blog_title>インゲージ開発者ブログ</blog_title>
  <blog_url>https://blog.ingage.jp/</blog_url>
  <categories>
  </categories>
  <description>masm11 です。 bash script で、時間がかかる仕事を複数の CPU core を有効活用して処理したくなったので、今回はその方法を考えてみました。 要件は以下の通りです。 bash script で書く。 時間のかかる仕事やあまりかからない仕事がたくさんある。 各仕事は CPU core を1つしか使わない。 CPU core は複数あるので、複数の仕事を並列に処理したい。 各仕事は bash script 内で関数で定義されている。 man bash してたどり着いた結論は、jobs %?ce を使う、ということです。 マニュアルには ce としか書いてありませんが、何でも構…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.ingage.jp%2Fentry%2F2018%2F01%2F24%2F175409&quot; title=&quot;bash script で並列度を制限しながら並列処理する - インゲージ開発者ブログ&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>2018-01-24 17:54:09</published>
  <title>bash script で並列度を制限しながら並列処理する</title>
  <type>rich</type>
  <url>https://blog.ingage.jp/entry/2018/01/24/175409</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
