Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Which what kernel version(s) are you working? Commented Feb 10, 2017 at 16:55
  • I am using kernel version 3.10.49 Commented Feb 10, 2017 at 19:06
  • Do you see anything in /proc? Is it mounted? In 4.9.6 /proc/net/netstat is implemented in net/ipv4/proc.c. Would there be some reason that's not getting compiled in your case? Commented Feb 10, 2017 at 19:31
  • @AndyDalton the /proc is mounted, and many files also exists (i.e. /proc/net/udp) I have checked my build_dir and net/ipv4/proc.o is compiled. And you are right, there are entries in the proc.cfor creating the /proc/net/netstatentry, but havent find any macro which can exclude this during compiling the kernel. Commented Feb 11, 2017 at 13:27