I'm running two "services" that are served in linux kernel-space:
- Linux Netfilter Firewall ("iptables")
- Linux Virtual Server Loadbalancer ("IPVS", "LVS")
Now I want to (performance-)monitor my "application" like any other software I am running. What would that basically be? CPU-Time and Memory.
How do I get these out of the kernel? Memory consumption of iptables might be estimated by the size of the connection tracking table, same for ipvs. It's okay for me, but any hints are welcome.
But - what about the CPU time spent for processing Routing, Firewalling and Loadbalancing?
Does "system" time include processing of packet-forwarding and -filtering? What about ipvs-handling?