Results 1 to 2 of 2
Hi all,
I want to have port nos of oracle processes on Solaris system.I am writing a script which will check which will alert me when the service on the ...
- 07-24-2008 #1Just Joined!
- Join Date
- Jul 2008
- Posts
- 0
port no
Hi all,
I want to have port nos of oracle processes on Solaris system.I am writing a script which will check which will alert me when the service on the specific port is not running i.e port 80 and port 8090.
I am running netstat -an | grep LISTEN | awk '{print substr($1,3)}' | sort -n`.
the first field is having record with formats
*.portno
IP.portno
The problem is: it is returning portno from those records which are having first field in *.portno format. But I want to have details of all ports.actually I want to cut only portno from first field irrespective of format.
Can anybody help me
- 07-25-2008 #2
I dont get you ??
We need some more info on how you are making it to alert !!


Reply With Quote
