flux-startlog(1)

SYNOPSIS

flux startlog

DESCRIPTION

List the Flux instance's start and stop times, by interpreting the contents of the KVS admin.eventlog.

A start event is posted to the eventlog at startup, and a finish event is posted to the eventlog at finalization. The timestamps on the two events are used to calculate the instance run time, which is shown in the listing in Flux Standard Duration format.

If the current start event is not immediately preceded by a finish event (unless it is the first entry in the eventlog), then the Flux instance may have crashed and data may have been lost. If this is detected on instance startup, Flux is placed into a safe mode where scheduling and job submission are disabled, to avoid further damage pending recovery.

This command is not available to guest users.

OPTIONS

-h, --help

Summarize available options.

--check

If the instance has most recently restarted from a crash, exit with a return code of 1, otherwise 0.

--quiet

Suppress non-error output.

-v, --show-version

Show the flux-core software version associated with each start event.

RESOURCES

Flux: http://flux-framework.org

RFC 18: KVS Event Log Format: https://flux-framework.readthedocs.io/projects/flux-rfc/en/latest/spec_18.html

RFC 23: Flux Standard Duration: https://flux-framework.readthedocs.io/projects/flux-rfc/en/latest/spec_23.html

SEE ALSO

flux-uptime(1), flux-kvs(1)