Check and monitor CPU and RAM usage
A popular method to monitor CPU and memory usage is the top
command. Importantly, it is available out of the box in the Linux server configuration recommended for TASSTA deployment. Running the program without parameters starts it in interactive mode.
To run the program in a non-interactive way (for use in a shell script), you can include the -bn 1
parameters.
The strictly interactive htop
program, which is installed as part of TASSTA deployment, is similar to top
but more feature-rich and can provide a clearer insight into the running processes and use of resources.