Sometimes I need to analyse *something* in TSM (I'm very noob with TSM) and I never remember any commands
Basic (Useful) TSM commands
Analysing Logs
TSM> q actlog
Analysing DB
TSM> q db
Analysing Storage Pool
TSM> q stgpool
Analysing volumes inside the library
TSM>q libvol
Analysing all volumes in Tape Storage Pool
TSM> q vol devclass=ltoclass
Analysing backups in db (executed)
TSM> q volhist type=dbb
Write a label on a volume
TSM> run label “volume name”
Remove a volume from LTO
TSM> run DISMOUNT “volume name”
Verify existing scripts
TSM> q script
Verifying commands executed from one script
TSM> q script f=d
Verifying sessions
TSM> q sess
Canceling a session
TSM>cancel sess “session number”
Show data from scheduled client on the current day
TSM> q event * *
Show data from scheduled client on the next day
TSM> q event * * begind=+1
Show data from administrative schedule on the current day
TSM> q event * t=a
Show data from administrative schedule on the next day
TSM> q event * t=a begind=+1
Show process
TSM> q proc
Show Tape requisition
TSM> q req
Show a tape into the drive
TSM> q mount
very usefully commends......hands of to the one who did this
ReplyDeletevery useful and easy god bless u
ReplyDeleteJust what I was looking for...thank you.
ReplyDeleteExcellent. Handy information.
ReplyDeleteThanks and regards,
P.S.MURALI
this is really helpful to me ,
ReplyDeletei want to learn more comments on tsm,help me in this
thank u
very usefully commends……hands of to the one who did this
ReplyDeletethis is really helpful to me , thanks a lot.
ReplyDeletei want to learn more comments on tsm,help me in this
Many thanks for your contribution.
ReplyDeleteIt was really excellent i need some more regular used TSM commands
ReplyDeletecan u guys provide