Prv8 Shell
Server : Apache
System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : matalashes ( 1004)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /usr/share/systemtap/examples/io/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/systemtap/examples/io/nfs_func_users.stp
#!/usr/bin/stap

global nfsdcalls

probe begin {
  printf("Collecting top NFSD procs...\n")
}

probe {kernel,module("nfs")}.function("*@fs/nfs/*proc.c") ? {
  nfsdcalls[execname(), pid()]++
}

probe end {
  printf("\nname(pid) nfs ops\n");
  foreach ([name,p] in nfsdcalls- limit 20)
    printf("%s(%d) %d\n", name, p, nfsdcalls[name, p])
}

haha - 2025