![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Performance issue with ftp script. | Shiv@jad | Shell Programming and Scripting | 7 | 07-03-2009 01:01 PM |
| shell script performance issues --Urgent | icefish | Shell Programming and Scripting | 18 | 12-14-2007 10:43 AM |
| Announcing collectl - new performance linux performance monitor | MarkSeger | News, Links, Events and Announcements | 0 | 10-26-2007 07:14 PM |
| Script for system performance | vastare | Shell Programming and Scripting | 2 | 01-19-2006 11:51 AM |
| Korn Shell Coprocess Performance Question | Mark Puddephat | Shell Programming and Scripting | 8 | 12-14-2005 05:33 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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 |
|
|||||
|
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 05: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. |
![]() |
| Bookmarks |
| Tags |
| grep or |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|