Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

Calculate , how much has been restored from tape in 1 minute

Alok_Behria
Advisor

Calculate , how much has been restored from tape in 1 minute

 

Hi All,

 

jdatest> uname -a
HP-UX jdadev B.11.11 U 9000/800 3251073457 unlimited-user license

 

We are in process of retoring datafiles from tape. it appeares to us that tapes are really slow to respond and now I am thinking of ctreating one schell script , which would able to calculate the data restored in terms of MB/per per minute. Looking forward to hear from you.

 

Regards

Alok

 

 

 

 

 

 

5 REPLIES
Torsten.
Acclaimed Contributor

Re: Calculate , how much has been restored from tape in 1 minute

I would first check the bus speed (depending on technology used).

 

Example:

 

# scsictl -c get_target_parm /dev/rdsk/c2t0d0

 

# mptconfig /dev/mpt0


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Alok_Behria
Advisor

Re: Calculate , how much has been restored from tape in 1 minute

Thanks for the inputs. I think , my mistake , as I did not describe the way . I'd like it be. well, I have around 46 mound points like  /db/jdatest/data1 to  /db/jdatest/data46 and I am trying to do the df -P  at 2 different interval to calculate , how much has been restored to disk from tape. since this effort is manual , I was thinking of creating a script , which will periodically tell us , how much being restored. I hope, I was able to communicated my point of concern this time.

Torsten.
Acclaimed Contributor

Re: Calculate , how much has been restored from tape in 1 minute

But "slow" may depend on the way you restore or the bus between the devices or even a problem with the tape drive itself.

I would also do an assessment test using LTT http://www.hp.com/support/tapetools

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Highlighted
Alok_Behria
Advisor

Re: Calculate , how much has been restored from tape in 1 minute

 

 

Agreed!! but right now, I do not have access to these tapes and are made to wait for no reasons. I just need a way to calcualte , how much is getiing added to disks with the help of script. hope, you you understand.

 

Regards

Alok

Bill Hassell
Honored Contributor

Re: Calculate , how much has been restored from tape in 1 minute

The simplest is to run this command line.

 

while : ; do du -sk /Dir_to_Watch;sleep 60;done

 This will report the total number of Kbytes in the directory you want to watch every 60 seconds.

 

 



Bill Hassell, sysadmin