Hi,
I want to write script that monitors particular ports in a server.
I completed the script but.... If the server is restarted i need manually start the script..
Is there any way i can make the script start by it self after the server reboot........
Thanks,
Firestar
OS : solaris 10
i am sorry i forgot to mention this ....
You will have to create a sh script in /etc/init.d/ e.g. /etc/init.d/myscript_startup.sh and make link in /etc/rc3.d to it.
If you do that right, then your monitoring script will be run at boot (AFAIK this is what you want).
I suggest you to check how the other scripts in /etc/rc3.d look like and see if you can set it up by your self.
Let me know how it goes.
Thank you for the reply........
But, I dont have root previlages. to edit /etc/rc3.d i need to have root previlages .....
Is there any other way to do it ......