Thanks for the information, Anthony.
-Original Message-
From: Anthony Corrente [mailto:[EMAIL PROTECTED]
Sent: April 29, 2005 7:38 AM
To: u2-users@listserver.u2ug.org
Subject:Re: [U2] +AFs-UD+AF0- Halting a Unidata process
Hi Tom,
Using kill -TERM [udtpid] (as you suggest), should not corrupt files.
Infact kill -TERM is what the stopudt script (NOT stopud!!!) does.
:!cat $UDTBIN/stopudt
#! /bin/sh
#
# This script is to be used on Unix platforms.
#
# stopudt: Stops one or more udt or mach processes cleanly,
# by process id.
kill -TERM $*
exit 0
A kill -KILL (kill -9) has and will lead to file corruption if the process
being killed is in the process of updating files etc...
Also, check out the deleteuser command. To be used with caution
:HELP DELETEUSER
deleteuser
Syntax
deleteuser pid
Description
The system-level deleteuser command deletes a process, removing its
identification number (pid) from the active UniData user list, and
freeing up a UniData license. This command sends a signal to the
process requesting that the process terminate in an orderly manner,
then waits for five seconds to see if the process was terminated.
If the process is still active, deleteuser forces immediate termination
of the process.
deleteuser can be helpful to clean up orphaned processes after a
system crash or when an active process aborts.
Use this command at the system prompt, or use the ECL ! (bang) command
to execute this command from the ECL prompt.
Warning: Killing a process that may be accessing a file may cause
file corruption. Forcing a process to terminate interrupts writes
in progress.
Note: To execute the deleteuser command, you must log in as root
on UniData for UNIX or as Administrator on UniData for Windows Platforms.
-
Regards,
Anthony Corrente.
--- Cordes, Tom (contractor) [EMAIL PROTECTED] wrote:
Hi,
We are running UD 5.2.32 on Sun 5.9. Sometimes a '!kill [pid]' doesn't
halt
a Unidata process.
In your experience, would '!kill -15 [pid]' cause any Unidata problems
like
file corruption, etc?
Thanks.
Tom Cordes, CFM project
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/