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

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

KernelNewbies:
  • KernelProjects
  • pfiles

pfiles is a Solaris proc utility that reports information of all open files by the process id. A Linux equivalent was 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 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