Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

streams writing to drives

Created: 07 Nov 2013 • Updated: 08 Nov 2013 | 4 comments
This issue has been solved. See solution.

Good morning.

I am after a bit of advice please.

NBU 7.1.0.4 running on AIX 7.1

2 x Tape libraries as backup targets

I was wondering if there was a command (or a list of commands) I can run to find out exactly how many streams are writing to each tape device at a particular time.  I have looked at nbrbutil and I can see the allocations to a drive however I was wondering if there was any other useful commands out there that I hadn't stumbled upon yet.

Thanks in advance

Operating Systems:

Comments 4 CommentsJump to latest comment

Nicolai's picture

Would be a great feature if such a command existed. The only way I know is using bpdbjobs -all_columns and then do a sort/grep of the tape field.

You should be able to find the media ID field from this tech note.

http://www.symantec.com/docs/HOWTO72644

Best Regards

Nicolai

Assumption is the mother of all mess ups.

If this post answered your'e qustion -  Please mark as a soloution.

SOLUTION
sri vani's picture

also for a particular tape:

sudo ./bpimagelist -L | grep "Medianame0107L5" |awk 'BEGIN{x=0;}{x=x+$1;}END{x;}'

sri vani's picture

my bad,This reply applies to only completed backup not for the backups which are currently active

asru1927's picture

Hi,

Thanks for the responses.

I have searched the highs and lows for such command and agree with NIcolai that it would be a really useful feature.  The way I have been achieving this is running the following:

nbrbustil -listActiveJobs 

and then matching the Jobid to what I can see the in activity monitor...