I'm using pid number to monitor uptime of all critical services. But I'm unable to find pid for iptables. Does iptables have pid?


iptables is a kernel module, not a process. you can use lsmod to see the various parts if they are compiled as loadable modules for your kernel

lsmod | grep tabl


No, iptables is managed by the kernel; there is no corresponding process, so no process identifier.

  • Ok. Is there any way to check uptime of iptables ? – msp9011 Apr 26 '18 at 19:16
  • 1
    Since it’s managed by the kernel, its uptime is the kernel’s. – Stephen Kitt Apr 26 '18 at 19:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.