Operating System - HP-UX
1833780 Members
2875 Online
110063 Solutions
New Discussion

'remsh $host /opt/perf/bin/mwa start' hangs

 
SOLVED
Go to solution
Mladen Despic
Honored Contributor

'remsh $host /opt/perf/bin/mwa start' hangs

I attempted to start Measureware on hostB by running the following on hostA:

remsh hostB /opt/perf/bin/mwa start


Measureware does start up on hostB, but I never get my prompt back on hostA. Why?
6 REPLIES 6
harry d brown jr
Honored Contributor

Re: 'remsh $host /opt/perf/bin/mwa start' hangs

You need to set your DISPLAY variable.


live free or die

harry
Live Free or Die
Mladen Despic
Honored Contributor

Re: 'remsh $host /opt/perf/bin/mwa start' hangs

Harry,

It is set already.
Is that really required to start Measureware?

Thanks ... Mladen
Roger Baptiste
Honored Contributor

Re: 'remsh $host /opt/perf/bin/mwa start' hangs

Mladen,

it works on the system i tried, returning
to the command prompt.

How about trying,
remsh system "command" >/tmp/outfile

Another try can be to put
it in Background mode (&).

R-
Take it easy.
Uday_S_Ankolekar
Honored Contributor

Re: 'remsh $host /opt/perf/bin/mwa start' hangs


Hi,

Just athought.. Try it in background mode.. (& at the end of your command..)

-USA..
Good Luck..
linuxfan
Honored Contributor
Solution

Re: 'remsh $host /opt/perf/bin/mwa start' hangs

Hi,

have you tried it with a -n option

remsh hostB -n "/opt/perf/bin/mwa start"

In my case it seems to work with or without the -n option,

You could try something like this too (from man page of remsh)

remsh hostB -n "/opt/perf/bin/mwa start 1>&- 2>&- &"

this would return your prompt right away and start measureware on hostB in the background.

-Regards
Ramesh
They think they know but don't. At least I know I don't know - Socrates
Mladen Despic
Honored Contributor

Re: 'remsh $host /opt/perf/bin/mwa start' hangs

Ramesh,

Thanks for finding that command in the 'remsh' man pages. That's the only one that worked for me! The option -n alone didn't make a difference.

RajMan,

Thanks for trying this on your systems. I tried it on several different systems as well. The only apparent consistency is that remsh hangs whenever hostB runs HP-UX 10.20; it works fine when hostB is HP-UX 11.00.

Does anyone know why the command in the subject line hangs?