Something other than db2gcf - 08-30-2012 , 07:25 AM
Hi All -
Db2 9.7.5 on Aix 6
For the instance-level login profile at login time I have the instance
profile setup to display:
Instance : db2inst1
DB2 State : Available
I'm using db2gcf to show me 'Available, Operable, etc.' as 'db2gcf -s -
Unfortunately we have some IDs that aren't 'instance owner' yet I'd
like to have a quick DB2 Status display come out of .profile for those
folks. When db2gcf is run from a non-instance owner we get 'No
authority on 'db2inst1' run as root or instance owner'...
I understand I can write a "ps -ef" something or other to see if DB2
is up or not but I really like the output from db2gcf...
What's the recommended magic to make 'db2gcf -s -i db2inst1' work for
'the world' in a safe manner?
Obviously this doesn't bring world peace or feed millions but maybe
this is one-step towards that goal.