Skip to content

Commit

Permalink
shm: include rcCountSegment free memory in the monitor output
Browse files Browse the repository at this point in the history
  • Loading branch information
rbx committed Nov 24, 2023
1 parent 34e8a24 commit ff1f9b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fairmq/shmem/Monitor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down

0 comments on commit ff1f9b9

Please sign in to comment.