LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-31-2006, 03:33 AM   #1
someshwar
LQ Newbie
 
Registered: Oct 2006
Posts: 14

Rep: Reputation: 0
reading /proc information from kernel module


I want to read "/proc/meminfo" from a kernel module.

Pls guide me in this regard

Last edited by someshwar; 11-02-2006 at 11:58 PM.
 
Old 10-31-2006, 11:35 PM   #2
Debugger
LQ Newbie
 
Registered: Oct 2006
Location: India
Distribution: RH
Posts: 15

Rep: Reputation: 0


Try to do it using sys_open system call from module

Last edited by Debugger; 11-03-2006 at 12:09 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where does the /proc dir get its information so that it can update? paranoid times Linux - Software 13 03-22-2006 01:26 AM
Is /proc hw information really that accurate? jimieee Linux - General 5 03-06-2006 07:58 AM
reading /proc file in kernel help needed arunka Programming 2 03-17-2005 05:51 AM
How to read from /proc entry in another kernel module? linux_lover2005 Programming 0 01-14-2005 05:44 AM
Reading from a /proc file russelh Programming 2 12-02-2004 05:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 08:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration