Tag Archives of : database

Bandwidth usage report per IP address

I created a simple python script for collecting data from mikrotik accounting (documetation) feature. Here is my “” script: all you need to change is router_ip variable to match your router IP after that you can run this script simply with this command: python this will collect data from...

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: