Basic (Useful) TSM Commands

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

3 Comments so far

  1. gopinath on May 8, 2008

    very usefully commends……hands of to the one who did this

  2. selva on May 26, 2008

    very useful and easy god bless u

  3. Jason K on May 29, 2008

    Just what I was looking for…thank you.

Leave a reply