On 05/19/2016 11:29 AM, Jiří Činčura wrote:
> Hi *,
>
> can I ask Service API to get me current shutdown/online mode of given
> database? I know with isc_action_svc_properties I can set it. So I hope
> there's also other way possible.
>
It's possible but not too convenient.
*****************
bin # ./fbsvcmgr service_mgr action_db_stats dbname employee sts_hdr_pages
Database
"/usr/home/firebird/HEAD/gen/Debug/firebird/examples/empbuild/employee.fdb"
Database header page information:
Flags 0
Generation 194
System Change Number 0
Page size 8192
ODS version 12.0
Oldest transaction 166
Oldest active 167
Oldest snapshot 167
Next transaction 171
Sequence number 0
Next attachment ID 51
Implementation HW=AMD/Intel/x64 little-endian OS=Linux
CC=gcc
Shadow count 0
Page buffers 0
Next header page 0
Clumplet End 132
Database dialect 3
Creation date May 18, 2016 18:56:32
Attributes force write, single-user maintenance
*****************
In 'Attributes' you can find 'maintenance' ('single-user' or
'multi-user') or 'full shutdown'.
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel