Get my package, utils2_ak, which contains an ESQL/C program, dbsavail.ec.
The first time you run dbsavail against each server it will install a
stored procedure, dbsavail, into the sysmaster database. Then you can run
it easily against each server in a script like this one:
#!/usr/bin/ksh
#
for server in server1 server2 server2; do
. server1.env # Set environment
echo "Space Report for $server"
dbsavail
done
Art
Art S. Kagel
Advanced DataTools (www.advancedatatools.com)
Blog: http://informix-myview.blogspot.com/
Disclaimer: Please keep in mind that my own opinions are my own opinions
and do not reflect on my employer, Advanced DataTools, the IIUG, nor any
other organization with which I am associated either explicitly,
implicitly, or by inference. Neither do those opinions reflect those of
other individuals affiliated with any entity with which I am affiliated nor
those of the entities themselves.
On Wed, Dec 21, 2011 at 3:14 AM, joe <joeclhua@gmail.com> wrote:
> I created several informix server on a host.
> To monitor each server's chunk space,I have to setup environment
> parameter then run 'onstat -d' to check the chunk's free space.
>
> Anyone can write a shell script that get all informix server's
> information ( like 'onstat -g dis' do) and each server's chunks space ?
> _______________________________________________
> Informix-list mailing list
> Informix-list@iiug.org
> http://www.iiug.org/mailman/listinfo/informix-list
>