Get current db2 database size

Today I needed to get database size for one of my databases. I find a partial solution here. My first choice was this stored procedure, which needs to be called from command line: