I was wondering if you might be able to help. I have been asked to write a script in /bin/ksh which does the following :
1.) ask's the user what process they want to kill
2.) asks them to confirm if the process they have selected is the right one
3.) su to the userid which kills process
4.)...
Hello all, I was wondering if anyone can help me with the above. I need to write an unix script which does the following :
1.) greps for processes wanting to kill
2.) kills them
3.) appends killed processes to a log
4.) restarts them
5.) appends restarted processes to a log
Any help would be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.