Home
last modified time | relevance | path

Searched full:sudo (Results 1 – 25 of 1228) sorted by relevance

12345678910>>...50

/external/bcc/examples/usdt_sample/
Dusdt_sample.sh3 # sudo apt-get install linux-headers-$(uname -r) "llvm-13*" libclang-13-dev luajit luajit-5.1-dev l…
7 # sudo make install
16 # sudo dnf install systemtap-sdt-dev # For Ubuntu 21.10, other distro's might have differently nam…
27 sudo python3 tools/argdist.py -p ${pid} -i 5 -C "u:$(pwd)/examples/usdt_sample/build_gcc/usdt_sampl…
29 sudo pkill -f "\\-p.${pid}"
31 sudo python3 tools/argdist.py -p ${pid} -i 5 -C "u:$(pwd)/examples/usdt_sample/build_gcc/usdt_sampl…
33 sudo pkill -f "\\-p.${pid}"
34 sudo python3 examples/usdt_sample/scripts/latency.py -p=${pid} -f="usdt_20" &
36 sudo pkill -f "\\-p.${pid}"
37 sudo python3 examples/usdt_sample/scripts/latency.py -p=${pid} -f="usdt_20" -s &
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/gce/
Dlinux_kokoro_performance_worker_init.sh22 sudo apt-get update
25 sudo apt-get install -y openjdk-8-jdk
26 sudo apt-get install -y unzip lsof
28 sudo apt-get install -y \
65 sudo apt-get install -y google-perftools libgoogle-perftools-dev
68 sudo apt-get install -y netperf
71 sudo apt-get install -y python-psutil python3-psutil
74 sudo apt-get install -y google-cloud-sdk
77 sudo apt-get install -y libgtest-dev libc++-dev clang
80 sudo pip install --upgrade pip==19.3.1
[all …]
/external/bcc/tests/python/
DCMakeLists.txt21 COMMAND ${TEST_WRAPPER} py_bpf_prog sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_bpf_log.py)
29 COMMAND ${TEST_WRAPPER} py_trace2 sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_trace2.py)
31 COMMAND ${TEST_WRAPPER} py_trace3_c sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_trace3.py test_trace3.c)
33 COMMAND ${TEST_WRAPPER} py_trace4 sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_trace4.py)
35 …COMMAND ${TEST_WRAPPER} py_trace_maxactive sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_trace_maxactive.p…
37 COMMAND ${TEST_WRAPPER} py_probe_count sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_probe_count.py)
39 COMMAND ${TEST_WRAPPER} py_test_debuginfo sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_debuginfo.py)
41 COMMAND ${TEST_WRAPPER} py_brb_c sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_brb.py test_brb.c)
43 COMMAND ${TEST_WRAPPER} py_brb2_c sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_brb2.py test_brb2.c)
45 COMMAND ${TEST_WRAPPER} py_clang sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_clang.py)
[all …]
/external/ot-br-posix/script/
D_dns6454 sudo resolvconf -u || true
56 sudo resolvconf -u || true
59 sudo systemctl restart NetworkManager || true
63 sudo systemctl restart dhcpcd || true
78 sudo sed -i '/^};/i\\tlisten-on-v6 { thread; };' $BIND_CONF_OPTIONS
79 sudo sed -i '/^\tlisten-on-v6 { a/d' $BIND_CONF_OPTIONS
80 sudo sed -i '/^};/i\\tallow-query { any; };' $BIND_CONF_OPTIONS
81 sudo sed -i '/^};/i\\tallow-recursion { thread; };' $BIND_CONF_OPTIONS
82 sudo sed -i '/^};/i\\tforwarders { 8.8.8.8; 8.8.8.4; };' $BIND_CONF_OPTIONS
83 sudo sed -i '/^};/i\\tforward only;' $BIND_CONF_OPTIONS
[all …]
Dbootstrap40 sudo apt-get update
41 sudo apt-get install --no-install-recommends -y \
48 sudo apt-get install --no-install-recommends -y build-essential ninja-build cmake
50 with RELEASE || sudo apt-get install --no-install-recommends -y libcpputest-dev
52 sudo apt-get install --no-install-recommends -y rsyslog
55 sudo apt-get install --no-install-recommends -y libdbus-1-dev
58sudo apt-get install --no-install-recommends -y libavahi-client3 libavahi-common-dev libavahi-clie…
67 && make os=linux && sudo make install os=linux)
70sudo apt-get install --no-install-recommends -y libboost-dev libboost-filesystem-dev libboost-syst…
74 "$NAT64_SERVICE" != "tayga" || sudo apt-get install --no-install-recommends -y tayga
[all …]
D_network_manager40 sudo nmcli c add type wifi ifname "${IFNAME}" con-name ${AP_CONN} ssid ${AP_CONN}
41sudo nmcli c modify ${AP_CONN} 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared …
42 sudo nmcli c modify ${AP_CONN} wifi-sec.key-mgmt wpa-psk
43 sudo nmcli c modify ${AP_CONN} wifi-sec.proto rsn
44 sudo nmcli c modify ${AP_CONN} wifi-sec.psk "12345678"
51 sudo nmcli c add type ethernet ifname "${IFNAME}" con-name ${ETH_CONN}
52 sudo nmcli c modify ${ETH_CONN} ipv6.method ignore
57 sudo tee ${AP_HELPER_SCRIPT} <<EOF
186 sudo tee ${DHCPV6_HELPER_SCRIPT} <<EOF
339 sudo sed -i 's/^#port=5353/port=0/g' /etc/dnsmasq.conf
[all …]
D_nat6451 sudo sed -i 's/^RUN="no"/RUN="yes"/' $TAYGA_DEFAULT
52 sudo sed -i 's/^IPV4_TUN_ADDR=""/IPV4_TUN_ADDR="'$TAYGA_IPV4_ADDR'"/' $TAYGA_DEFAULT
53 sudo sed -i 's/^IPV6_TUN_ADDR=""/IPV6_TUN_ADDR="'$TAYGA_TUN_V6_ADDR'"/' $TAYGA_DEFAULT
54 sudo sed -i 's/^prefix /##prefix /' $TAYGA_CONF
55 sudo sed -i '/^##prefix /a prefix '$NAT64_PREFIX $TAYGA_CONF
56 sudo sed -i '/^#ipv6-addr/a ipv6-addr '$TAYGA_IPV6_ADDR $TAYGA_CONF
57 sudo sed -i 's/^dynamic-pool /##dynamic-pool /' $TAYGA_CONF
58 sudo sed -i '/^##dynamic-pool /a dynamic-pool '"$DYNAMIC_POOL" $TAYGA_CONF
61 sudo systemctl restart tayga || die 'Unable to restart taga service!'
62 sudo systemctl enable tayga || die 'Unable to enable taga service!'
[all …]
Dserver43 sudo sysctl --system
48 … systemctl is-active rsyslog || sudo systemctl start rsyslog || die 'Failed to start rsyslog!'
49 systemctl is-active dbus || sudo systemctl start dbus || die 'Failed to start dbus!'
50 …systemctl is-active avahi-daemon || sudo systemctl start avahi-daemon || die 'Failed to start avah…
51 …without WEB_GUI || systemctl is-active otbr-web || sudo systemctl start otbr-web || die 'Failed to…
52 …systemctl is-active otbr-agent || sudo systemctl start otbr-agent || die 'Failed to start otbr-age…
54 sudo service rsyslog status || sudo service rsyslog start || die 'Failed to start rsyslog!'
55 sudo service dbus status || sudo service dbus start || die 'Failed to start dbus!'
57 sudo service mdns status || sudo service mdns start || echo "service mdns is not available!"
58sudo service avahi-daemon status || sudo service avahi-daemon start || die 'Failed to start avahi!'
[all …]
D_otbr37 sudo systemctl stop otbr-web || true
38 sudo systemctl stop otbr-agent || true
39 sudo systemctl disable otbr-web || true
40 sudo systemctl disable otbr-agent || true
41 ! sudo systemctl is-enabled otbr-web
42 ! sudo systemctl is-enabled otbr-agent
44 sudo killall otbr-web otbr-agent || true
49 sudo xargs rm <install_manifests.txt || true
53 sudo systemctl daemon-reload
113 && sudo ninja install)
[all …]
/external/grpc-grpc/tools/gce/
Dlinux_kokoro_performance_worker_init.sh22 sudo apt-get update
25 sudo apt-get install -y openjdk-8-jdk
26 sudo apt-get install -y unzip lsof
28 sudo apt-get install -y \
66 sudo apt-get install -y google-perftools libgoogle-perftools-dev
69 sudo apt-get install -y netperf
72 sudo apt-get install -y libgflags-dev libgtest-dev libc++-dev clang
75 sudo pip install --upgrade pip==10.0.1
76 sudo pip install tabulate
77 sudo pip install google-api-python-client
[all …]
Dlinux_performance_worker_init.sh22 sudo apt-get update
25 sudo apt-get install -y openjdk-8-jdk
26 sudo apt-get install -y unzip lsof
28 sudo apt-get install -y \
66 sudo apt-get install -y google-perftools libgoogle-perftools-dev
69 sudo apt-get install -y netperf
72 sudo apt-get install -y libgflags-dev libgtest-dev libc++-dev clang
75 sudo pip install --upgrade pip==10.0.1
76 sudo pip install tabulate
77 sudo pip install google-api-python-client
[all …]
Dlinux_worker_init.sh23 sudo dd if=/dev/zero of=/swap bs=1024 count=10485760
24 sudo chmod 600 /swap
25 sudo mkswap /swap
26 sudo sed -i '$ a\/swap none swap sw 0 0' /etc/fstab
27 sudo swapon -a
30 sudo apt-get update
33 sudo apt-get install -y openjdk-8-jre
34 sudo apt-get install -y unzip lsof
40 sudo adduser jenkins --disabled-password || true
42 # Enable jenkins to use docker without sudo:
[all …]
/external/bcc/
DINSTALL.md88 sudo apt-get install bpfcc-tools linux-headers-$(uname -r)
91 …/sbin` (`/usr/sbin` in Ubuntu 18.04) with a `-bpfcc` extension. Try running `sudo opensnoop-bpfcc`.
107 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4052245BD4284CDD
108 echo "deb https://repo.iovisor.org/apt/$(lsb_release -cs) $(lsb_release -cs) main" | sudo tee /etc/…
109 sudo apt-get update
110 sudo apt-get install bcc-tools libbcc-examples linux-headers-$(uname -r)
117 echo "deb [trusted=yes] https://repo.iovisor.org/apt/xenial xenial-nightly main" | sudo tee /etc/ap…
118 sudo apt-get update
119 sudo apt-get install bcc-tools libbcc-examples linux-headers-$(uname -r)
131 sudo dnf install bcc
[all …]
/external/ot-br-posix/tests/dbus/
Dtest-client40 sudo killall otbr-agent || true
41 sudo killall expect || true
42 sudo killall ot-cli-ftd || true
43 sudo killall ot-cli-mtd || true
44 sudo killall dbus-monitor || true
45 sudo rm "/etc/dbus-1/system.d/${OTBR_DBUS_SERVER_CONF}" || true
63sudo gdbus call --system --dest io.openthread.BorderRouter.wpan0 --method=io.openthread.BorderRout…
68sudo gdbus call --system --dest io.openthread.BorderRouter.wpan0 --method=io.openthread.BorderRout…
73sudo gdbus call --system --dest io.openthread.BorderRouter.wpan0 --method=io.openthread.BorderRout…
78sudo gdbus call --system --dest io.openthread.BorderRouter.wpan0 --method=io.openthread.BorderRout…
[all …]
/external/ot-br-posix/tests/scripts/
Dauto-attach41 sudo killall otbr-agent || true
48 sudo "${OTBR_AGENT}" -I wpan0 -v -d 6 "spinel+hdlc+forkpty://${OT_RCP}?forkpty-arg=1" --auto-attach…
49 sudo "${OTBR_AGENT}" -I wpan0 -v -d 6 "spinel+hdlc+forkpty://${OT_RCP}?forkpty-arg=1" --auto-attach…
50 sudo "${OTBR_AGENT}" -I wpan0 -v -d 6 "spinel+hdlc+forkpty://${OT_RCP}?forkpty-arg=1" --auto-attach…
52 sudo cp "${ABS_TOP_BUILDDIR}/src/agent/otbr-agent.conf" /etc/dbus-1/system.d/
53 sudo chmod +r /etc/dbus-1/system.d/otbr-agent.conf
54 sudo systemctl reload dbus
56 sudo "${OTBR_AGENT}" -I wpan0 -v -d 6 "spinel+hdlc+forkpty://${OT_RCP}?forkpty-arg=1" &
58 sudo "${OT_CTL}" factoryreset
60 sudo "${OT_CTL}" dataset init new
[all …]
Dinfra-link-selector40 sudo killall otbr-agent || true
42 sudo ip link del ilstest0 || true
43 sudo ip link del ilstest1 || true
44 sudo ip link del ilstest2 || true
51 sudo cp "${ABS_TOP_BUILDDIR}/src/agent/otbr-agent.conf" /etc/dbus-1/system.d/
52 sudo chmod +r /etc/dbus-1/system.d/otbr-agent.conf
53 sudo systemctl reload dbus
55 sudo modprobe dummy
62 sudo ip link add "${netif}" type dummy
63 sudo ifconfig "${netif}" hw ether "${mac}"
[all …]
Dmeshcop230 sudo rm -vrf "${TEST_BASE}/tmp"
232 sudo rm -vf "/tmp/openthread.lock"
239 sudo logrotate -f /etc/logrotate.conf || true
253 sudo pkill -f "${OTBR_AGENT}" || true
254 sudo pkill -f "${OTBR_WEB}" || true
255 sudo pkill -f "${OT_COMMISSIONER_CLI}" || true
256 sudo pkill -f "${OT_CLI}" || true
261 sudo rm /etc/dbus-1/system.d/otbr-agent.conf || true
262 sudo rm -rf "${STAGE_DIR}" || true
263 sudo rm -rf "${BUILD_DIR}" || true
[all …]
/external/libwebsockets/scripts/
Dtravis_install.sh7 sudo apt-get update -qq
11sudo apt-get install -y -qq realpath libjemalloc1 libev4 libuv-dev libdbus-1-dev valgrind mosquitto
12 sudo apt-get remove python-six
13 sudo pip install "six>=1.9"
14 sudo pip install "Twisted==16.0.0"
15 sudo pip install "pyopenssl>=0.14"
16 sudo pip install autobahntestsuite
19 sudo tar xf /tmp/openssl.tar.bz2
20 sudo ldconfig
21 sudo update-ca-certificates
[all …]
/external/libiio/src/CI/travis/
Dsetup_qemu_for_arm.sh22 sudo apt-get update
23 sudo apt-get install -qq -y qemu-user-static binfmt-support sbuild wget debian-archive-keyring ubun…
26 sudo mkdir -p ${QEMU_DIR}
27 sudo chown ${USER} /tmp/qemu
43 sudo apt-get install -qq -y debootstrap
46sudo add-apt-repository -r "deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-updates main r…
47 sudo apt-get install -qq -y -t $(lsb_release -cs)-updates debootstrap
50 sudo dpkg --install /tmp/debootstrap_1.0.111_all.deb
54 sudo mkdir ${CHROOT_DIR}
55 sudo debootstrap --foreign --no-check-gpg --include=fakeroot,build-essential --arch=${CHROOT_ARCH} …
[all …]
/external/scapy/
D.travis.yml48 sudo: required
51 - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes
54 sudo: required
57 - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes
60 sudo: required
63 - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes
66 sudo: required
69 - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes
72 sudo: required
75 - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes
[all …]
/external/openthread/.github/workflows/
Dbuild.yml51 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
52 sudo apt-get --no-install-recommends install -y clang-format-9 clang-tidy-9 shellcheck
54 sudo snap install shfmt
76 sudo pip3 install --system -U cmake==3.10.3
78 sudo apt-get --no-install-recommends install -y ninja-build libreadline-dev libncurses-dev
105 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
106 sudo apt-get --no-install-recommends install -y ninja-build libreadline-dev libncurses-dev
119 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
120 sudo apt-get --no-install-recommends install -y clang-tools-9 ninja-build
133 sudo apt-get --no-install-recommends install -y ninja-build libreadline-dev libncurses-dev
[all …]
/external/zstd/contrib/linux-kernel/
Dbtrfs-extract-benchmark.sh30 sudo umount /mnt/btrfs 2> /dev/null > /dev/null || true
31 sudo mount -t btrfs $@ /dev/sda3 /mnt/btrfs
32 sudo rm -rf /mnt/btrfs/*
34 sudo umount /mnt/btrfs
35 sudo mount -t btrfs $@ /dev/sda3 /mnt/btrfs
39 time sh -c "sudo cp -r $BENCHMARK_DIR /mnt/btrfs/$BENCHMARK_FILE && sync"
44 $(sudo du /mnt/btrfs -b -d 0 | tr '\t' '\n' | head -n 1);
47 sudo umount /mnt/btrfs
48 sudo mount -t btrfs $@ /dev/sda3 /mnt/btrfs
51 time sh -c "sudo tar -C /mnt/btrfs -xf /mnt/btrfs/$BENCHMARK_FILE && sync"
[all …]
/external/bcc/tests/
Dwrapper.sh.in19 sudo ip netns delete $ns
26 sudo ip netns add $ns
27 sudo ip link add $ns.in type veth peer name $ns.out
28 sudo ip link set $ns.in netns $ns
29 sudo ip netns exec $ns ip link set $ns.in name eth0
30 sudo ip netns exec $ns ip addr add dev eth0 172.16.1.2/24
31 sudo ip netns exec $ns ip link set eth0 up
32 sudo ip netns exec $ns ethtool -K eth0 tx off
33 sudo ip addr add dev $ns.out 172.16.1.1/24
34 sudo ip link set $ns.out up
[all …]
/external/wmediumd/
DREADME.md30 sudo modprobe mac80211_hwsim radios=2
31 sudo ./wmediumd/wmediumd -c tests/2node.cfg &
196 sudo modprobe -r mac80211_hwsim
197 sudo modprobe mac80211_hwsim
198 sudo ./wmediumd/wmediumd -c ./tests/2node.cfg
201 sudo lxc-unshare -s NETWORK bash
205 sudo iw phy phy2 set netns $pid
207 sudo ip link set wlan1 down
208 sudo iw dev wlan1 set type mp
209 sudo ip link set addr 42:00:00:00:00:00 dev wlan1
[all …]
/external/exfatprogs/
D.travis.yml9 - sudo apt-get install linux-headers-$(uname -r)
23 - sudo make install > /dev/null
26 - sudo make install > /dev/null
27 - sudo modprobe exfat
28 - sudo mkdir -p /mnt/test
31 - sudo losetup /dev/loop22 test.img
32 - sudo mkfs.exfat /dev/loop22
33 - sudo mount -t exfat /dev/loop22 /mnt/test/
35 …- i=1;while [ $i -le 10000 ];do sudo touch file$i;if [ $? != 0 ]; then exit 1; fi; i=$(($i + 1));d…
37 - sudo rm -rf *
[all …]

12345678910>>...50