Files
2025/share/man/man1/scevtls.1

270 lines
5.4 KiB
Groff

.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "SCEVTLS" "1" "Sep 22, 2025" "6.9.0" "SeisComP"
.SH NAME
scevtls \- SeisComP Documentation
.sp
\fBList event IDs from database.\fP
.SH DESCRIPTION
.sp
\fIscevtls\fP lists the event IDs of all events available in a database or
\fI\%SCML\fP file within a given time span. The list may be filtered by
event type. The IDs are printed to stdout.
.sp
Similarly, use \fI\%scorgls\fP for listing all origin IDs. In extension to
\fIscevtls\fP and \fI\%scorgls\fP, \fI\%scquery\fP can search for parameters based on
complex custom queries.
.SH EXAMPLES
.INDENT 0.0
.IP \(bu 2
Print all event IDs for the complete year 2012:
.INDENT 2.0
.INDENT 3.5
.sp
.nf
.ft C
scevtls \-d mysql://sysop:sysop@localhost/seiscomp \e
\-\-begin \(dq2012\-01\-01 00:00:00\(dq \e
\-\-end \(dq2013\-01\-01 00:00:00\(dq
.ft P
.fi
.UNINDENT
.UNINDENT
.IP \(bu 2
Print all event IDs with event type \fIquarry blast\fP:
.INDENT 2.0
.INDENT 3.5
.sp
.nf
.ft C
scevtls \-d mysql://sysop:sysop@localhost/seiscomp \e
\-\-event\-type \(dqquarry blast\(dq
.ft P
.fi
.UNINDENT
.UNINDENT
.IP \(bu 2
Print the IDs of all events provided with the XML file:
.INDENT 2.0
.INDENT 3.5
.sp
.nf
.ft C
scevtls \-i events.xml
.ft P
.fi
.UNINDENT
.UNINDENT
.IP \(bu 2
Print all event IDs along with the ID of the preferred origin:
.INDENT 2.0
.INDENT 3.5
.sp
.nf
.ft C
scevtls \-d localhost \-p
.ft P
.fi
.UNINDENT
.UNINDENT
.UNINDENT
.SH MODULE CONFIGURATION
.nf
\fBetc/defaults/global.cfg\fP
\fBetc/defaults/scevtls.cfg\fP
\fBetc/global.cfg\fP
\fBetc/scevtls.cfg\fP
\fB~/.seiscomp/global.cfg\fP
\fB~/.seiscomp/scevtls.cfg\fP
.fi
.sp
.sp
scevtls inherits \fI\%global options\fP\&.
.SH COMMAND-LINE OPTIONS
.sp
\fBscevtls [options]\fP
.SS Generic
.INDENT 0.0
.TP
.B \-h, \-\-help
Show help message.
.UNINDENT
.INDENT 0.0
.TP
.B \-V, \-\-version
Show version information.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-config\-file arg
Use alternative configuration file. When this option is
used the loading of all stages is disabled. Only the
given configuration file is parsed and used. To use
another name for the configuration create a symbolic
link of the application or copy it. Example:
scautopick \-> scautopick2.
.UNINDENT
.SS Verbosity
.INDENT 0.0
.TP
.B \-\-verbosity arg
Verbosity level [0..4]. 0:quiet, 1:error, 2:warning, 3:info,
4:debug.
.UNINDENT
.INDENT 0.0
.TP
.B \-v, \-\-v
Increase verbosity level (may be repeated, eg. \-vv).
.UNINDENT
.INDENT 0.0
.TP
.B \-q, \-\-quiet
Quiet mode: no logging output.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-component arg
Limit the logging to a certain component. This option can
be given more than once.
.UNINDENT
.INDENT 0.0
.TP
.B \-s, \-\-syslog
Use syslog logging backend. The output usually goes to
/var/lib/messages.
.UNINDENT
.INDENT 0.0
.TP
.B \-l, \-\-lockfile arg
Path to lock file.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-console arg
Send log output to stdout.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-debug
Execute in debug mode.
Equivalent to \-\-verbosity=4 \-\-console=1 .
.UNINDENT
.INDENT 0.0
.TP
.B \-\-log\-file arg
Use alternative log file.
.UNINDENT
.SS Database
.INDENT 0.0
.TP
.B \-\-db\-driver\-list
List all supported database drivers.
.UNINDENT
.INDENT 0.0
.TP
.B \-d, \-\-database arg
The database connection string, format:
\fI\%service://user:pwd@host/database\fP\&.
\(dqservice\(dq is the name of the database driver which
can be queried with \(dq\-\-db\-driver\-list\(dq.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-config\-module arg
The config module to use.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-inventory\-db arg
Load the inventory from the given database or file, format:
[\fI\%service://]location\fP .
.UNINDENT
.INDENT 0.0
.TP
.B \-\-db\-disable
Do not use the database at all
.UNINDENT
.SS Input
.INDENT 0.0
.TP
.B \-i, \-\-input arg
Name of input XML file. Read from stdin if \(aq\-\(aq is given.
Deactivates reading events from database.
.UNINDENT
.SS Events
.INDENT 0.0
.TP
.B \-\-begin time
Specify the lower bound of the time interval. Format:
2012\-01\-01T00:00:00.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-end time
Specify the upper bound of the time interval. Format:
2012\-01\-01T00:00:00.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-hours arg
Start searching given hours before now. If set, \-\-begin and
\-\-end are ignored.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-modified\-after time
Print IDs of events modified after the specified time.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-event\-type arg
The event type for filtering events.
Use quotes for types with more than one word.
Example: \(dqmining explosion\(dq.
.UNINDENT
.SS Output
.INDENT 0.0
.TP
.B \-D, \-\-delimiter string
Specify the delimiter of the resulting event IDs.
.UNINDENT
.INDENT 0.0
.TP
.B \-p, \-\-preferred\-origin
Print the ID of the preferred origin along with the event
ID.
.UNINDENT
.SH AUTHOR
gempa GmbH, GFZ Potsdam
.SH COPYRIGHT
gempa GmbH, GFZ Potsdam
.\" Generated by docutils manpage writer.
.