Hi,all.Well,I know someone has already asked this question before,however,It's too long before.So i post a new thread here.
Here is the issue.I have a shell script that use awk to calculate something and the script takes about 15 mins,it will use 100% CPU,and the system automatically killed the process at a later time.I've make the "NICE" value of that process be -20,it doesn't work,does anyone have a good idea?
Trapping kill is not possible, atleast as far I know. May be you can optimize the script for better performance and cpu utilization. If you can present the script, m ay be we can have a look.
But why is it being killed? Any application monitoring the CPU usage and doing this?
--ahamed
1 Like
Thanks,ahamed!You're right, I optimized the script and fixed the problem temporarily.