Home » Infrastructure » Unix » Session killing script (Unix Shell script)
Session killing script [message #518837] Mon, 08 August 2011 01:22 Go to next message
rohan10k
Messages: 15
Registered: May 2011
Junior Member
Hi,
I want to check current running processes and have to kill all those sessions and have to move these killed sessions into log file. Need to search current running processes with the strings from a file.
ex:
a.txt file is having below details.

test1
scriptname
(test2 = Y)
oracle


So all the process by searching with below command with above strings need to kill one by one.
ps -ef|grep xxxx

Thanks for your help
I am using sun os Unix and korn shell.
Re: Session killing script [message #518847 is a reply to message #518837] Mon, 08 August 2011 01:54 Go to previous message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
This question bears no real connection with Oracle.
Please find a more appropriate forum.
The topic is locked.
If I'm wrong, please, PM me (or report this message to a moderator, explain why you think it should be unlocked and it might be done).

Regards
Michel
Previous Topic: Remove cron entry
Next Topic: Solaris Installation issue on hp 520(2 Merged)
Goto Forum:
  


Current Time: Sat Nov 23 05:45:47 CST 2024