Scrape Transaction Count from ESMAC

Command to get the current transaction count from the command line of a Micro Focus Server Enterprise Edition (assume it will work for Enterprise Server as well).

curl -silent http://servername:9503/esmac/casrdo5 | grep -A 1 Transactions | tail -1 | sed -e 's/<[^>]*>//g' -e 's/ //g'

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *