sloppy stats command displays usage statistics of running instances (memory, traffic). It’s always good to know how much it takes to keep your applications running.
The general syntax of the
sloppy stats command is as follows:
$ sloppy stats [OPTIONS] MyProjectName
The following options will work in conjunction with the
sloppy stats command.
--help Show help for command. -a, --all Show all instances (default shows just running instances).
Once you have executed the
sloppy stats command, it will return the statistics of applications contained in the project, like in this example:
$ sloppy stats wordpress
CONTAINER MEM / LIMIT MEM % NET I/O Extern NET I/O Intern LAST UPDATE
frontend/apache-bff845 25.5 MiB / 512 MiB 5.0% 4.32 KiB / 1.19 KiB 5.22 MiB / 1.29 KiB Less than a second
backend/mysql-f67490 276 MiB / 512 MiB 54.0% 25.9 KiB / 648 B 12.7 MiB / 29.9 KiB 1 seconds
What does this information tell you?
| Note, that this output is just showing information of the running instances. If you want to see the output of all instances, you need to add
MEM / LIMIT
This column shows how much memory your application is using from total possible per instance.
How many percent are used out of total memory.
NET I/O EXTERN
External network traffic usage.
NET I/O INTERN
Internal network traffic usage.
Shows the last time the statistics information was updated.