![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| kill process help | thms_sum | Shell Programming and Scripting | 5 | 02-03-2008 09:27 AM |
| Process KILL | rkrgarlapati | Shell Programming and Scripting | 2 | 09-22-2006 06:07 AM |
| my process is going to sleep mode after 12 hours but i need my process in in firsy pr | mukesh_rakesh1 | UNIX for Advanced & Expert Users | 0 | 09-05-2006 03:43 AM |
| When kill doesnt work, how to kill a process ? | VijayHegde | UNIX for Advanced & Expert Users | 3 | 05-12-2006 05:24 PM |
| How to kill a process and get process id | jmdiaz | UNIX for Dummies Questions & Answers | 5 | 07-31-2001 04:35 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I need a script like this
while [ 0 -le 5 ] #which is infinite while loop
do ./my_function_which_prints_hi_every_5secs #written in C & stored sleep 10 killall -9 ./my_function_which_prints_hi_every_5secs #shuld kill program done Last edited by shrao; 03-27-2007 at 09:36 AM.. |
|
||||
|
I am getting error no process killed for the command kill$!
I tried this method,still I am getting no process killed. can you justhelp in this
I=1 while [ $I -le 2 ] do scriptname & sleep 10 killall -9 scriptname echo $I I=`expr $I + 1` done |
|
||||
|
Quote:
use that ! instead of Quote:
Code:
kill $! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|