SUA - Software Use Analysis Info - Windows - superseded
Log In or Register to download the BES file, and more.

0 Votes

Versioning - This is an older version.

1Software Use Analysis Info - Windows5/2/2013 9:21:56 AM
2SUA - Software Use Analysis Info - Windows5/2/2013 12:51:36 PM
3SUA - Software Usage Analysis Info - Windows6/20/2013 1:20:07 PM

Description

This Analysis is to gather data about clients who are reporting data to Software Use Analysis. The "Duration of Scan" property will likely report an error if the scan is in progress, and probably for other reasons I have not yet investigated. The "ScanLog-ModTime" property should be the time of the last scan, unless a scan is in progress. The "Time between Scan & Upload" property is the difference of the mod time of the newest upload and the mod time of the scan log, which may be incorrect/negative if a scan is in progresss.

NOTE: This is "BETA" code and is not fully tested or in full production. This is an attempt to gather helpful feedback on the status of SUA on the client.

NOTE: This has only been tested on Windows, but should work on other OSes with minor adjustments.


Property Details

ID107
StatusBeta - Preliminary testing ready for more
TitleSUA - Software Use Analysis Info - Windows
DomainBESC
KeywordsTEM SUA, SUA, IEM SUA, Software Use Analysis
Added by on 5/2/2013 12:51:36 PM
Last Modified by on 5/2/2013 12:51:36 PM
Counters 5884 Views / 4 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Properties

ScanLog-ModTime
Period 6 hours
 
  * Results in a true/false
Show indented relevance
if(not(exists parent folder of regapp "besclient.exe" AND exists folder (pathname of parent folder of regapp "besclient.exe" & "\LMT\ITSIT") AND exists file (pathname of parent folder of regapp "besclient.exe" & "\LMT\ITSIT\scan.log") )) then ERROR "no log" else (modification time of file (pathname of parent folder of regapp "besclient.exe" & "\LMT\ITSIT\scan.log") as string)
Results to Upload?
Period 6 hours
 
  * Results in a true/false
Show indented relevance
if (exists value of settings "ITSIT_Scanner_OutDir" of client) then (exists file (computer id as string & ".xml") of folder (value of settings "ITSIT_Scanner_OutDir" of client)) else (if (name of operating system as lowercase starts with "win") then (exists file (computer id as string & ".xml") of folder (pathname of parent folder of regapp "besclient.exe" & "\LMT\ITSIT")) else (exists file (computer id as string & ".xml") of folder ((pathname of parent folder of parent folder of client folder of site "actionsite") & "/LMT/ITSIT")))
Last Upload? (i think)
Period 6 hours
 
  * Results in a true/false
Show indented relevance
maximum of modification times of files whose(name of it ends with ".xml.bz2") of folder (pathname of parent folder of regapp "besclient.exe" & "\LMT\ITSIT")
Duration of Scan?
Period 6 hours
 
  * Results in a true/false
Show indented relevance
((following text of first ";" of it as string as time)-(preceding text of first ";" of it as string as time)) of concatenation ";" of (it as string) of following texts of firsts "# " of lines whose(it does not contain "Started" AND it does not contain "Complete" AND it contains ":" AND it contains "# ") of file "scan.log" of folder (pathname of parent folder of regapp "besclient.exe" & "\LMT\ITSIT")
Time between Scan & Upload
Period 6 hours
 
  * Results in a true/false
Show indented relevance
(maximum of modification times of files whose(name of it ends with ".xml.bz2") of folder (pathname of parent folder of regapp "besclient.exe" & "\LMT\ITSIT")) - (modification time of file (pathname of parent folder of regapp "besclient.exe" & "\LMT\ITSIT\scan.log"))

Relevance

isWindows (Relevance 1172)
Used in 1155 fixlets and 538 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Used in 2 analyses   * Results in a true/false
Show indented relevance
if (name of operating system as lowercase starts with "win") then (exists folder (pathname of parent folder of regapp "besclient.exe" & "\LMT\ITSIT") whose (exists file "itsit.exe" of it)) else (exists folder ((pathname of parent folder of parent folder of client folder of site "actionsite") & "/LMT/ITSIT") whose (exists file "itsit" of it))

Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
jgstew -
Analyses tend to be rather safe since they can't make changes to the system. This analysis was used in production, but I haven't used it recently so it is possible that some properties won't work, but even so they shouldn't cause any harm.
Devesh -
Hi , has this been tried and tested ? is this safe to use?