Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checking if Remote Service is running....

Status
Not open for further replies.

javaguru007

Programmer
Nov 25, 2003
17
PH
We have a remote server that is running a certain service, we want to check remotely if the service is running or not without using rsh or ssh... thanks..
 
Depending on what service you could try:
telnet hostname XX
where XX is a port number eg. http is 80 and pop3 is 110. This should give you some sort of header back.
 
YOu can use something like nmap to do a port scan, or I think netstat can be run against another computer.

>---------------------------------------Lawrence Feldman
SR. QA. Engineer SNAP Appliance
lfeldman@snapappliance.com

 
If you know the system is running the portmapper service (most are by default) then you can interrogate it with: rpcinfo -p [host]|grep [service]/[port]

ART
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top