In addition to your excellent reply, Roland - let mi just highlight one aspect: original poster was asking for get a accurate memory value at any point in time.
Not questioning sense of such request - it excludes tools which require connection to a database - therefore activation of the database.
Db2pd, deprecated db2mtrk and MON_GET_MEMORY_POOL and/or the MON_GET_MEMORY_SET table functions (if connection to database is acceptable) appear to be only tools of trade available.
Original Message:
Sent: Fri August 25, 2023 01:26 AM
From: Roland Schock
Subject: DB2 LUW memory value
Well, db2top was given up in newer versions. The replacement dsmtop has a serious disadvantage of needing a JDBC connection to a database on the system. Db2top was directly accessing memory pages and the data stored there.
The next utility dmc also requires a connection to the database.
For an external consultant it is crucial that the tools are already present on the machine (db2pd, dsmtop), and do not need to be installed first (dmc).
------------------------------
Roland Schock
IBM Champion and IBM Gold Consultant
Original Message:
Sent: Thu August 24, 2023 10:24 AM
From: Youssef Sbai Idrissi
Subject: DB2 LUW memory value
I guess db2top would do the trick !
------------------------------
Youssef Sbai Idrissi
Software Engineer
Original Message:
Sent: Mon August 21, 2023 05:05 AM
From: Raghavendra C
Subject: DB2 LUW memory value
Is it possible to get a accurate memory value at any point in time in DB2 LUW?
------------------------------
Raghavendra C
------------------------------