KernelNewbies
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Kernel Hacking

  • Frontpage

  • Kernel Hacking

  • Kernel Documentation

  • Kernel Glossary

  • FAQ

  • Found a bug?

  • Kernel Changelog

  • Upstream Merge Guide

Projects

  • KernelJanitors

  • KernelMentors

  • KernelProjects

Community

  • Why a community?

  • Regional Kernelnewbies

  • Personal Pages

  • Upcoming Events

References

  • Mailing Lists

  • Related Sites

  • Programming Links

Wiki

  • Recent Changes

  • Site Editors

  • Side Bar

  • Tips for Editors

  • Hosted by WikiWall

Navigation

  • RecentChanges
  • FindPage
  • HelpContents
Revision 5 as of 2007-10-15 15:14:46
KernelNewbies:
  • KernelProjects
  • pfiles

pfiles is a Solaris proc utility that reports information of all open files by the process id. A Linux equivalent is written in a form of a SystemTap script. Currently the script is able to report most of the open file information that a Solaris' version of pfiles would report, except for socket-related information (and maybe others).

A possible task for this project is to extend the script to report socket information. Take a look at the following mailing list [http://lists.samba.org/archive/samba-technical/2001-May/014293.html post] to have an idea what kind of socket information we are looking for. Also, the script need not be exactly identical to the Solaris' version. There may be other variables that are specific to Linux that we can include in the script. Come up with a list!

Riel noted that pfiles does not need to be implemented in SystemTap, and it can be a normal kernel interface too. Agree. So if the developer is keen to implement this as a kernel interface, and export the information to the userspace, go for it!

See http://sources.redhat.com/systemtap/wiki/WSPfiles for more information.

Interested in implementing this feature? Write to me and/or claim the feature on the KernelProjects page.


CategoryKernelProjects

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01