DSMC INC output

pjvaldez

Newcomer
Joined
Jan 22, 2014
Messages
2
Reaction score
0
Points
0
Hey Guys,

Seeing if anyone might have any insight of this, trying to make a report with details and metrics about the following nights backups. I see there are a ton of ways querying that info in the TSM SUMMARY Table Space, but was wondering if there is another location where DSMC INC is outputed too (so if you were to run DSMC in console mode and just initiate INC you get something like this)



Total number of objects inspected: 1,545
Total number of objects backed up: 4
Total number of objects updated: 0
Total number of objects rebound: 0
Total number of objects deleted: 0
Total number of objects expired: 0
Total number of objects failed: 0
Total number of bytes inspected: 3.30 TB
Total number of bytes transferred: 1.01 GB
Data transfer time: 7.65 sec
Network data transfer rate: 139,268.51 KB/sec
Aggregate data transfer rate: 70,175.99 KB/sec
Objects compressed by: 0%
Total data reduction ratio: 99.97%
Elapsed processing time: 00:00:15
tsm>


I've seen this info in the actlog if you were to search for ANES????I
But I'd like it in the form above. Any idea how to grab that block of info? Or some way to redirect that to a log?
NOTE: I know I can do this via redirecting and Logs, but we run the backups with Schedules, only way to redirect that info seems to be from manually starting a backup.
dsmc inc > /path/to/logs/Jobhist.log
Again, just curious, would help a lot. Thanks.


tsm: TSMSERVER>q actlog begint=-00:05 s=ANE????I

Date/Time Message
-------------------- ----------------------------------------------------------
06/15/15 11:32:19 ANE4952I (Session: 3706, Node: 1Y_REDUNDANCY) Total
number of objects inspected: 1,545 (SESSION: 3706)
06/15/15 11:32:19 ANE4954I (Session: 3706, Node: 1Y_REDUNDANCY) Total
number of objects backed up: 4 (SESSION: 3706)
06/15/15 11:32:19 ANE4958I (Session: 3706, Node: 1Y_REDUNDANCY) Total
number of objects updated: 0 (SESSION: 3706)
06/15/15 11:32:19 ANE4960I (Session: 3706, Node: 1Y_REDUNDANCY) Total
number of objects rebound: 0 (SESSION: 3706)
06/15/15 11:32:19 ANE4957I (Session: 3706, Node: 1Y_REDUNDANCY) Total
number of objects deleted: 0 (SESSION: 3706)
06/15/15 11:32:19 ANE4970I (Session: 3706, Node: 1Y_REDUNDANCY) Total
number of objects expired: 0 (SESSION: 3706)
06/15/15 11:32:19 ANE4959I (Session: 3706, Node: 1Y_REDUNDANCY) Total
number of objects failed: 0 (SESSION: 3706)
06/15/15 11:32:19 ANE4977I (Session: 3706, Node: 1Y_REDUNDANCY) Total
number of bytes inspected: 3.30 TB (SESSION:
3706)
06/15/15 11:32:19 ANE4961I (Session: 3706, Node: 1Y_REDUNDANCY) Total
number of bytes transferred: 1.01 GB (SESSION:
3706)
06/15/15 11:32:19 ANE4963I (Session: 3706, Node: 1Y_REDUNDANCY) Data
transfer time: 7.65 sec (SESSION:
3706)
06/15/15 11:32:19 ANE4966I (Session: 3706, Node: 1Y_REDUNDANCY) Network
data transfer rate: 139,268.51 KB/sec (SESSION:
3706)
06/15/15 11:32:19 ANE4967I (Session: 3706, Node: 1Y_REDUNDANCY) Aggregate
data transfer rate: 70,175.99 KB/sec (SESSION:
3706)
06/15/15 11:32:19 ANE4968I (Session: 3706, Node: 1Y_REDUNDANCY) Objects
compressed by: 0% (SESSION: 3706)
06/15/15 11:32:19 ANE4976I (Session: 3706, Node: 1Y_REDUNDANCY) Total data
reduction ratio: 99.97% (SESSION: 3706)
06/15/15 11:32:19 ANE4964I (Session: 3706, Node: 1Y_REDUNDANCY) Elapsed
processing time: 00:00:15 (SESSION: 3706)
06/15/15 11:33:43 ANR2017I Administrator JONATHANVALDEZ issued command:
QUERY ACTLOG begint=-00:05 s=ANE????I (SESSION: 3711)
 
Since that info is written in the dsmsched.log. Why don't you just use grep to parse out the info:
grep -A 14 "objects inspected" dsmsched.log > output.txt
 
Since that info is written in the dsmsched.log. Why don't you just use grep to parse out the info:
grep -A 14 "objects inspected" dsmsched.log > output.txt
 
Back
Top