Operating System - HP-UX
1834297 Members
2013 Online
110066 Solutions
New Discussion

Re: HPUX Command to print page of memory in bytes

 

HPUX Command to print page of memory in bytes

Hi..

On Solaris there is a command called pagesize which prints the size of a page of memory in bytes. Is there an equivalent command on HPUX 10.20 11.00 and 11i. ???

Cheers
6 REPLIES 6
Denver Osborn
Honored Contributor

Re: HPUX Command to print page of memory in bytes

Default page size on hpux is 4096 bytes, it's viewable w/ dmesg output. Also have a look at this thread for more info

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=690811

Hope this helps,
-denver
Bill Hassell
Honored Contributor

Re: HPUX Command to print page of memory in bytes

In HP-UX, there is a general information command called getconf which can query dozens of system values. man getconf will provide the details.


Bill Hassell, sysadmin
Bill Hassell
Honored Contributor

Re: HPUX Command to print page of memory in bytes

One other note: starting with 10.20 on PA-8000 processors (or higher), the page size for individual programs can be variable, 4k up to 64megs. Large page sizes are commonly used with extremely large programs that manipulate and compute massive arrays of data. A large pagesize will reduce the number of times the memory address translation registers (TLB) need to be reloaded during program execution.


Bill Hassell, sysadmin
Fred.Wu
Frequent Advisor

Re: HPUX Command to print page of memory in bytes

Hi:
The memory page size is defaultly as 4KB, but sometimes it can be 8KB or others.

In /var/adm/syslog/syslog.log you can see the boot information , where you can also see the real page size for memory on your server.

fred
Sandman!
Honored Contributor

Re: HPUX Command to print page of memory in bytes

Here's the HP-UX equivalent:

# getconf PAGE_SIZE
Muthukumar_5
Honored Contributor

Re: HPUX Command to print page of memory in bytes

You can use sam to get these details as,

sam -> performance monitor -> system properties -> Memory Tab

will give all details.

hth.
Easy to suggest when don't know about the problem!