dbTalk Databases Forums  

Something other than db2gcf

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss Something other than db2gcf in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bruce
 
Posts: n/a

Default 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:

DB2 Status:

Instance : db2inst1
DB2 State : Available

I'm using db2gcf to show me 'Available, Operable, etc.' as 'db2gcf -s -
i db2inst1'.

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.

-B

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.