![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| shell script performance issues --Urgent | icefish | Shell Programming and Scripting | 18 | 12-14-2007 06:43 AM |
| Announcing collectl - new performance linux performance monitor | MarkSeger | News, Links, Events and Announcements | 0 | 10-26-2007 03:14 PM |
| Performance issue with ftp script. | Shiv@jad | Shell Programming and Scripting | 3 | 08-20-2007 07:04 AM |
| Script for system performance | vastare | Shell Programming and Scripting | 2 | 01-19-2006 07:51 AM |
| Korn Shell Coprocess Performance Question | Mark Puddephat | Shell Programming and Scripting | 8 | 12-14-2005 01:33 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hiii,
I wrote a shell script for testing purpose. I have to test around 200thousand entries with the script.When i am doing only for 6000 entries its taking almost 1hour.If i test the whole testingdata it will take huge amount of time. I just want to know is it something dependent on the configuration of machine. Any suggestion how i can increase the efficiency of my script. Thanks in advance. Namish |
| Forum Sponsor | ||
|
|
|
||||
|
We can comment better if we see the script. As such, if you use external tools like cat, grep or something in a shell script, then you should see the mileage varying a lot.
See http://www.unix.com/shell-programmin...-complete.html as an example. Last edited by vino; 08-20-2007 at 01:23 AM. |
|
|||
|
Choose the language appropriate to the task.
Shells are very heavy users of process forking/execing. Using a language like Perl, C, C++, Java may give a dramatic improvement because they are not continually starting new processes to do tiny tasks. |
|||
| Google UNIX.COM |