[Trac #110] Port 'pstimeouts' patch to systemtap

Zarro Boogs per Child bugtracker at laptop.org
Mon Oct 30 08:38:52 EST 2006


#110: Port 'pstimeouts' patch to systemtap
-------------------------+--------------------------------------------------
 Reporter:  krstic       |        Owner:  eteo
     Type:  enhancement  |       Status:  new 
 Priority:  high         |    Milestone:      
Component:  kernel       |   Resolution:      
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by eteo):

 I have ported the patch to SystemTap. It requires kernel_long() which I
 will commit into the CVS soon. Please try it out. Thanks.

 {{{
 [eteo at kerndev ~]$ ./pstimeouts -h
 pstimeouts [-au] [pids..]
   -a   show processes belonging to all users
   -u   detailed listing
 [eteo at kerndev ~]$ ./pstimeouts
   pid timeouts process
  3485       20 gnome-power-man
  3530       16 scim-panel-gtk
  3532       42 scim-launcher
 ...
 [eteo at kerndev ~]$ ./pstimeouts -a
   pid timeouts process
  2148        0 syslogd
  2311        4 pcscd
  2342        1 automount
 ...
 [eteo at kerndev ~]$ ./pstimeouts -u
   uid     pid |    poll   select    epoll   itimer    other| process
   500    3463 |     116        0        0        0        0| gnome-
 settings-
   500    3467 |       0        0        0        0        0| scim-launcher
   500    3482 |     220        0        0        2        0| metacity
 ...
 [eteo at kerndev ~]$ ./pstimeouts -ua
   uid     pid |    poll   select    epoll   itimer    other| process
     0    2311 |       0        6        0        0        0| pcscd
     0    2342 |       0        0        0        0        2| automount
    38    2404 |       0        0        0        0        0| ntpd
 ...
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/110#comment:4>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list