This post is more than 5 years old
194 Posts
0
467
October 16th, 2006 06:00
Is there a way to record tape performance on RedHat Linux
Greetings,
On Tru64 there is the 'collect' utility that allows me to record the performance of tape drives (data transferred in KBs/sec) and generate graphs of it. I'd like to do the same on RedHat Linux. I've looked at the 'sar' (System Activity Reporter) utility but it doesn't report tape performance metrics and I can't find any other utility that'll do this.
In nwadmin (v7.2.2) it shows the data transfer rate during backups. I know it's a long shot but is there a way I can get access to this and record it?
Thanks,
Vic
On Tru64 there is the 'collect' utility that allows me to record the performance of tape drives (data transferred in KBs/sec) and generate graphs of it. I'd like to do the same on RedHat Linux. I've looked at the 'sar' (System Activity Reporter) utility but it doesn't report tape performance metrics and I can't find any other utility that'll do this.
In nwadmin (v7.2.2) it shows the data transfer rate during backups. I know it's a long shot but is there a way I can get access to this and record it?
Thanks,
Vic
No Events found!


mchurchill1
3 Posts
0
October 16th, 2006 06:00
The output you see in the nwadmin window is extractable using nsradmin, something like:
nsradmin -i - <<_EOT_
option hidden
show name; NSR operation; statistics
print type: nsr device
_EOT_
sample output:
--v--
Hidden display option turned on
Display options:
Dynamic: Off;
Hidden: On;
Resource ID: Off;
name: /dev/rmt/0cbn;
NSR operation: ;
statistics: elapsed = 2513, errors = 0, last rate = 0,
max clients = 0, file marks = 0, rewinds = 1,
files skipped = 0, records skipped = 0,
current file = 0, current record = 0,
seek files = 0, seek records = 0,
estimated kb = 0, amount kb = 0,
file amount kb = 0, sessions = 0;
--^--
Basically your get the current operational statistics for each drive.
Useful fields in the output:
'name', the drive name (ie: /dev/rmt/0cbn'
'NSR operation' will show 'Write' during backup, 'Read' during restore
'sessions' during a backup would show how many active sessions are being written
'last rate; shows the data transfer rate
_____
Taking it further by using a script to collect this information during a backup/restore you could then extract the desired data and load that into your favourite spreadsheet and generate your graph.
vsemaska
194 Posts
0
October 16th, 2006 07:00
Vic