Skip to content
Snippets Groups Projects
user avatar
Marc G. Fournier authored
start of an admin tool for FreeBSD to help configure shared memory for
that machine

I kept the name as generic as possible though, as other OS should have
similar methods, so this can be extended "as appropriate" ...
ca22223e
History
Name Last commit Last update
..
README
ipc_check.pl
This simple perl script was designed under FreeBSD, and, right now, is
limited to it.  It provides a simple way of determining and directing
administrators in what has to be done to get IPC working, and configured.

Usage:

ipc_check.pl 

	- simply checks for semaphores and shared memory being enabled
	- if one or other is not enabled, appropriate "options" are provided
	  to get it compiled into the kernel

ipc_check.pl -B <# of buffers>

	- checks to see if there are sufficient shared memory buffers to
	  run the postmaster with a -B option as provided
	- if insufficient buffers are provided, appropriate 'sysctl' commands,
	  and instructions, are provided to the administrator to increase
          them