On 03.03.20 02:24, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
The $stat(name) can be used for any internal statistic. I think it takes only the name of statistic, not the group, so something like $stat(free_size).
Thanks, free_size and the others in
core.shmmem { total: 67108864 free: 58274976 used: 7403616 real_used: 8833888 max_used: 8851696 fragments: 10 }
were found. For some reason, "_size" suffix needs to be appended to the attribute names.
I think you used a different rpc command, the one only for shared memory info, which is not giving the exact statistic names.
To see the name of statistics, use the stats command with kamctl:
kamctl stats
It returns:
group.name = value
like:
shmem.fragments: '41' shmem.free_size: '128218840' shmem.max_used_size: '8643872' shmem.real_used_size: '5998888' shmem.total_size: '134217728' shmem.used_size: '4309712'
Cheers, Daniel
Cheers, Daniel