1apptainer(1)                                                      apptainer(1)
2
3
4

NAME

6       apptainer-instance-stats - Get stats for a named instance
7
8
9

SYNOPSIS

11       apptainer instance stats [stats options...]
12
13
14

DESCRIPTION

16       The instance stats command allows you to get statistics for a named in‐
17       stance,
18         either printed to the terminal or in json. If you are root,  you  can
19       optionally
20         ask  for  statistics for a container instance belonging to a specific
21       user. If
22         you add --no-stream, you will only see one timepoint. Asking for json
23       implies
24         the same.
25
26
27

OPTIONS

29       -h, --help[=false]      help for stats
30
31
32       -j, --json[=false]      output stats in json
33
34
35       --no-stream[=false]       disable  streaming  (live update) of instance
36       stats
37
38
39       -u, --user=""      view stats for an instance belonging to a user (root
40       only)
41
42
43

EXAMPLE

45                $ apptainer instance stats mysql
46                $ apptainer instance stats --json mysql
47                $ apptainer instance stats --no-stream mysql
48                $ sudo apptainer instance stats --user <username> user-mysql
49
50
51
52

SEE ALSO

54       apptainer-instance(1)
55
56
57

HISTORY

59       22-Nov-2023 Auto generated by spf13/cobra
60
61
62
63Auto generated by spf13/cobra      Nov 2023                       apptainer(1)
Impressum