Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Jin Shunyao — — source: Informix-list mailing list archive (1991-1998)
PaulITID.Matthews@chase.com wrote:
> Does anyone know of a good way of checking logging is running for a
> particular instance for a multiple instance environment so that I can
> automate the checking in a script.
>
> 'ps -ef | grep ontape' returns 2 ontape -c processes with the same
> owner.
> If only one process was running I'm not sure I'd know which instance
> has
> dropped out.
> onstat -l could do it but would only show after a period of time if> logs
> were not being backed up and would require many repeat checks for
> confirmation
> None of the other onstat flags seem to tell you whether logging is
> running
> or not
>
When ontape is running, a thread named ontape is running in the database
server.You can use command ' . ./setenv; onstat -g ath|grep ontape' to
check if server is process ontape request.( the file setenv setup
environment to access informix server)
Jin
> Any help would be much appreciated
>
> Paul Matthews
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.