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 :  /proc/17567/root/usr/share/systemtap/examples/network/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/17567/root/usr/share/systemtap/examples/network/tcp_init_cwnd.stp
#!/usr/bin/stap -g

# Based upon http://blog.yufeng.info/archives/1173, bring the goodness
# of linux commit 442b9635c5 to the pre-2.6.39 masses.

probe kernel.function("tcp_init_cwnd").return
{
  r = $return
  if (r > 0 && r < 10) 
    $return = 10;
  counts[r,$return] <<< 1
}

global counts  # will be automatically summarized at shutdown


haha - 2025