Re: Database size
Posted in 1998
Mike
Here is a script I use to sum the oncheck -pe through awk. The script
reads as follows:
$DBNAME=$1 # pass your db name in as a command line argument
oncheck -pe | grep "$DBNAME" | awk '{
space+=$3
} END {
printf("%s - %d kbytes\\n", DB, (space * 2))
}
{
}' DB=$DBNAME -
HTH
Sujit
______________________________ Reply Separator _________________________________
Subject: Database size
Author: mike_kutts@yahoo.com (Kutts Mike) at internet
Date: 12/23/1998 1:17 AM
Hi Admins,
I have three database is one chunk.(Informix 7.30UC6X1)
I would like to know how much space is occupied by each database.
Is there any standard command in Informix ?
Thanks
Mike
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com