★ wanayoo — archive 1999 http://www.kernelnotes.org/patch/21-p0791.htmlNouvelle recherche | Portail wanayoo

sysrq show_inodes patch

Bill Hawes (whawes@star.net)
Wed Aug 13 10:18:00 1997

[Home] [Linux 2.0] [Linux 2.1] [Information] [Software] [Distributions] [Links]

show_49-patch
If you've always wondered what your inodes are doing, this is the patch for you. It adds an entry to sysrq.c so that sysrq-i gives a report like:

Inodes Allocated: 464
List    Inodes  Used  Hash  Lock  Dirt  Link  Pipe  Sock Cnt<0  Pages
UNUSED      20     0     0     0     0     0     0     0     0      0
CLEAN      431   139   391     1     0   391     2    38     0    199
 03:06       3     3     3     0     3     3     0     0     0      7
 03:07      10     7    10     0    10    10     0     0     0    253
 00:01       0     0     0     0     0     0     0     0     0      0
Inodes Accounted: 464  Total Pages: 459

The "pages" column refers to the page cache associated with the inode.

Patch is against 2.1.49.




[Home] [Up] [Search] [FeedBack]

Copyleft © The LinuxHQ Project. Licensed under the GNU Public License.