CPU and Memory Monitoring
Top Command
top
command works on Linux platforms only.The top
command is used for memory and CPU monitoring.
The top
command produces an ordered list of running processes selected by user-specified criteria. The list is updated periodically. By default, ordering is by CPU usage and it shows the processes that consume maximum CPU. The top
command also shows how much processing power and memory are being used, as well as the other information about the running processes.
The top
command output monitors the memory as well as the CPU utilization of the TIBCO Flogo app binary.
The sample output is as follows:
Docker Stats Command
The docker stats
command returns a live data stream for running containers. To limit data to one or more specific containers, specify a list of container names or ids separated by a space.
The docker stats
command output monitors the memory as well as the CPU utilization of the TIBCO Flogo Enterprise app container and TCI Flogo app container.
-
CPU %
is the percentage of the host’s CPU the container is using. -
MEM USAGE / LIMIT
is the total memory the container is using and the total amount of memory, it is allowed to use.