Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to list block size?

Re: How to list block size?

From: Jefferson Ogata <ogata_at_antibozo-u-spam-u-die.net>
Date: Wed, 01 Nov 2000 13:36:54 -0500
Message-ID: <8tpns8$lfd$1@bob.news.rcn.net>

argosy22_at_my-deja.com wrote:
>
> Hi all,
>
> Some of my Oracle documentation is refering to the OS (Unix)
> block size.
>
> How can I list this?
>
> pagesize will give me what is in memory.
>
> I could use df and df -k, and calculate.
>
> prtvtoc will give the number of bytes per sector.
>
> prtvtoc /dev/dsk/c0t0d0s0
> * /dev/dsk/c0t0d0s0 partition map
> *
> * Dimensions:
> * 512 bytes/sector
> * 248 sectors/track
> * 19 tracks/cylinder
> * 4712 sectors/cylinder
> * 7508 cylinders
> * 7506 accessible cylinders
>
> Is 512 the block size here?
>
> Is there another command that I could use?

perl -e 'my @x = stat ("."); print $x[11], "\n";'

This will print the preferred I/O blocksize for the current directory, as reported by stat(2).

-- 
Jefferson Ogata : Internetworker, Antibozo
<ogata@antibozo-u-spam-u-die.net>  http://www.antibozo.net/ogata/
whois: jo317_at_whois.networksolutions.com
Received on Wed Nov 01 2000 - 12:36:54 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US