Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to check whether some services are running in another
server or not?
Suppose i am currently in a server named A.I want to check
whether some services are running in server B without
logging into the server B.

Answer Posted / rohit kumar

Assuming that server A is reachable from server B and vice
versa:

We can execute the command remotely using rsh and by using
admin credentials of server B as below from server A:

rsh <server B IP> -l <admin login name> -n "ps -eaf | grep -
i <service_name>"

For eg; to find httpd service we can use the following
command assuming server B IP is 10.0.0.10 and root has
admin previledges:

rsh 10.0.0.10 -l root -n "ps -eaf | grep -i httpd"

Is This Answer Correct ?    19 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1309


Write a command that will display files in the current directory, in a colored, long format.

1210


What do know about tee command and its usage?

1173


What are the commands in UNIX to list the files in a Directory?

1176


What happens when we execute a unix command?

1133


Explain ‘library functions’ with respect to unix commands?

1168


What do chmod, chown, chgrp commands do?

1282


hw will u use awk in replacing cahrs and files

3239


What is awk used for?

1125


What does the “echo” command do?

1150


What is unix command line?

1246


What is merge command in unix?

1502


How can we use grep command in unix?

1203


Enlist some filename manipulation commands in unix.

1155


What does touch command do in unix?

1417