LittleDemon WebShell


Linux hosting5.siteguarding.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64
Path : /usr/share/systemtap/examples/network/
File Upload :
Command :
Current File : //usr/share/systemtap/examples/network/nfsd-recent.stp

#!/usr/bin/stap

global times%,op% /* arrays indexed by client-ip */
global maxage=300 /* seconds */

probe nfsd.proc.entries, nfsd.entries {
    times[client_ip] = gettimeofday_s()
    op[client_ip] = name /* operation name */
}
probe end, error, timer.s(10) {
    printf("\n")
    foreach (ip in times-)
        if (times[ip] > (gettimeofday_s()-maxage)) /* recent enough */
            printf("%s %s %s\n", ctime(times[ip]), ip, op[ip])
}

LittleDemon - FACEBOOK
[ KELUAR ]