Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-22-2003, 04:05 PM   #1
LQ Newbie
Registered: Sep 2003
Posts: 6

Rep: Reputation: 0
printk or /proc

I'm working with some memory profiling in the kernel level.

Currently I got to the point where I have a buffer with data collected running some filesystem functions.

I need a way to read this buffer from the outside.

I tried to write this to /proc, however because of the amount of data, the proc filesystem fails when I tried to write more than 3Kb.

I tried printing it by using the prink. this option will work, however goes over my console, and I have to copy and paste.. all the data to a file manually. ( I cant redirect printk to a file using ">")

Is there any good way to do this?

thaks in advance.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Using printk arunachalam Linux - Software 1 10-10-2005 03:07 PM
printk in the interrupt handler lordofring Programming 3 08-23-2005 08:00 PM
printk messages in Fedora 2 TracyHarmer Linux - Newbie 3 11-28-2004 04:42 PM
Regarding printk eshwar_ind Programming 0 11-23-2004 06:17 AM
printk: message ernobe Debian 4 11-20-2004 11:50 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:23 AM.

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