Hi Pushp,
For 1. UPDATE MONITOR SWITCHES
To activate any of the local monitor switches use the UPDATE MONITOR SWITCHES command.
The switches will remain active until the application (CLP) detaches, or until they are deactivated with another UPDATE MONITOR SWITCHES command.
2. UPDATE DATABASE MANAGER
It is also possible to manipulate the monitor switches at the database manager level. This involves changing the dft_monswitches parameters in the database manager configuration file, using the UPDATE DBM CFG command.
Whenever a monitoring application is started, it inherits its monitor switch settings from the database manager. Any changes to the database manager's monitor switch settings will not impact any running monitoring applications. Monitoring applications must reattach themselves to the instance to pick up any changes to monitor switch settings.
Functionally both are doing the same thing.
Regards,
Prashant