genstress
来自「this gives details of the network progra」· 代码 · 共 18 行
TXT
18 行
#!/usr/local/bin/perl# generate a stress test script# repeats the input script a bunch of times$n = $ARGV[0];$script = $ARGV[1];open(F,$script) || die $!;@sc = <F>;close(F);for ($i=0;$i<$n;$i++) { printf("PRINT Repetition # $i\n"); print(join("",@sc));}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?