#!/bin/ksh
# Pass in partnum to give table name
tabname,
( ti_nptotal * 2 ) / 1024 pages_in_Mb,
( ti_npused * 2 ) / 1024 pages_used_Mb,
HEX(partnum)
from sysmaster:systabinfo, sysmaster:systabnames
where partnum = ti_partnum
and hex(partnum) = '$a'" | dbaccess sysmaster
No comments:
Post a Comment