Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, well the question pretty much explains its self, I'm looking for a kernel module that can print out important statistics about all the interfaces on my local machine.
thanks,
Posted
Comments
markkuk 13-Apr-12 7:13am    
Linux kernel modules shouldn't "print out" anything (there's no stdout in the kernel), so you won't find any such module unless you write it yourself. What's wrong with just using ifconfig?
Someonebored 13-Apr-12 8:38am    
1- yes things can be printed out( at least to the full terminal screen) using ` printk(KERN_ALERT "Hello world\n");` 2- I want to use the info from ifconfig in my main kernel module...
Richard MacCutchan 14-Apr-12 5:22am    
What would be the point of a kernel module that does exactly the same as a user level command? Consider, what is the purpose of the kernel?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900