Try running this SQL against the sysmaster table:
select a.name as dbspace,
sum(b.chksize) as total_pages,
sum(b.nfree) as free_pages,
TRUNC(sum(b.nfree)/sum(b.chksize) * 100,0) as percent_f
from sysdbspaces a,
syschunks b
where a.dbsnum = b.dbsnum
group by a.name
order by 4
Hope that helps...
Jon.
>
> Dear all,
>
> I'm having problems determining the exact amount of free
> space in an Informix Database. I don't think you can really
> rely on the command onstat -d. Is there anyone who can help
> me with this?
>
> Thanks and best regards,
> Bart De Groeve
> DHL Belgium