LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to check address in seamonkey navigation toolbar (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-check-address-in-seamonkey-navigation-toolbar-672523/)

kkpal 09-26-2008 08:08 AM

How to check address in seamonkey navigation toolbar
 
hi all

I want to kill the seamonkey browser for a particular address.
let suppose that address is "google.com". If user browse google.com using seamonkey
then shell script kill seamonkey.
But ps -ef doesn't showing that address.

blackhole54 09-27-2008 06:12 PM

That sounds a bit tricky. I would think it would be easier to just block the address than to actually kill the browser. If you can accept the time delay between polls, you can as root (or the user in question) use

Code:

netstat -atp | fgrep google.com
to see what, if any, processes are connected to google.com.


All times are GMT -5. The time now is 07:46 AM.