Tuesday, June 28, 2011

Semaphores in Linux

check semaphores.
==============

# /sbin/sysctl -a | grep sem

# more /etc/sysctl.conf

# cat /proc/sys/kernel/sem



to modify semaphores.
==================

# /sbin/sysctl -w kernel.sem=300

then update

# /etc/sysctl.conf   ....so it takes effect after reboot.


OR

#sysctl -p  //will update the new semaphore values after new value inserted w/o reboot

No comments:

Post a Comment