Veritas-bu

[Veritas-bu] Drive Utilization

2002-03-28 15:40:28
Subject: [Veritas-bu] Drive Utilization
From: jaearick AT colby DOT edu (Jeff A. Earickson)
Date: Thu, 28 Mar 2002 15:40:28 -0500 (EST)
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime AT docserver.cac.washington DOT edu for more info.

---559023410-1144747756-1017348028=:670
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi,
   Funny, but I needed the same info the other day, when I wanted to know
what machine/class was backing up to what drive, when, and what tape it
was writing to.  Hey Veritas, how come no nice report to tell you?

* start time of backup job
* stop time of backup job
* elapsed time and thruput rate
* what drive got used and what tape got written to

Really cool would be a GUI barchart that showed, on a per drive basis,
machine backups over time.

Anyway, I cooked up the attached shell script to go thru every class,
show what happened in the previous 24 hours (weeding out trivial messages),
and give me real timestamps as well.  The output is not pretty but the
info is all there for a backup or restore.  Output looks like:

============== diamond
Wed Mar 27 18:07:35 2002 added backup job for client diamond, class diamond, 
schedule Full part 0 to NetBackup scheduler work queue
Wed Mar 27 18:25:25 2002 started backup job for client diamond, class diamond, 
schedule Full on storage unit slate-dlt-robot-tld-0
Wed Mar 27 18:25:27 2002 client diamond handling path ALL_LOCAL_DRIVES
Wed Mar 27 18:25:39 2002 begin writing backup id diamond_1017271525, copy 1, 
fragment 1, to media id QWC775 on drive index 1
Wed Mar 27 19:10:09 2002 successfully wrote backup id diamond_1017271525, copy 
1, fragment 1, 8677536 Kbytes at 3271.484 Kbytes/sec
Wed Mar 27 19:10:11 2002 CLIENT diamond CLASS diamond SCHED Full EXIT STATUS 0 
(the requested operation was successfully completed)
Thu Mar 28 10:18:54 2002 Media id QZF816 is needed for the restore.
Thu Mar 28 10:24:28 2002 begin reading backup id onyx_1015153648 (restore), 
copy 1, fragment 1 from media id QZF816 on drive index 1
Thu Mar 28 10:24:29 2002 successfully restored from backup id onyx_1015153648, 
copy 1, 160 kbytes

** Jeff A. Earickson, Ph.D                         PHONE: 207-872-3659
** Senior UNIX Sysadmin, Information Technology    EMAIL: jaearick AT colby DOT 
edu
** Colby College, 4214 Mayflower Hill,               FAX: 207-872-3076
** Waterville ME, 04901-8842
----------------------------------------------------------------------------

On Thu, 28 Mar 2002, Gary Sperano wrote:

> Date: Thu, 28 Mar 2002 14:43:14 -0500
> From: Gary Sperano <gsperano AT powertel DOT com>
> To: veritas-bu AT mailman.eng.auburn DOT edu
> Subject: [Veritas-bu] Drive Utilization
>
>
>
> Does anybody have any good scripts (ksh, perl, etc) that reports drive(s)
> utilization or know where to obtain this type of process from?
>
> Gary A. Sperano Jr
> Technical Specialist
> VoiceStream
> PCS: 404-610-9566
> Desk: 770-604-3165
> Gsperano AT powertel DOT com
>
>
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>

---559023410-1144747756-1017348028=:670
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="action.summary"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.SOL.4.44.0203281540280.670@cayuga>
Content-Description: 
Content-Disposition: attachment; filename="action.summary"

IyEvdXNyL2Jpbi9zaA0KTkVUQkFDS1VQPS9vcHQvb3BlbnYvbmV0YmFja3Vw
DQpWT0xNR1I9L29wdC9vcGVudi92b2xtZ3INClBBVEg9L3Vzci9iaW46JE5F
VEJBQ0tVUC9iaW46JE5FVEJBQ0tVUC9iaW4vYWRtaW5jbWQ6JFZPTE1HUi9i
aW46JE5FVEJBQ0tVUC9iaW4vZ29vZGllcw0KZXhwb3J0IFBBVEgNCg0KUElQ
RT0nL3Vzci9iaW4vdHIgLXMgIlwwNDAiICJ8IicNClVOUElQRT0nL3Vzci9i
aW4vdHIgLXMgInwiICJcMDQwIicNCg0KZm9yIGNsYXNzIGluIGBscyAtMSAk
TkVUQkFDS1VQL2RiL2NsYXNzYA0KZG8NCgllY2hvICI9PT09PT09PT09PT09
PSAkY2xhc3MiDQoJYnBlcnJvciAtbCAtY2xpZW50ICRjbGFzcyAtaG91cnNh
Z28gMjQgfCBncmVwIC12IFRSViB8ICRQSVBFID4gL3RtcC95eXkNCglmb3Ig
bGluZSBpbiBgY2F0IC90bXAveXl5YA0KCWRvDQoJCXRpbWVzdGFtcD1gZWNo
byAkbGluZSB8IGN1dCAtZjEgLWQnfCdgDQoJCXRoZXRpbWU9ImBicGRibSAt
Y3RpbWUgJHRpbWVzdGFtcCB8IGN1dCAtZjMtIC1kJyAnYCINCgkJZWNobyAi
JHRoZXRpbWUgXGMiDQoJCWVjaG8gJGxpbmUgfCBjdXQgLWYxMS0gLWQnfCcg
fCAkVU5QSVBFDQoJZG9uZQ0KCXJtIC90bXAveXl5DQoJZWNobyAiICAiDQpk
b25lDQo=
---559023410-1144747756-1017348028=:670--

<Prev in Thread] Current Thread [Next in Thread>