SILENT KILLERPanel

Current Path: > > opt > alt > python33 > share > > > doc > > alt-python33-libs


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python33/share///doc//alt-python33-libs

NameTypeSizeLast ModifiedActions
LICENSE File 12773 bytes September 19 2017 07:32:02.
README File 6766 bytes September 19 2017 07:32:02.
pyfuntop.stp File 537 bytes April 17 2024 16:50:50.
systemtap-example.stp File 613 bytes April 17 2024 16:50:50.

Reading File: //opt/alt/python33/share///doc//alt-python33-libs/pyfuntop.stp

#!/usr/bin/stap 

global fn_calls;

probe python.function.entry
{ 
  fn_calls[pid(), filename, funcname, lineno] += 1;
}

probe timer.ms(1000) {
    printf("\033[2J\033[1;1H") /* clear screen */
    printf("%6s %80s %6s %30s %6s\n",
           "PID", "FILENAME", "LINE", "FUNCTION", "CALLS")
    foreach ([pid, filename, funcname, lineno] in fn_calls- limit 20) {
        printf("%6d %80s %6d %30s %6d\n",
            pid, filename, lineno, funcname,
            fn_calls[pid, filename, funcname, lineno]);
    }

    delete fn_calls;
}

SILENT KILLER Tool