mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-13 14:32:55 +00:00
Displaying Active/Idle in the internals page
This commit is contained in:
parent
0ea6856b44
commit
592aaf80e2
3 changed files with 13 additions and 4 deletions
|
|
@ -380,6 +380,8 @@ void GenericHash::lua(lua_State *vm) {
|
|||
else
|
||||
lua_push_uint64_table_entry(vm, "hash_entry_state_idle", (u_int64_t)delta);
|
||||
|
||||
lua_push_uint64_table_entry(vm, "hash_entry_state_active", (u_int64_t)getNumEntries());
|
||||
|
||||
lua_pushstring(vm, "hash_entry_states");
|
||||
lua_insert(vm, -2);
|
||||
lua_settable(vm, -3);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue