Home » Infrastructure » Unix » Session killing script (Unix Shell script)
Session killing script [message #518837] Mon, 08 August 2011 01:22 Go to next message
Messages: 15
Registered: May 2011
Junior Member
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.
a.txt file is having below details.

(test2 = Y)

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: 68414
Registered: March 2007
Location: Nanterre, France, http://...
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).

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

Current Time: Mon Mar 20 11:01:33 CDT 2023