Computing.Net > Forums > Unix > please help in Scripting

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

please help in Scripting

Reply to Message Icon

Name: abhi_291984
Date: June 7, 2009 at 07:11:20 Pacific
OS: Windows XP
CPU/Ram: 512
Product: 0000 / 0000
Subcategory: General
Comment:

my script was working yesterday but today it is slow why?
it may be the reason below?
1- script does't find the database
2- it find the database
3- it eats the memory
4- cpu utilaization is too much
give me the reason for each.why it is slow.



Sponsored Link
Ads by Google

Response Number 1
Name: FishMonger
Date: June 7, 2009 at 09:25:40 Pacific
Reply:

No it's not any of those reasons, but #3 was close.

The real reason is because it didn't eat breakfast, so its brain cells aren't working. ;)


0

Response Number 2
Name: David Perry
Date: June 8, 2009 at 06:27:39 Pacific
Reply:

If this is a shell script, you can add

set -x

after the shell declaration line. Watch what is happening whil it runs. You might also try some echo statements to help you with the progress.


0

Response Number 3
Name: psiva_unix
Date: June 25, 2009 at 11:56:26 Pacific
Reply:

abhi,

it may be the any one the below reason
Have you used any find and grep command in the script which is generated the file in this script itself.
Have you check the space in the file executable folder ,if its so high then the script output will be slow.
etc


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: please help in Scripting

Please HELP in shell script www.computing.net/answers/unix/please-help-in-shell-script-/3266.html

Shell scripts - please help!!!! www.computing.net/answers/unix/shell-scripts-please-help/4977.html

Please help with shell script www.computing.net/answers/unix/please-help-with-shell-script/4756.html