On Mon, 26 Dec 2005, Tarhon-Onu Victor wrote:

ulimit -p
8
        unde:
        -p     The pipe size in 512-byte blocks (this may not be set)

Ma rog, dimensiunea asta pentru buffere e folosita (si) pentru pipe-uri in bash. In functie de tipul operatiei de i/o (sau daca e vorba de filesystems atunci chiar si infunctie de filesystem) se folosesc (implicit) diverse dimensiuni ale bufferelor (512 bytes, 1024, 4096, 8192, etc).

stat /etc/passwd | grep -i block
  Size: 1991            Blocks: 4          IO Block: 4096   regular file

        Iar pe un filesystem de alt tip:

stat /home/pgsql/data/postgresql.conf | grep -i block
  Size: 13580           Blocks: 32         IO Block: 131072 regular file

--
Any views or opinions presented within this e-mail are solely those of
the author and do not necessarily represent those of any company, unless
otherwise expressly stated.

_______________________________________________
RLUG mailing list
RLUG@lists.lug.ro
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui