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.
Bindu Nair — — source: Informix-list mailing list archive (1991-1998)
Hi,
You can go to sysmaster database and run the follwing SQL to get the owner
select owner from syslocks
where tabname = <Your table name>
Now the user can be found out by giving the command onstat -u|grep <owner>
in the command line. i.e the sessid in the onstat -u command will have the
owner which you found from the above SQL
Bindu Nair
Endura Software Corporation
> -----Original Message-----
> From: Xavier Tarafa [SMTP:xtarafa@cinet.es]
> Sent: Wednesday, July 01, 1998 6:17 AM
> To: informix-list@iiug.org
> Subject: Tables locked
>
> Hi,
>
> I'm working with Informix dbaccess. I've noticed that one of the tables
> on the database I'm working with it's locked.
>
> How can I know who is locking the table?
>
> Thanks,
>
> Xavi
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.