Select for total object count of System State backups

Andrew21210

ADSM.ORG Member
Joined
Apr 10, 2008
Messages
97
Reaction score
2
Points
0
Is it possible to run a select that will give me the total object count to the System State backups on my server? If anyone has a canned select, I'd be happy to have it.
 
Simple

Code:
select filespace_name,num_files from occupancy where node_name='<node_name_in_CAPS>' and filespace_name like '%\SystemState'
 
Simple

Code:
select filespace_name,num_files from occupancy where node_name='<node_name_in_CAPS>' and filespace_name like '%\SystemState'

Thanks. What I'm looking for is the total number of System State objects though. Not on a per node basis but a total on my TSM server.
 
Thanks. What I'm looking for is the total number of System State objects though. Not on a per node basis but a total on my TSM server.
Try:
Code:
select sum(num_files) from occupancy where filespace_name like '%\SystemState'
 
Excellent. That is exactly what I was after. Thank you.
 
Back
Top