From: Helmut Tessarek on
for i in `ps -ef |grep db2sysc |awk '{ print $1 }'|sort -u`; do su - $i -c
db2stop force; done

:-)

On 21.4.2010 11:15, db2 dba wrote:
> Never mind, on AIX "grep"ping for 'db2sysc' process shows the active
> instances.
> If anybody thinks this is not right or has a alternate (better) way
> please post.
>
> thanks.
>
> On Apr 21, 12:04 pm, db2 dba <db2...(a)gmail.com> wrote:
>> I have an AIX system with multiple versions of DB2 installed (v8.2,
>> v9.1 and v9.7). Is there a way to find all active instances and shut
>> them down regardless of the version?
>


--
Helmut K. C. Tessarek
DB2 Performance and Development

/*
Thou shalt not follow the NULL pointer for chaos and madness
await thee at its end.
*/