Networking Forums

Networking Forums > Computer Networking > Linux Networking > Write on proc filesystem

Reply
Thread Tools Display Modes

Write on proc filesystem

 
 
ValerioZ
Guest
Posts: n/a

 
      02-09-2005, 03:13 PM
Hi! I need to write on proc filesystem to enable a personal version of
tcp debug on fly. Do you know where I can find some documentation about
that?
Thanks.
ValerioZ
 
Reply With Quote
 
 
 
 
joy
Guest
Posts: n/a

 
      02-09-2005, 03:25 PM
ValerioZ wrote:
> Hi! I need to write on proc filesystem to enable a personal version of
> tcp debug on fly. Do you know where I can find some documentation about
> that?
> Thanks.
> ValerioZ


in kernel source /net/ipv4/ here you find tcp stack.
But i think you have need to recompile all kernel ...

bye
peppe
 
Reply With Quote
 
Bill Unruh
Guest
Posts: n/a

 
      02-09-2005, 04:41 PM
ValerioZ <(E-Mail Removed)> writes:

>Hi! I need to write on proc filesystem to enable a personal version of
>tcp debug on fly. Do you know where I can find some documentation about
>that?


You can write on the proc filesystem. Many configuration options are
implimented just like that
echo 1>/proc/sys/net/ipv4/ip_forward
is how to switch on ip forwarding.

But since it is just a look into the kernel, the kernel option must allow
writing to it.
 
Reply With Quote
 
ValerioZ
Guest
Posts: n/a

 
      02-09-2005, 10:46 PM
Bill Unruh wrote:
> You can write on the proc filesystem. Many configuration options are
> implimented just like that
> echo 1>/proc/sys/net/ipv4/ip_forward
> is how to switch on ip forwarding.
>
> But since it is just a look into the kernel, the kernel option must allow
> writing to it.


Tanks, I've made a mistake, I need to "read" (Kernel side) on proc
filesystem. I would modify the tcp code to insert a little part which
show the debug option to user.
Thanks.
ValerioZ
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount of AIX jfs2 filesystem on Linux server extremely slow Govind Linux Networking 0 07-23-2008 10:02 PM
Remote filesystem in a directory Sam Windows Networking 1 09-17-2004 04:33 PM
How to mount a remote filesystem in LINUX. Charlie T Linux Networking 3 08-19-2004 08:45 PM
Distributed Filesystem Christian Kier Linux Networking 3 12-10-2003 07:57 PM
/proc/net/ip_fprward?? Ishwar Rattan Linux Networking 1 07-16-2003 08:53 PM



1 2 3 4 5 6 7 8 9 10 11