/  Yamcs CLI  /  yamcs packets

yamcs packets

Synopsis

yamcs packets log [-p <PACKET>, --packet <PACKET>]
[-n <LINES>, --lines <LINES>] [-s <DATE>, --since <DATE>]
[-u <DATE>, --until <DATE>]
yamcs packets rebuild-histogram [-s <DATE>, --since <DATE>]
[-u <DATE>, --until <DATE>]
yamcs packets rebuild-ccsds-index [-s <DATE>, --since <DATE>]
[-u <DATE>, --until <DATE>]

Description

Read packets.

Commands

log [-p <PACKET> --packet <PACKET>] [-n <LINES>, --lines <LINES>] [-s <DATE>, --since <DATE>] [-u <DATE>, --until <DATE>]

Read packet log

rebuild-histogram [-s <DATE>, --since <DATE>] [-u <DATE>, --until <DATE>]

Rebuilds the packet histogram. This may be necessary for example after bulk loading data.

rebuild-ccsds-index [-s <DATE>, --since <DATE>] [-u <DATE>, --until <DATE>]

Rebuilds the CCSDS index. This may be necessary for example after bulk loading data.

This method is only applicable when a CcsdsTmIndex service is used to calculate completeness.

Options

-p <PACKET>, --packet <PACKETS>

With log, filter by packet name.

-n <LINES>, --lines <LINES>

With log, specify the number of packets to show, or all to show all.

Default: 10, but only when --since and --until are unset.

-s <DATE>, --since <DATE>

Include packets not older than the specified date.

The date should be specified in ISO format or as detailed under Timestamps.

-u <DATE>, --until <DATE>

Include packets not newer than the specified date.

The date should be specified in ISO format or as detailed under Timestamps.

Timestamps

When parsing timestamps, yamcs-cli accepts a specification in ISO format. The following special patterns are also recognised:

  • now: current time

  • now UTC: current UTC time

  • today: 00:00:00 of the current day

  • today UTC: 00:00:00 UTC of the current day

  • yesterday: 00:00:00 of the day before

  • yesterday UTC: 00:00:00 UTC of the day before

  • tomorrow: 00:00:00 of the next day

  • tomorrow UTC: 00:00:00 UTC of the next day