The C API contains the method NSFRemoteConsole that can be used to send a single console command and get back the result.
Unfortunately there is no C API method available to listen for console messages, similar to what you get in the Notes Client via @Command([AdminRemoteConsole]).
Please add this functionality on both client and server side, e.g. a method with a callback function that gets called on every arriving console message until it returns a cancel status. If possible we would like to get some console line meta data as well, e.g. pid/tid/execname of the code that sent the message (the same data that the server controller provides to the Java console client) .
Our main use case is to build an alternative Domino admin user interface as web application.
We know that there's an undocumented way available via NSFRemoteConsoleAsync that works client-server. Unfortunately it does not work locally on the server.
Karsten Lehmann, Mindoo GmbH