shmMonitor: Adjust output slightly

This commit is contained in:
Alexey Rybalchenko
2020-08-07 12:36:18 +02:00
committed by Dennis Klein
parent 86a1dd38a2
commit c0153a6b55
2 changed files with 11 additions and 4 deletions

View File

@@ -118,6 +118,9 @@ int main(int argc, char** argv)
}
cout << "Starting shared memory monitor for session: \"" << sessionName << "\" (shmId: " << shmId << ")..." << endl;
if (viewOnly && !interactive) {
cout << "running in non-interactive view-only mode, outputting with interval of " << intervalInMS << "ms. (change with --interval), press ctrl+C to exit." << endl;
}
Monitor monitor(shmId, selfDestruct, interactive, viewOnly, timeoutInMS, intervalInMS, runAsDaemon, cleanOnExit);