ContentsIndexPreviousNext

Starting and Using acushare

acushare manages shared code segments used by the runtime system. On UNIX systems, acushare runs as a background server process that responds to requests from various client runtimes (a "daemon" in UNIX terminology).

acushare has the following command line formats:

acushare -start [ -e errorfile ]
acushare -kill
acushare -version
acushare

-start Creates a background process.
-e errorfile Causes error output to be appended to errorfile.
-kill Causes acushare to perform an orderly shutdown.

If you kill acushare with "kill -9", then you have a disorderly shutdown, and you will need to manually clean up shared memory and the message queues. You can do this with the UNIX utility "ipcrm". Use "ipcs" and acushare's key, "0x01DCF4C9", to determine acushare's id number (id#) in the message queue and in the shared memory queue. Then type the command "ipcrm -q id#" to clear the message queue, and then "ipcrm -m id#" to clear the memory queue.

-version Causes acushare to print its version number.
no options If acushare is not running, causes output of a message showing available options. If acushare is running, causes output of a report with specific information concerning shared memory.