Comment
|
Using a time event-driven section and either the TEMAIL tag or an ODBC insert, you can utilize the GetNumSessions function to log to a file...the following sample will produce a line in an ASCII text file every 10 minutes-- note that the line-endings will not work in notepad.
<tesection check_sessions
when TimeInterval is 20>
<temail profile="DiskFile_Append"
Subject="d:\\source\\ss14\\hostserver\\sessions.txt"><teshow GetNumSessions("LU_GROUP_1")+","+now("local","5","-")>
</temail>
</tesection>
The above file can be imported into Excel for analysis--can also insert a row to an ODBC database as mentioned above...
|