TSM query from activity log message formatting

yuki

ADSM.ORG Member
Joined
Jun 30, 2004
Messages
79
Reaction score
3
Points
0
Location
Finland
Website
Visit site
Hello all,

Using command:

SELECT MESSAGE from ACTLOG where MSGNO=4143 and nodename='XXXX' and date_time between '%s' and '%s'

Result:

ANE4143I Total number of virtual machines failed: 1(SESSION: 2109)

Is it possible to get only number of failed VMs?

I need only numeric value of failed VMs...

Same thing about names of VMs with MSGNO 4142, how to get only VM name from message?
 
Thanks Chad,

I got script work good enough, for VMs with longer names than "normal" i just take first letters and ignore rest.
 
Back
Top