To check total disk usage and inodes usage, please run following commands: (note, that we assume xtm is installed in its default location)
And watch for combined disk usage. A sample below:
Now, we can check for inodes in the same way:
And a result of it, showing total inodes used by these directories:
A most basic check is to run the command:
and then check the "RES" column – which shows the "Resident size" for processes run by xtm user ( the application runs under xtm user privileges )
A more comprehensive way to check how much memory is used by xtm application can be accomplished by running the command below:
In this example, we use a percentage instead of numeric values and we narrow down the list to only show the java processes. You can tailor it to your own needs with many switches – please refer to man smem. Here we also showed the main component usage, for total usage, please read the note below:
NOTE: To get actual usage, you need also include not only java processes, but also e.g. httpd service, as it also runs simultaneously with the application, and then sum up all the values.
As with the memory example, to count total cpu usage we need to sum up a %of CPU time of all components of xtm: the java processes, user processes and httpd processes.
It can be achieved by running top command:
There you need to sum up the %cpu of java, httpd and additional user's processes to get the grand total value.