postgresql/contrib/ipc_check
Marc G. Fournier ca22223e82 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" ...
2001-02-27 15:37:39 +00:00
..
ipc_check.pl start of an admin tool for FreeBSD to help configure shared memory for 2001-02-27 15:37:39 +00:00
README start of an admin tool for FreeBSD to help configure shared memory for 2001-02-27 15:37:39 +00:00

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