fbtracemgr(1)

Firebird operation traces

Section 1 firebird3.0-server bookworm source

Description

FBTRACEMGR

NAME

fbtracemgr - Firebird operation traces

SYNOPSIS

fbtracemgr action [parameter...]

DESCRIPTION

fbtracemgr gives access to the trace API of Firebird. It connects to a Firebird server, starts a trace session and prints the audit trail to standard output.

To cancel the trace session, press "Ctrl+C", send the "TERM" signal or use the stop command.

OPTIONS

Actions

-sta

-start

Start a trace session

-sto

-stop

Stop a trace session

-su

-suspend

Suspend a trace session. No output is produced until the session is resumed.

-r

-resume

Resume a suspended trace session.

-l

-list

List existing trace sessions

Action parameters

-n string
-name
string

Session name

-i number
-id
number

Session ID

-c path
-config
path

Path to the trace configuration file

Connection parameters

-se

-service string

Service name in the form of "service_mgr" (for local connection) or host:"service_mgr" (for remote connection).

-u user
-user
user

User name to connect as.

-p password
-password
password

Connection password.

-fe file
-fetch
file

Read password from file.

-t string
-trusted
string

Force trusted authentication

EXAMPLES

fbtracemgr -se remote_host:service_mgr -user sysdba -pass masterkey -list
fbtracemgr -se service_mgr -start -name my_trace -config my_cfg.txt
fbtracemgr -se service_mgr -suspend -id 2
fbtracemgr -se service_mgr -resume -id 2
fbtracemgr -se service_mgr -stop -id 4

AUTHOR & COPYRIGHT

Copyright (C) Damyan Ivanov, 2009.

This manpage was written by Damyan Ivanov for the Debian project but may be used by others. Permission is granted to use this document, with or without modifications, provided that this notice is retained. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.