Subject Re: [firebird-support] Can I run GSTAT over a local network?
Author Mark Rotteveel
On 14-5-2015 16:00, Mark Rotteveel mark@...
[firebird-support] wrote:
> On 13-5-2015 09:51, brucedickinson@... [firebird-support] wrote:
>>
>>
>> Hi,
>>
>> I am trying such command:
>>
>> gstat.exe 10.10.3.2:/Base/2534/2534.FDB -p password -u user -d
>>
>> But I am getting an error that specified patch could not be find. I am
>> guessing that I can not run gstat over a network?
>
> You can't run gstat over the network directly, however you can get a lot
> of the information that gstat provides from the service manager.

As an example:

fbsvcmgr localhost:service_mgr user sysdba password masterkey
action_db_stats dbname C:\path\to\database.fdb sts_hdr_pages

Will give the header information, while replacing sts_hdr_pages with
sts_data_pages will give the info on the data pages (the second part of
the output if you specify -d.

Mark
--
Mark Rotteveel