The counters command should be able to stream out counters updates, perhaps at set intervals.
I.E.
watch -n java -jar command-log.jar -t counters -d /dev/shm
becomes something like
java -jar command-log.jar -t counters -i 5 (where i is the interval it updates at)