Regarding the file size of /proc file entries

ravi ravi.nanjundappa at ap.sony.com
Fri Jul 23 01:56:35 PDT 2004


Hi,
Please have a look at the following output .


$ ls -l /proc/self/
total 0
-rw-rw-rw-  1 ravi  ravi  0 Jul 23 19:56 cmdline
lr--r--r--  1 ravi  ravi  0 Jul 23 19:56 exe -> /bin/ls
-rw-------  1 ravi  ravi  0 Jul 23 19:56 mem
-rw-rw-rw-  1 ravi  ravi  0 Jul 23 19:56 mem123
-rw-rw-rw-  1 ravi  ravi  0 Jul 23 19:56 stat
-rw-rw-rw-  1 ravi  ravi  0 Jul 23 19:56 status
$


And also please have a look at the 5th column .
For all the entries the size shown is zero .


Which structure of the kernel will store the size of /proc file entries
?

Please do the needful .


Regards, 
N Ravi




More information about the freebsd-fs mailing list