If acushare is not running and you enter the acushare command without any options, the following message is displayed:
acushare: not running
If acushare is running and you enter the acushare command without any options, you will get a detailed report of acushare status and usage. The following is the output of the acushare server running with two shared programs:
ACUCOBOL-GT shared memory and license manager version 8.0.0 (2005-04-18)
Copyright (c) 1993-2008, Acucorp, Inc.
Server Statistics:
==================
server PID: 19134
IPC key: 0x01010101
shmid: 40370176
listening port: 44659
start date: Tue Apr 19 03:04:34 2005
clients: 2
client deaths: 0
message type sent received
-------------- ---------- ----------
HANDSHAKE 8 8
ACK 2 0
INFO 0 2
KILL 0 0
DATA 1 0
LOAD 0 2
ATTACH_FAILED 0 0
LOADED 0 2
UNLOAD 0 0
STATUS_PROGRAM 2 0
USER_ADD 0 2
USER_SUBTRACT 0 0
STATUS_USER 2 0
Shared Program List:
====================
program-id compilation date code size users shmid
---------- ------------------------ --------- ----- --------
PGM1 Thu Nov 18 10:51:22 2004 32 1 40435719
PGM2 Thu Nov 11 09:45:28 2004 32 1 40402950
shared programs in use: 2
total bytes shared: 64
total bytes saved: 0
Product/License List:
=====================
product: ACUCOBOL, SN: real, users: 2/50, processes: 2/4096
terminal: pts/0, user: mark, processes: 1
PID: 21188 (0x42650df9), refs: 2, added: Tue Apr 19 06:56:09 2005
terminal: pts/1, user: mark, processes: 1
PID: 21190 (0x42650e0e), refs: 2, added: Tue Apr 19 06:56:30 2005