Veritas-bu

[Veritas-bu] Drive table utility

2006-06-16 19:26:44
Subject: [Veritas-bu] Drive table utility
From: Mark.Donaldson at cexp.com (Mark.Donaldson AT cexp DOT com)
Date: Fri, 16 Jun 2006 17:26:44 -0600
Hi all,

I wrote this over the past two days, thought some of you might find it
useful.  It summarizes all drives on all media servers in one table.
Run it on your master server as root.  It pretty much self-formats
(within limits) so good luck.

It's a ksh script, by the way.  None of the new-fangled PERL stuff.
Grep, sed, and awk - It's what's for dinner!

-M


## Gathering Data.................

             L  L  L  L  L  L  L  L  L  L  L  L  L  L  L  L
             T  T  T  T  T  T  T  T  T  T  T  T  T  T  T  T
             O  O  O  O  O  O  O  O  O  O  O  O  O  O  O  O
       D  D  2  2  2  2  2  2  2  2  2  2  2  2  2  2  2  2
       L  L  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
       T  T  0  0  0  0  0  0  0  0  0  1  1  1  1  1  1  1
       1  2  1  2  3  4  5  6  7  8  9  0  1  2  3  4  5  6

sv-01  .  .  .  .  .  .  .  .  .  D  .  .  .  .  .  .  .  .
sv-02  -  -  .  .  .  D  .  .  .  D  .  .  .  .  .  .  .  .
sv-03  -  -  .  .  .  .  .  .  .  D  .  .  .  .  .  .  .  .
sv-04  -  -  .  .  .  .  .  .  .  D  .  .  .  .  .  .  .  . 
sv-05  -  -  .  .  .  .  .  .  .  D  .  .  .  .  .  .  .  .
<snip>

"."=Up    "D"=Down  "P"=Pend  "A"=AVR   "-"=Not Def'd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dtab
Type: application/octet-stream
Size: 1968 bytes
Desc: dtab
Url : 
http://mailman.eng.auburn.edu/pipermail/veritas-bu/attachments/20060616/3ba145ac/dtab.exe

<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] Drive table utility, Mark.Donaldson AT cexp DOT com <=