Librenix
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Running multiple jobs with xjobs

Up
vote
Down

A slick utility...
The xjobs utility allows you to schedule several processes to run simultaneously to make the most of your system's resources.

Xjobs takes a list of arguments from standard input and passes them to a utility, or takes a list of commands from a script, and then runs the jobs in parallel. If you have a multiprocessor machine, xjobs will automatically run one job per processor by default. For instance, on a dual-CPU machine, if you run ls -1 *gz | xjobs gunzip, xjobs will gunzip two files at a time by default. If you run the same command on a quad-CPU machine, it will gunzip four files at a time by default, until it runs out of files to process.
 read more | mail this link | score:7509 | -Ray, October 11, 2006
More Sysadmin articles...

Abstract Art Prints by Ray Yeargin

admin headlines

Tutorial: Install Lighttpd, PHP5, and MySQL on Ubuntu 13.04

Tutorial: Install a Streaming Audio Server with Icecast 2.3.3 on CentOS 6.3 x86_64 Linux

Tutorial: ClamAV and PureFTPd for Virus Scanning on Ubuntu 12.10

Intrusion detection: OSSEC 2.7 released

Secure Apache2 with LinOTP

Tutorial: Install Lighttpd, PHP5 (PHP-FPM), MySQL on Fedora 17

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin