Finding service status on windows from Linux


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Finding service status on windows from Linux
# 1  
Old 01-04-2011
Finding service status on windows from Linux

Hi all,

Please advise how do i find services status running on windows machines

from Linux.
=-=====================
Some one developed a script use rsh command to find the status but it stopped working.

rsh <Some IIS server Name> service -S < Windows Server name where service running> query <Service Name>

Please help me to find rsh config needed on windows and Linux boxes.
=======================

or is there any other way to do this.

Thanks,
Ashish
# 2  
Old 01-07-2011
If the script has not been changed then the fault will lie at the Windows end, either the rsh service has been disabled or a firewall is blocking the rsh port into the Windows machines. Installing an SSH server on the Windows machines (see Free SSH for Windows 9x, NT, ME, 2000 and XP ) would be far more secure.

What error messages do you see when you run the rsh command please?
What response do you get if you telnet to the rsh port, e.g.:
<code>
$ telnet <Some IIS server name> 514
</code>
?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Show service status in dialog

Hello is it possible to show current status of service like cron with dialog ? something that show the output of service crond status in top of menu: dialog --title "Administrator" --menu "Please choose an option:" 20 55 10 \ 1 "Add New USER" \ 2 "List all user" \ 3 "Remove user" \ 4... (6 Replies)
Discussion started by: nimafire
6 Replies

2. Shell Programming and Scripting

script killing a process from service status output

Hello, can some please suggest a script, for killing the process PID. This are steps I am currently performing to kill the process. I cant user service splunk stop, to kill these processes, because of uid and gid mismatch for splunk user. # service splunk status Splunk status: splunkd... (8 Replies)
Discussion started by: bobby320
8 Replies

3. AIX

Finding Power Supply Status

Hi, As in Management Modules of IBM it is possible to find out wheather out of dual powersupply , if one goes down. is it possible to find out in HMC to find out if one power supply goes down of P Series server? if server is remotely HOw to find out if one power supply of server is down?... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

4. AIX

service status in AIX

good afternoon to all hay i m new in AIX. my problem is that.....plz tell me how to see " service status" in AIX Becoz i run /etc/rc.d/rc.2/Sbesclientd so its show below like this bash-3.2$ sudo /etc/rc.d/rc2.d/SBESClientd status Usage: /etc/rc.d/rc2.d/SBESClientd { start | stop } I... (2 Replies)
Discussion started by: life008
2 Replies

5. UNIX for Dummies Questions & Answers

service exit status

what are the number for the exit status for command service and what does every number mean. (2 Replies)
Discussion started by: programAngel
2 Replies

6. Red Hat

#service --status-all : screen flickering

hi there when i run #service --status-all or #service nfs status the screen flickers if i ssh from remote system than i dont have flickering on the remote nor that system. is it something to do with probably display configuration. ? and which file are the display setting... (7 Replies)
Discussion started by: dplinux
7 Replies

7. Solaris

How can i know service status in solaris8,9?

How can i know service status and its dependencies in solaris 8,9? Thanks in advance.. (2 Replies)
Discussion started by: younus_syed
2 Replies

8. HP-UX

Monitor Service Status

Hey guys how do you determined the status of a certain service if its running or not aside from using ps. (0 Replies)
Discussion started by: sbn
0 Replies

9. Linux

Ftp Service /process Status

:confused: Hi Can anyone tell me how to check the FTP process status in linux . eg,I'm ftpping some files from "A" server to "B" server through FTP command , after ftpping these files , I 'm suppose to delete the files which are successfully ftpped from "A" server ,but when I 'm checking the... (1 Reply)
Discussion started by: GaneshB
1 Replies

10. Solaris

services status finding ...???

Could we find out the all services status in salaries 9 operating system....??? (2 Replies)
Discussion started by: udayn
2 Replies
Login or Register to Ask a Question