Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tbstat/onstat

Status
Not open for further replies.

dodge20

MIS
Jan 15, 2003
1,048
US
I am on Informix 7.2 and I am trying to run either tbstat or onstat, but it keeps telling me "command not found". Is this something I have to manually install? And if so, where do I get it from?


Dodge20
 
Dodge:

First, tbstat is obsolete after version 5.x of Informix Online.

Next, check that the INFORMIXDIR shell variable is set to the informix home directory.

Also, check that $INFORMIXDIR/bin exists in the PATH variable.

Last, onstat should exist in $INFORMIXDIR/bin with this ownership and permissions:

-rwxr-sr-x 1 informix informix 3551232 Sep 29 2002 /usr/informix/bin/onstat

Regards,

Ed
 
There is no onstat in the $INFORMIXDIR/bin.

What do you mean by
check that $INFORMIXDIR/bin exists in the PATH variable.

Is there a way to fix this?


Dodge20
 
Dodge:

First, if onstat is not in $INFORMIXDIR/bin it's probably been removed or moved somewhere else. The only way to get it back is probably do an informix reinstall.

Second, from the command line:

echo $PATH

You should see $INFORMIXDIR/bin inside the PATH. If you don't do something like this:

export PATH=$PATH:$INFORMIXDIR/bin

Regards,

Ed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top