mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-12 16:21:13 +00:00
shm: include rcCountSegment free memory in the monitor output
This commit is contained in:
parent
34e8a24c86
commit
ff1f9b94ef
|
@ -274,7 +274,7 @@ bool Monitor::PrintShm(const ShmId& shmId)
|
|||
|
||||
try {
|
||||
managed_shared_memory rcCountSegment(open_read_only, MakeShmName(shmId.shmId, "rrc", id).c_str());
|
||||
ss << ", rcCountSegment size: " << rcCountSegment.get_size();
|
||||
ss << ", rcCountSegment size: " << rcCountSegment.get_size() << ", free: " << rcCountSegment.get_free_memory();
|
||||
} catch (bie&) {
|
||||
ss << ", rcCountSegment: not found";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user