Page sizes determination of a process using the ps command

The ps command can be used to monitor the base page sizes being used for a process's data, stack, and text.

The following example shows the output of the ps -Z command. The DPGSZ column displays the data page size of a process; the SPGSZ column displays the stack page size of a process; and the TPGSZ column displays the text page size of a process.

# ps -Z
    PID    TTY  TIME DPGSZ SPGSZ TPGSZ CMD
 311342  pts/4  0:00    4K    4K    4K ksh
 397526  pts/4  0:00    4K    4K    4K ps
 487558  pts/4  0:00   64K   64K    4K sleep