How does File Size Test perform test?

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
ironcurtain
Posts: 34
Joined: Mon Apr 28, 2008 10:15 am

How does File Size Test perform test?

Post by ironcurtain »

I am interested to know how the File Size Test operates, please.

I have the following files all in the same directory, which are generated every 5 minutes

For example:
200808082240_FilenameAHU.CSV
200808082240_FilenameQYU.XML

Then again 5 minutes later
200808082245_FilenameAUH.CSV
200808082245_FilenameQYU.xml

Eventually there are a large number of these files in the same directory.
I'm wondering how HostMonitor operates to check for file size, please?

Will HostMonitor choose the latest file by timestamp?
or
Does HostMonitor walk the directory, so reading the files by file name? If so, then it would not be reporting on the most recently generated file in the directory.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If you specify test name, HostMonitor will check specific file.
If you use wildcards (*, ?), HostMonitor will check 1st matched file. If you want to know order of the files, use standard "dir" command.
If you need to monitor group of files, you may try Count Files test method

Regards
Alex
Post Reply