Searched refs:tst_rhost_run (Results 1 – 25 of 25) sorted by relevance
40 [ "$rtmpdir" ] && tst_rhost_run -c "rm -rf $rtmpdir"58 port=$(tst_rhost_run -c "tst_get_unused_port ipv${TST_IPVER} stream")80 rtmpdir=$(tst_rhost_run -c "mktemp -d -p $TMPDIR")81 tst_rhost_run -s -c "ssh-keygen -t rsa -N \"\" -f $rtmpdir/id_rsa > /dev/null"85 tst_rhost_run -s -c "printf \"\92 tst_rhost_run -s -c "chmod 700 $rtmpdir; chmod 600 $rtmpdir/*"95 tst_rhost_run -c "cat ${rtmpdir}/id_rsa.pub" > $tmpdir/authorized_keys109 tst_rhost_run -s -c "ssh-stress01-rmt $TST_IPVER $(tst_ipaddr) \120 tst_rhost_run -s -c "ssh-stress02-rmt $TST_IPVER $(tst_ipaddr) \135 tst_rhost_run -s -c "ssh-stress03-rmt $TST_IPVER $(tst_ipaddr) \
32 tst_rhost_run -c "ip li set txqueuelen $prev_qlen $rmt_dev"35 tst_rhost_run -c "tc qdisc replace $rmt_dev root $prev_queue"47 tst_rhost_run -c "modprobe tcp_$alg" > /dev/null 2>&148 tst_rhost_run -c "grep -q $alg $proc_cc" || \67 prev_qlen=$(tst_rhost_run -s -c \69 tst_rhost_run -s -c "ip link set txqueuelen $qlen dev $rmt_dev"72 prev_queue=$(tst_rhost_run -s -c \77 tst_rhost_run -c "tc qdisc replace dev $rmt_dev root $qdisc" >/dev/null
53 tst_rhost_run -c "mkdir -p $TST_TMPDIR"54 tst_rhost_run -c "chmod 777 $TST_TMPDIR"136 tst_rhost_run() function238 tst_rhost_run $rsafe -c "$cmd $rparams $@"252 tst_rhost_run -c "$*" > /dev/null262 tst_rhost_run -c "$* 2> /dev/null"298 rhost) addr=$(tst_rhost_run -s -c "cat $addr_path")433 tst_rhost_run -c "ip xfrm policy flush" || return $?434 tst_rhost_run -c "ip xfrm state flush" || return $?435 tst_rhost_run -c "ip link set $iface down" || return $?[all …]
16 tst_rhost_run -c "sysctl -q -w net.core.busy_read=$rbusy_read_old"18 tst_rhost_run -c "sysctl -q -w net.core.busy_poll=$rbusy_poll_old"27 tst_rhost_run -s -c "sysctl -q -w net.core.busy_read=$value"28 tst_rhost_run -s -c "sysctl -q -w net.core.busy_poll=$value"38 rbusy_read_old=$(tst_rhost_run -c 'cat /proc/sys/net/core/busy_read')39 rbusy_poll_old=$(tst_rhost_run -c 'cat /proc/sys/net/core/busy_poll')
14 tst_rhost_run -c "sysctl -q -w net.core.busy_poll=$rbusy_poll_old"21 tst_rhost_run -s -c "sysctl -q -w net.core.busy_poll=$value"29 rbusy_poll_old=$(tst_rhost_run -c 'cat /proc/sys/net/core/busy_poll')
16 tst_rhost_run -c "sysctl -q -w net.core.busy_poll=$rbusy_poll_old"23 tst_rhost_run -s -c "sysctl -q -w net.core.busy_poll=$value"31 rbusy_poll_old=$(tst_rhost_run -c 'cat /proc/sys/net/core/busy_poll')
123 tst_rhost_run -c "ip xfrm state flush && ip xfrm policy flush"127 tst_rhost_run -c "ip li del $cleanup_vti 2>/dev/null"203 tst_rhost_run -s -c "ip xfrm state add src $src dst $dst \205 tst_rhost_run -s -c "ip xfrm state add src $dst dst $src \208 tst_rhost_run -s -c "ip xfrm policy add src $src dst $dst \210 tst_rhost_run -s -c "ip xfrm policy add src $dst dst $src dir \263 tst_rhost_run -s -c \265 tst_rhost_run -s -c "ip li set $vti up"269 tst_rhost_run -s -c "$ipx st add $o_dir $p $spi_1 $ALGR $m"270 tst_rhost_run -s -c "$ipx st add $i_dir $p $spi_2 $ALGR $m"[all …]
19 tst_rhost_run -c "$flush_dev lo" > /dev/null22 [ -n "$rpf_rmt" ] && tst_rhost_run -s -c "sysctl -q net.ipv4.conf.all.rp_filter=$rpf_rmt"29 tst_rhost_run -c "ip route del $ip_virt_local/32 dev ltp_v0" > /dev/null30 tst_rhost_run -c "ip route del $ip6_virt_local/128 dev ltp_v0" > /dev/null47 tst_rhost_run -s -c "sysctl -q net.mpls.conf.$(tst_iface rhost).input=1"65 tst_rhost_run -s -c "ip route add $ip_loc/$mask encap mpls $((label + 1)) dev ltp_v0"66 tst_rhost_run -s -c "ip -f mpls route add $label dev lo"
14 tst_rhost_run -c "ip route del $ip_loc/$mask" > /dev/null17 [ -n "$ip_rmt" ] && tst_rhost_run -c "ip addr del $ip_rmt/$mask dev lo" > \35 tst_rhost_run -s -c "ip addr add $ip_rmt/$mask dev lo"36 tst_rhost_run -s -c "ip route add $ip_loc/$mask encap mpls 60 via inet$TST_IPV6 $(tst_ipaddr)"37 tst_rhost_run -s -c "ip -f mpls route add 50 dev lo"
88 tst_rhost_run -c "ip link delete ltp_v0 2>/dev/null"144 tst_rhost_run -s -c "ip li add ltp_v0 type $virt_type $@ $opt"147 tst_rhost_run -s -c "ip link add ltp_v0 type $virt_type $@"150 tst_rhost_run -s -c "ip -f inet$TST_IPV6 tu add ltp_v0 \154 tst_rhost_run -s -c "ip li add link $(tst_iface rhost) ltp_v0 \212 tst_rhost_run -s -c "ip ad add ${ip6_virt_remote}/64 dev ltp_v0 nodad"215 tst_rhost_run -s -c "ip addr add ${ip_virt_remote}/24 dev ltp_v0"218 tst_rhost_run -s -c "sysctl -q net.ipv6.conf.ltp_v0.accept_dad=0"221 tst_rhost_run -s -c "ip li set up ltp_v0"232 tst_rhost_run -s -c "ip ne replace $ip_virt_local lladdr \
46 tst_rhost_run -s -c "$cmd tx sa $sa pn 100 on key $keyid1 $key1"47 tst_rhost_run -s -c "$cmd rx address $h0 port 1"48 tst_rhost_run -s -c \
61 if ! tst_rhost_run -c "test -d $remote_dir"; then62 tst_rhost_run -s -c "mkdir -p $remote_dir; $export_cmd"83 tst_rhost_run -s -c "$mnt_cmd"147 tst_rhost_run -c "test -d $remote_dir && exportfs -u *:$remote_dir"148 tst_rhost_run -c "test -d $remote_dir && rm -rf $remote_dir"
85 ORIG_NFSD=$(tst_rhost_run -s -c 'ps -ef | grep -w nfsd | grep -v grep | wc -l')86 tst_rhost_run -s -c "rpc.nfsd $THREAD_NUM"91 tst_rhost_run -c "rpc.nfsd $ORIG_NFSD"
61 local port=$(tst_rhost_run -s -c "tst_get_unused_port $ipv stream")64 tst_rhost_run -s -b -c "$SERVER $ipaddr $port"101 [ -n "$server_started" ] && tst_rhost_run -s -c "pkill $SERVER"
47 tst_rhost_run -c "ip li set $(tst_iface rhost) mtu $saved_mtu"77 tst_rhost_run -c "ifconfig $iface_rmt mtu $mtu"80 tst_rhost_run -c "ip link set $iface_rmt mtu $mtu"
61 tst_rhost_run -s -c "http-stress01-rmt $(tst_ipaddr) \71 tst_rhost_run -s -c "http-stress02-rmt $(tst_ipaddr) http_file \
82 tst_rhost_run -u $RUSER -c "grep -q 9 $RUSER.$RHOST" || return 183 tst_rhost_run -u $RUSER -c "rm -f $RUSER.$RHOST"
78 tst_rhost_run -u $RUSER -c "grep -q 9 $RUSER.$RHOST" || return 179 tst_rhost_run -u $RUSER -c "rm -f $RUSER.$RHOST"
98 tst_rhost_run -c "pkill -SIGHUP -f '$MCAST_RCMD'"134 tst_rhost_run -s -c "$MCAST_RCMD -S $(tst_ipaddr) -m -w 1000000000 -r 1000 -b"136 tst_rhost_run -s -c "$MCAST_RCMD -i 1000000000 -r 1 -b"
73 tst_rhost_run -s -c "ftp-download-stress01-rmt \86 tst_rhost_run -s -c "ftp-download-stress02-rmt $(tst_ipaddr) \
84 tst_rhost_run -s -c "ftp-upload-stress01-rmt $(tst_ipaddr) \94 tst_rhost_run -s -c "ftp-upload-stress02-rmt \
50 tst_rhost_run -c "pkill -13 -x netstress"120 tst_rhost_run -b -c "netstress -l -H $ip -g $port"
67 tst_rhost_run -b -c "mc_send $GROUP_ADDR $(tst_ipaddr rhost) $PORT $TTL"69 tst_rhost_run -s -c "pgrep -x mc_send > /dev/null"
27 calls=$(tst_rhost_run -c "grep $name /proc/net/rpc/$nfs_f" | \29 tst_rhost_run -s -c "nfsstat -s$opt" | grep -q "$calls"
183 tst_rhost_run -s -c "dns-stress01-rmt $TST_IPVER $(tst_ipaddr) $port \193 tst_rhost_run -s -c "dns-stress02-rmt $TST_IPVER $(tst_ipaddr) $port $net \