Release Date: 1 February 2008
Namemerlinwho - list current users of servers and databases
Unix Synopsismerlinwho [options ...] [servername|database ...]
Descriptionmerlinwho connect to one or more Merlin servers and/or databases, and print a list of all current users of those objects. If no servers or databases are named, the current host (see hostname(1)) is used.
For historical reasons, thorwho and merlinwho are maintained as separate programs. However, in fact there is only one program ("daywho" would be a better name), which knows how to connect to both Thor and Merlin. The only difference between the two is the default service -- thorwho uses "thor" as the default service, and merlinwho uses "merlin".
OptionsThe following options are common to most or all "thorfilter" programs. They are described in more detail in thorfilters(1).
TRUE means don't allow passwords on the command line (require interactive entry). Default: TRUE.-MERLIN_IPC_SERVICE service
(merlinwho) Names the default TCP/IP service or "port" of the Merlin server. Default: merlin.
Return ValueReturns status zero if it was able to connect to the server(s) and database(s) and list the users, or non-zero otherwise.
ExamplesList all clients currently using the pool "medchem95" on a merlin server on machine "santafe":