Check current value of shmmax on solaris

Sometimes you’re just not sure what shmmax is set to on your current running system..

You can use mdb to look at the current values in the kernel (Be careful typing in there, there be dragons)

root@c1718-v1007-176 # mdb -k
Loading modules: [ unix krtld genunix specfs dtrace cpu.generic uppc pcplusmp ufs mpt_sas sockfs ip hook neti sctp arp usba uhci fcp fctl qlc nca lofs zfs nfs random sppp sata cpc crypto ptm ipc ]
> shminfo_shmmax /D
shminfo_shmmax:
shminfo_shmmax: 85000000
> $q


 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s