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
What does this command do? Cat food 1 > kitty
What is the general format of unix command syntax?
What is grep command in unix with examples?
Name the general commands in using unix os for a beginner?
How do you grep recursively?
What is the command to find maximum memory taking process on the server?
What are the commands in UNIX to list the files in a Directory?
What is awk command used for?
What is the use of the command 'ls -x chapter[1-5]' ?
Which command is used to restrict incoming messages?
Explain command to display different lines that are found when compare two files?
What is $0 bash?
What is the nmap command?
What does awk stand for?
What is the difference between cat and more command?