1828220 Members
2146 Online
109975 Solutions
New Discussion

Check system settings

 
SOLVED
Go to solution
Cliff Lim Kok Hwee
Regular Advisor

Check system settings

Gd Day Forum,

I would need to find out how much semaphores and shared memory segment resources have been allocated on this Linux server?

Is anyone able to help me on that?

Thanks/Cliff
3 REPLIES 3
Gopi Sekar
Honored Contributor

Re: Check system settings


Maximum shared memory and semaphores allowed can be found from /proc file system.

check /proc/sys/kernel/shmmax (for shared memory)

you can directly update them, or update them using sysctl command (as root user).

Hope this helps,
Gopi
Never Never Never Giveup
Cliff Lim Kok Hwee
Regular Advisor

Re: Check system settings

Thanks Gopi,

How about for semaphores?

regards/cliff
Gopi Sekar
Honored Contributor
Solution

Re: Check system settings


file /proc/sys/kernel/sem contains details about it.

Contents of this file along with other kernel parameters are mentioned in proc man page (check 'man 5 proc'). search for sem.

Hope this helps,
Gopi
Never Never Never Giveup