Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /opt/rh/gcc-toolset-11/root/usr/share/systemtap/examples/memory/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/rh/gcc-toolset-11/root/usr/share/systemtap/examples/memory/hugepage_cow_delays.stp
#!/opt/rh/gcc-toolset-11/root/usr/bin/stap

global huge_cow

probe kernel.function("copy_user_huge_page").return
{
  huge_cow [execname(), pid()]
    <<< (gettimeofday_us() - @entry(gettimeofday_us()))
}

probe begin { printf("Collecting data... press Ctrl-C to stop.\n") }

probe end
{
  printf("\n")
  foreach([name, p] in huge_cow-) {
    printf("%16s(%5d) count=%d sum(us)=%d avg(us)=%d\n",
      name, p, @count(huge_cow[name,p]),
      @sum(huge_cow[name,p]),
      @avg(huge_cow[name,p]))
  }
}

Spamworldpro Mini