HEX
Server: LiteSpeed
System: Linux w5304130.sdnsbox.com 4.18.0-425.3.1.lve.el8.x86_64 #1 SMP Tue Nov 22 22:59:23 EST 2022 x86_64
User: makefitmeserver (1001)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //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