Killing the PID is probably not be a good idea. I am not an DM expert, by any means, but if the DM is anything like the AM killing it may leave OM lists open. -----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 _______________________________________________________________________ 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: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave _______________________________________________________________________ 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: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave