Save actlog ?

vilius.m

ADSM.ORG Senior Member
Joined
Jul 23, 2008
Messages
76
Reaction score
4
Points
0
Hello,

Using dsmadmc.
I query aclog by using:
Code:
q actlog begindate=MM/DD/YYYY
How do I save result logs to file for further analysis ?
(I mean save file to host from witch I issue dsmadmc command)

thanks
Vilius
 
dsmadmc -id=admin -password=admin -outfile=c:\tsmlog\actlog.txt q actlog begind=today-31
 
Hi,

You can alsouse redirections (> or >>), like in a shell :
Code:
q actlog begindate=MM/DD/YYYY > /path/to/file.out

Regards,
Erwann
 
Hi, do u know where the actlog is located in the TSM server? i was searching for that when i found this thread.
 
do u know where the actlog is located in the TSM server?

This is information stored in the TSM server database, not in a separate file.

If you want the information in a file. You can redirect the out put into a file, as mention earlier.

Sometimes the redirect put everything on one line.

To get the output that looks exactly what is on the screen:
dsmadmc -id=TSM_admin_id -pa=TSM_admin_pwd -Displaymode=list "q actlog begind=today-31" > /path/file name

select * from ACTLOG

If you have a busy TSM Server, I would not run the above select.
Since its getting ALL the messages in the actlog, the TSM Server will encounter a performance issue or it may crash.

Good Luck,
Sias
 
Back
Top