Subject Re: gfix syntax
Author skotaylor
--- In, Helen Borrie <helebor@t...>
> At 12:04 AM 29/07/2003 +0100, you wrote:
> >Hi,
> >
> >I'm using FB 1 SS on Linux.
> >

> >Also, is there a command line tool to check if a database is shut
> >down or not? gfix itself seems to have no such option.
> You can log out yourself and try to rename the primary database
> file. If it succeeds, then the file is physically closed, meaning
> there are no connections. If you have no way to control users from
> logging in again, then just keep it renamed while you log in again as
> SYSDBA and do what you have to do.
> heLen


Richard did say he was using Linux, not Windows; root gets to do
pretty much anything, including renaming and removing locked files.
The renamed locked file will still be linked/connected to whatever it
is linked/connected to, thanks to inode managed filesystem. He still
may not have "exclusive access" until he stops and restarts the FB
server, or all other connections are finished prior to the renaming.