lkml.org 
[lkml]   [1998]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Walking the module list..
    Date
    From
    > My idea for 'lsmod -v' would be to list out each process that is using the
    > module:
    >
    > Module Size Used by PID
    > binfmt_aout 3776 1 (autoclean) 495
    > af_packet 5816 1 (autoclean) 477
    > unix 9648 21 (autoclean) 241 242 243 244 245 246

    Perhaps a text string, supplied by the module, explaining the reason for the
    usage count.

    Having the load address of the module made available through /proc would be
    extremely useful for debugging though - when I have a non-repeatable oops in a
    module, I often haven't loaded it with 'insmod -m'

    ---- ---- ----
    David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
    Project Leader, Process Information Systems Mobile: (+44) 976 658355
    Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
    finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.



    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/faq.html

    \
     
     \ /
      Last update: 2005-03-22 13:44    [W:0.018 / U:60.812 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site