Check manual page of db2_mem
Memory usage of db2 instances
This Check determines the memory limit and the usage limit for
each db2 instance found on server. The agent plugin db2_mem is needed.
The agent plugin greps for the instances in the process list, and try
to switch to each instance and execute db2pd -dptnmem.
One service will be created for each instance