How know program running remotely?

How know program running remotely?

Post by wayne t. wats » Mon, 13 Nov 1995 04:00:00



[ Article crossposted from comp.unix.sco.programmer ]
[ Author was wayne t. watson ]
[ Posted on Sat, 11 Nov 1995 19:07:00 GMT ]

[ Article crossposted from comp.windows.x ]
[ Author was wayne t. watson ]
[ Posted on Thu, 9 Nov 1995 01:42:57 GMT ]

How is it possible to determine if a program is running remotely, and
if not fire it up so that I can send to the remote
workstation?  I am thinking of X here, but I suppose the say
method works with about anything.  I suspect a variety of ways
work, but I am looking for something fairly simple, probably from
a shell script.
--

Mountain View, CA
--

Mountain View, CA
--

Mountain View, CA

 
 
 

How know program running remotely?

Post by Brandon Walla » Thu, 16 Nov 1995 04:00:00




-> How is it possible to determine if a program is running remotely, and
-> if not fire it up so that I can send to the remote
-> workstation?  I am thinking of X here, but I suppose the say
-> method works with about anything.  I suspect a variety of ways
-> work, but I am looking for something fairly simple, probably from
-> a shell script.

How about something like this:

#! /usr/bin/csh

( rsh -n remote_machine ps -feal  ) |& grep processName >& /dev/null
if (!($status)) then
        rsh -n remote_machine start_up_process
endif

(I am not sure about the parens above.  But some variation of this might work
for you.  Also, your mileage will vary with the ps args above.  Do a man ps
for the correct args for your OS).
--
                      Brandon Wallace
            Nicholas | Applegate Capital Management

          "I live life face down in the fast lane."

 
 
 

1. Does anybody know of a Program to remotely dial a linux system from windoze?

Hi, I've just built a dedicated Linux box that has a modem and a network
card for the express purpose of sharing that internt connection from the
modem to several other computers on the network, but they are windoze
machines run my people with very little knowledge of computers so asking
them to dial it via linux commands is not an option and besides I don't wan
tthem fidling with the server, so does anybody know a nice program that I
can use to let them make the server dial and hangup?  Thanks for your time.

2. linux 2.2.14 with realtek 8029, strange problem

3. Can't run Xwindow programs remotely, HELP!

4. SRM back to Alphabios

5. Run an interactive program remotely

6. IPforwarding: internal web server inaccessible from lan

7. Running X programs remotely

8. thread safe fprintf

9. HELP! Cannot run some X programs remotely

10. Newby Q, Running programs remotely

11. Not able to run some X programs remotely

12. Running an interactive program remotely

13. Running GUI programs remotely.