singularity instance stats

Get stats for a named instance

Synopsis

The instance stats command allows you to get statistics for a named instance, either printed to the terminal or in json. If you are root, you can optionally ask for statistics for a container instance belonging to a specific user. If you add –no-stream, you will only see one timepoint. Asking for json implies the same.

singularity instance stats [stats options...] <instance name>

Examples

$ singularity instance stats mysql
$ singularity instance stats --json mysql
$ singularity instance stats --no-stream mysql
$ sudo singularity instance stats --user <username> user-mysql

Options

-h, --help          help for stats
-j, --json          output stats in json
    --no-stream     disable streaming (live update) of instance stats
-u, --user string   view stats for an instance belonging to a user (root only)

SEE ALSO

Auto generated by spf13/cobra on 23-Nov-2023