infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Tcl Library
Utility to Count HL7 messages in multiple files
Nick Schneider
Has anyone written a utility that could scan through multiple smat files and count how many total messages were contained in the group of files.
Thanks,
Nick
Find more posts tagged with
Clovertech
Comments
david_barr
How about "grep LENGTH *.idx | wc -l"?
Nick Schneider
That will do it. I don't know why I didn't think of that in the first place.
Thanks,
Nick
Russ Ross
I've found the histmsat script useful for this sort of thing.
Here is a clovertech URL that posted the histsmat perl script and some example usage and output.
Message traffic monitor
Thanks to James Cobane for posting the code in the above URL.
The nice thing about histsmat is it allows you to list message flow in a granualar way that helps determine message flow during peak times.