Showing posts with label Basic (Useful) TSM commands. Show all posts
Showing posts with label Basic (Useful) TSM commands. Show all posts

Tuesday, 12 March 2013

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