La commande 'pagesize' permet de lister la taille de page utilisée par le système.

Avec l'option '-a', c'est la liste des pages supportées qui s'affiche.

# pagesize

4096

# pagesize -a

4096
65536
16777216
17179869184

 

 

 

pagesize Command

Purpose

       Displays the system page size.

Syntax

       pagesize [ -a ] [ -f ]

Description

       The pagesize command prints the size, in bytes, of a page of memory, as returned by the getpagesize subroutine. Provided for
       system compatibility, this command is useful when constructing portable shell scripts.

       If the -a flag is specified, the pagesize command prints all of the page size values (in bytes) supported on the system.

Flags
       -a
            Prints all of the page size values (in bytes) supported on the system.
       -f
            Prints the formatted page sizes with an alphabetical suffix rather than the page size in bytes (for example, 4K)

Example
       1    To obtain the size system page, enter:

            pagesize

            The system returns the number of bytes, such as 4096.
       2    To print the formatted page size, enter:

            pagesize -f

            The system returns the formatted page size (for example, 4K).
       3    To print all of the supported page size with an alphabetical suffix, enter:

            pagesize -af

            The system returns all of the supported page sizes. For example:

            4K
            64K
            16M

Files

       Item
            Description
       /usr/bin/pagesize
            Contains the pagesize command.

 

icon phone
Téléphone/Whatsapp : +33 (0)6 83 84 85 74
icon phone