Skip to content

Feature request: add loop mode for --snapshot #402

@DirtYiCE

Description

@DirtYiCE

Normal top has -b (and -d) to have it print info to stdout periodically, nvidia-smi has --loop to do the same, could nvtop's snapshot gain the same functionality? (And maybe have it output a single line for easier interop with line based tools). It would save me from spawning a new process and doing all the initialization logic periodically (which is especially painful on nvidia cards, where a single nvtop -s run can take 1.5 seconds with ~80% SYS CPU usage during that period).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions