×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




There are lots of free tools for this available for Linux or other platforms, I imagine they could be made to run on IBM i rather simply.. that seems to me a much better option than writing your own.

But, if you did want to write your own, then you could do so. they are stream files stored in /www/YOUR-INSTANCE/logs. I would use the fopen/fgets/fclose family of IFS APIs to read them, should be fairly simple and fast. Then you'd need to parse the message and accumulate statistics, which might take a bit of coding -- certainly doable -- but here's where I think it might make a lot more sense to just grab an existing tool rather than write your own... it's not really difficult, just... why reinvent the wheel?

On 4/4/2015 10:35 AM, Chris wrote:
Is there any means of accessing these stats through RPG?



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.