TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Using xargs to do Parallel Processing

36 点作者 martinaglv超过 12 年前

6 条评论

emillon超过 12 年前
Meet GNU Parallel :<p><a href="http://www.gnu.org/software/parallel/" rel="nofollow">http://www.gnu.org/software/parallel/</a>
评论 #4920486 未加载
评论 #4922145 未加载
webreac超过 12 年前
My most common use of xarsg -P is for compressing logs on remote hosts before downloading them: cat RemoteHosts | xargs -P 0 -n 1 -I Host rsh Host gzip -9 xxx/*.log The cool thing is that it waits until the completion of all the commands before returning.
评论 #4922191 未加载
评论 #4927263 未加载
Erwin超过 12 年前
If you are compressing a single large file, you may find "pigz" of interest -- it's a gzip that uses multiple threads pretty well.
PaulHoule超过 12 年前
Ever read the man page for xargs? It reads just like the perscribing information for VIOXX.
sneak超过 12 年前
Google "ppss".
Jyaif超过 12 年前
make