Re: [foxboro] shut down DM from a script

Brian,

The DMCMD variable must be in caps. -- try using:

/usr/local/pref -DM0001 DMCMD "dmcmd dmexit"

Regards,
Terry


Terry J. Deo
Process Control Systems Engineer
Infineum USA, L.P.
Bayway Chemical Plant

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]
On Behalf Of Brian Bates
Sent: Wednesday, July 28, 2004 2:27 PM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] shut down DM from a script





Hi all.

I want to shut down a DM from a shell script.
I tried the following, but it only works when run by  root. I need it to
work with users other than root.

#!/bin/sh
/usr/local/pref -DM0001 dmcmd 'dmcmd dmexit'

Has anybody used the display manager command DMPID to give me the
process
id for the DM?.
If I could get that to work, I could kill the pid.

      -Regards, Brian Bates
       Bowater Inc.
       Thunder Bay, ON

=20
=20
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
=20
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         =
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin
to unsubscribe:      =
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave
=20


 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: