lcm-logger(1) - Linux man page

Name

lcm-logger - data logger

Synopsis

lcm-logger [options] [FILE]

Description

lcm-logger is the Lightweight Communications and Marshalling message logging utility. It subscribes to all channels on an LCM network, and records all messages received to FILE. If FILE is not specified, then a filename is automatically chosen.

Options

The following options are provided by lcm-logger
--auto-split-hours=N
Automatically start writing to a new log file every N hours (can be fractional). This option implies -i.
--auto-split-mb=N
Automatically start writing to a new log file once the log file exceeds N MB in size (can be fractional). This option implies -i.
-c, --channel=CHAN
Channel string to pass to lcm_subscribe. (default: ".*")
-f, --force
Overwrite existing files. The default behavior is to fail if the output file already exists.
-h, --help
Shows some help text and exits
-i, --increment
Automatically append a suffix to FILE such that the resulting filename does not already exist. This option precludes -f.
-l, --lcm-url=URL
Log messages on the specified LCM URL
-m, --max-unwritten-mb=SIZE
Maximum size of received but unwritten messages to store in memory before dropping messages. (default: 100 MB)
-s, --strftime
Format FILE with strftime.
-v, --invert-channels
Invert channels. Log evertyhing that CHAN does not match.

See Also

strftime(3)

Copyright

lcm-logger is part of the Lightweight Communications and Marshalling (LCM) project. Permission is granted to copy, distribute and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. See the file COPYING in the LCM distribution for more details regarding distribution.

LCM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with LCM; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Author

This manual page was written by Albert Huang.

Referenced By

lcm-logplayer-gui(1)