Linux Today: Linux News On Internet Time.
Search Linux Today
search.internet.com
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Become a Marketplace Partner

internet.commerce
Be a Commerce Partner














The Linux Channel at internet.com
Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Subscribe News
Subscribe PR
Subscribe Security

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

Installing Ubuntu 9.10

Hands-on: OpenMoko WikiReader is simple, appealing

Perl far from dead, more popular than you think

Microsoft Exchange alternatives

Kubuntu 9.10: A Mixed Bag

Could Microsoft switch to Linux?

Red Hat Virtualization Manager for Windows Only?

Creating Ebooks with Sigil

Editor's Note: Making Multi-Channel Firewire Music With Linux

Amaya: A Simple, Yet Useful Alternative to Dreamweaver




Server Support Specialist I
The Computer Merchant, Ltd
US-OK-Oklahoma City

Justtechjobs.com Post A Job | Post A Resume
:Parallel Processing Shell Script Released
Parallel Processing Shell Script Released
Jan 6, 2009, 01 :34 UTC (0 Talkback[s]) (4412 reads)

[ Thanks to louwrentius for this link. ]

"There are many tutorials about how to execute commands in parallel, often using shell scripts. However, they are often not atomic, so parallel jobs may start processing the same file, causing trouble. Also, most examples on the web are based on some polling mechanism in order to determine when to start the next job. Polling is inefficient: you waste time between de moment a script finishes and the moment that event is picked up. Therefore PPSS is event-driven. It does absolutely nothing, thus saving CPU cylcles, while being as time-efficient as possible. The moment a job is finished, it will start a new one.

"The script will take a list of items as input. The script executes a user-specified command for each item in this list. The item is supplied as an argument to this command. Items can be files within a directory or entries in a text file (one per line)."

Complete Story

Related Stories:
Speed Up Multiple SSH Connections to the Same Server(Dec 29, 2008)
Basic Veritas Cluster Server Troubleshooting(Nov 16, 2008)
Distributed Compilation: A Programmer's Delight(Nov 13, 2008)
Scale Your File System With Parallel NFS(Nov 13, 2008)
Parallel SSH Execution and a Single Shell to Control Them All(Oct 31, 2008)
Supercharge Your LAN With Condor, part 1(Sep 18, 2008)



No talkbacks posted.
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!






..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs