Open EaseTheWorld opened 4 years ago
pfring_zc_set_app_name is used to set the application name in the /proc/net/pf_ring/
Yes. custom name(given as zbalance_ipc args) or cluser_num would be useful. Until yesterday, I didn't know stat file was there and even zbalance_ipc itself doesn't know the filename either.
this could be an interesting enhancement applicable to pfring_set_application_stats() too
Well, this is not an issue, more like suggestion. When I use zbalance_ipc, I want to show its stats. But pfring_zc_set_proc_stats() saves stat file 'pid'-none.#### which is not predictable. I think this is for unique filename but cluster_id itself is not enough for uniqueness? or user-specified name would be possible as well. (I thought pfring_zc_set_app_name is for this but it's not. what is app_name for?)