Skip to content

add option to flux job attach to ignore existing output #6843

Description

@grondo

A use case for flux job attach to a running job is for users to occasionally attach and interact with a job that has a cli type interface. However, currently flux job attach always emits all previous output that is in the eventlog, and this can get annoying if the job has been running for a long time with a lot of output.

It would therefore be useful to add an option to flux job attach to only display the last bit of output. The command would likely still need to process all the data since I don't think there's a way to "tail" an eventlog from the KVS, but it would only actually display the most recent bit. Actually implementing this could be slightly challenging since I'm not sure if there's a way to tell when you've "caught up" when watching an eventlog.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions