Veritas-bu

[Veritas-bu] Deactivated policy's

2006-12-04 17:04:09
Subject: [Veritas-bu] Deactivated policy's
From: ddunham at taos.com (Darren Dunham)
Date: Mon, 4 Dec 2006 14:04:09 -0800 (PST)
> Nbu 5.0 mp6 Solaris 3
> 
> Does anyone have a scrip that will list deactivated policy's?

This should work on most versions.

# bppllist -l -allpolicies | perl -lane 'if (/^CLASS (\S+)/) {$p=$1} ; print $p 
if ($F[0] eq 'INFO' and $F[11] > 0);'


-- 
Darren Dunham                                           ddunham at taos.com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >