Veritas-bu

[Veritas-bu] How can I get drive status by cmd line

2001-03-16 16:58:03
Subject: [Veritas-bu] How can I get drive status by cmd line
From: Ayaz Mudarris ayaz AT colltech DOT com
Date: Fri, 16 Mar 2001 15:58:03 -0600
On Fri, Mar 16, 2001 at 03:31:38PM -0500, Marvin Blackburn wrote:
> What field indicates up/down?

I use 
tpconfig -raw |grep -i down 
and then be more creative to parse and format it to your liking.


Ayaz

#!/a.k.a/jazz
_____________________________________________________________ 
Ayaz Mudarris, Senior Consultant
Collective                      http://www.collectivetech.com
Tel  (312) 781-6200             eFax (253) 541-2141

> 
> ------------------
> Marvin Blackburn
> Systems Administrator
> Glen Raven
> 336-586-1200
> "He's no failure.  He's not dead yet" --William Lloyd George
> 
> > -----Original Message-----
> > From: veritas-bu-admin AT Eng.Auburn DOT EDU
> > [mailto:veritas-bu-admin AT Eng.Auburn DOT EDU]On Behalf Of RYAN ANDERSON
> > Sent: Friday, March 16, 2001 11:39 AM
> > To: Weaver; Paul
> > Cc: 'Axel Kunze'; veritas-bu AT mailman.eng.auburn DOT edu
> > Subject: Re: [Veritas-bu] How can I get drive status by cmd line
> > 
> > 
> > I would use 'vmoprcmd -xdraw ds' it puts out the data you need in an
> > easy to awk/grep/whatever format.
> > 
> > RCA
> > 
> > "Weaver; Paul" wrote:
> > > 
> > > Axel,
> > >         Several commands will show this information:
> > > /usr/openv/volmgr/bin/vmoprcmd, 
> > /usr/openv/volmgr/bin/tpconfig [-l|-d].
> > > 
> > > Paul Wever
> > > 
> > > -----Original Message-----
> > > From: Axel Kunze [mailto:axel.kunze AT dab DOT com]
> > > Sent: Friday, March 16, 2001 11:27 AM
> > > To: veritas-bu AT mailman.eng.auburn DOT edu
> > > Subject: [Veritas-bu] How can I get drive status by cmd line
> > > 
> > > Hello everybody !
> > > 
> > > I decided to write a small script, which checks the status 
> > of my drives
> > > (up/down) ...
> > > Is there a command within NBU which shows me the state of my DLT's ?
> > > 
> > > Regards
> > > 
> > > Axel Kunze
> > > 
> > 
> > --
> > Ryan C. Anderson        |   United Defense L.P.    
> > Unix Administrator      |   763.572.6684 (desk)
> > ryan_anderson AT udlp DOT com  |   952.235.9936 (pager)
> > _______________________________________________
> > Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

-- 
Ayaz

#!/a.k.a/jazz
_____________________________________________________________ 
Ayaz Mudarris, Senior Consultant
Collective                      http://www.collectivetech.com
Tel  (312) 781-6200             eFax (253) 541-2141



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