---
title: 'Scrape Transaction Count from ESMAC'
url: 'https://jeepmonkey.com/blog/scrape-transaction-count-from-esmac'
markdown: 'https://jeepmonkey.com/blog/scrape-transaction-count-from-esmac.md'
date: '2014-03-20'
description: "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'"
taxonomy:
  category:
    - Computer
  tag:
    - linux
    - curl
    - microfocus
    - script
---

# Scrape Transaction Count from ESMAC

## [Scrape Transaction Count from ESMAC](https://jeepmonkey.com/blog/scrape-transaction-count-from-esmac)

    20th Mar 2014   [linux](https://jeepmonkey.com/tag:linux#body-wrapper) [curl](https://jeepmonkey.com/tag:curl#body-wrapper) [microfocus](https://jeepmonkey.com/tag:microfocus#body-wrapper) [script](https://jeepmonkey.com/tag:script#body-wrapper)  

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'

```

```

 [ Previous Post](https://jeepmonkey.com/blog/misc-rc-references) [Next Post ](https://jeepmonkey.com/blog/site-backup-via-script)

#### Popular Tags

---

## Navigation

- Parent: [Blog](https://jeepmonkey.com/index.md)
- Previous: [Site backup via script](https://jeepmonkey.com/blog/site-backup-via-script.md)
- Next: [Misc RC References](https://jeepmonkey.com/blog/misc-rc-references.md)
