- yamcs
- yamcs alarms
- yamcs algorithms
- yamcs commands
- yamcs config
- yamcs containers
- yamcs dbshell
- yamcs events
- yamcs instances
- yamcs links
- yamcs login
- yamcs logout
- yamcs packets
- yamcs parameter-archive
- yamcs parameters
- yamcs processors
- yamcs rocksdb
- yamcs services
- yamcs space-systems
- yamcs storage
- yamcs streams
- yamcs tables
yamcs packets¶
Synopsis¶
Description¶
Read packets.
Commands¶
- log [-p <PACKET> --packet <PACKET>] [-n <LINES>, --lines <LINES>] [-s <DATE>, --since <DATE>] [-u <DATE>, --until <DATE>] [--filter <EXPRESSION>]
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
CcsdsTmIndexservice 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, orallto show all.Default: 10, but only when
--sinceand--untilare 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.
- --filter <EXPRESSION>¶
With
log, include packets that match the filter expression.
Timestamps¶
When parsing timestamps, yamcs-cli accepts a specification in ISO format. The following special patterns are also recognised:
now: current timenow UTC: current UTC timetoday: 00:00:00 of the current daytoday UTC: 00:00:00 UTC of the current dayyesterday: 00:00:00 of the day beforeyesterday UTC: 00:00:00 UTC of the day beforetomorrow: 00:00:00 of the next daytomorrow UTC: 00:00:00 UTC of the next day