Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to list block size?
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.comReceived on Wed Nov 01 2000 - 12:36:54 CST
![]() |
![]() |