Home
last modified time | relevance | path

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

1234

/linux-5.10/Documentation/admin-guide/device-mapper/
Ddm-dust.rst55 $ sudo blockdev --getsz /dev/vdb1
63 $ sudo dmsetup create dust1 --table '0 33552384 dust /dev/vdb1 0 512'
69 $ sudo dmsetup create dust1 --table '0 33552384 dust /dev/vdb1 0 4096'
75 $ sudo dmsetup status dust1
78 $ sudo dd if=/dev/mapper/dust1 of=/dev/null bs=512 count=128 iflag=direct
82 $ sudo dd if=/dev/zero of=/dev/mapper/dust1 bs=512 count=128 oflag=direct
93 $ sudo dmsetup message dust1 0 addbadblock 60
96 $ sudo dmsetup message dust1 0 addbadblock 67
99 $ sudo dmsetup message dust1 0 addbadblock 72
105 $ sudo dmsetup status dust1
[all …]
/linux-5.10/tools/perf/
Dperf-with-kcore.sh40 SUDO=""
42 SUDO="sudo"
52 KCORE=$(($SUDO "$PERF" buildid-cache -v -f -k /proc/kcore >/dev/null) 2>&1)
71 $SUDO cp -a "$KCORE_DIR" "$(pwd)/$PERF_DATA_DIR"
72 $SUDO rm -f "$KCORE_DIR/kcore"
73 $SUDO rm -f "$KCORE_DIR/kallsyms"
74 $SUDO rm -f "$KCORE_DIR/modules"
75 $SUDO rmdir "$KCORE_DIR"
80 $SUDO chown $UID "$KCORE_DIR"
81 $SUDO chown $UID "$KCORE_DIR/kcore"
[all …]
/linux-5.10/Documentation/bpf/
Ds390.rst26 sudo debootstrap \
28 --include=sudo \
31 sudo mount --rbind /dev ./s390-toolchain/dev
32 sudo mount --rbind /proc ./s390-toolchain/proc
33 sudo mount --rbind /sys ./s390-toolchain/sys
34 sudo chroot ./s390-toolchain
38 sudo dpkg --add-architecture s390x
39 sudo apt-get update
40 sudo apt-get install \
74 sudo make install
[all …]
Ddrgn.rst37 % sudo bpf_inspect.py prog
44 % sudo bpf_inspect.py map
51 % sudo bpf_inspect.py p | grep test_pkt_access
77 % sudo bpf_inspect.py
122 % sudo bpf_inspect.py p
/linux-5.10/tools/power/pm-graph/
Dsleepgraph.8264 \f(CW$ sudo sleepgraph -fpdt\fR
272 \f(CW$ sudo sleepgraph -f -rtcwake 30 -status
282 \f(CW$ sudo sleepgraph -rtcwake 15 -addlogs\fR
286 \f(CW$ sudo sleepgraph -m standby -rtcwake 15 -o "standby-{host}-{date}-{time}"\fR
290 \f(CW$ sudo sleepgraph -m freeze -rtcwake off -o "freeze-{hostname}-{date}-{time}"\fR
296 \f(CW$ sudo sleepgraph -m mem -rtcwake 15 -dev -mindev 5\fR
300 \f(CW$ sudo sleepgraph -m mem -rtcwake 15 -x2 -predelay 500 -x2delay 500 -postdelay 500\fR
304 \f(CW$ sudo sleepgraph -cmd "echo mem > /sys/power/state" -rtcwake 15\fR
311 \f(CW$ sudo sleepgraph -m freeze -rtcwake 15 -multi 10 30\fR
315 \f(CW$ sudo sleepgraph -m freeze -rtcwake 15 -multi 24h 0\fR
[all …]
Dbootgraph.8134 \f(CW$ sudo bootgraph -reboot -addlogs -o "latest-{hostname)"\fR
138 \f(CW$ sudo bootgraph -reboot -f\fR
142 \f(CW$ sudo bootgraph -reboot -callgraph -mincg 5\fR
146 \f(CW$ sudo bootgraph -reboot -callgraph -func "acpi_ps_parse_aml,msleep"\fR
150 \f(CW$ sudo bootgraph -callgraph -manual\fR
154 \f(CW$ sudo reboot # reboot the machine\fR
156 \f(CW$ sudo bootgraph -callgraph # re-run the tool after restart\fR
DREADME68 sudo apt-get install python python-configparser python-requests linux-tools-common
71 sudo dnf install python python-configparser python-requests linux-tools-common
77 $> sudo make install
128 %> sudo ./sleepgraph.py -modes
133 %> sudo ./sleepgraph.py -m mem -rtcwake 15
137 %> sudo ./sleepgraph.py -config config/suspend.cfg
169 %> sudo ./sleepgraph.py -m mem -rtcwake 15 -mindev 1 -dev
173 %> sudo ./sleepgraph.py -config config/suspend-dev.cfg
193 %> sudo ./sleepgraph.py -m mem -rtcwake 15 -x2 -x2delay 1000 -predelay 1000 -postdelay 1000 -proc
197 %> sudo ./sleepgraph.py -config config/suspend-proc.cfg
[all …]
/linux-5.10/tools/perf/Documentation/
Dbuild-xed.txt9 $ sudo ./mfile.py --prefix=/usr/local install
10 $ sudo ldconfig
11 $ sudo cp obj/examples/xed /usr/local/bin
Dperf.data-directory-format.txt34 $ sudo perf record --kcore uname
38 $ sudo tree -ps perf.data
47 $ sudo perf script -v
/linux-5.10/tools/testing/selftests/rcutorture/doc/
Drcu-test-image.txt37 sudo mount -o loop ./rcu-test-image /mnt
42 sudo debootstrap --verbose --arch i386 precise /mnt http://archive.ubuntu.com/ubuntu
43 cat << '___EOF___' | sudo dd of=/mnt/etc/fstab
53 sudo umount /mnt
/linux-5.10/tools/thermal/tmon/
Dtmon.897 $ sudo ./tmon
100 $ sudo ./tmon -c Processor -z 0
103 $ sudo ./tmon -c intel_powerclamp -z 1
106 $ sudo ./tmon -g -l
DREADME39 $ sudo ./tmon -h
50 $ sudo ./tmon
/linux-5.10/tools/testing/selftests/powerpc/nx-gzip/
DREADME6 If you get a permission error run as sudo or set the device permissions:
7 sudo chmod go+rw /dev/crypto/nx-gzip
/linux-5.10/samples/pktgen/
Dfunctions.sh116 # Trick so, program can be run as normal user, will just use "sudo"
119 if [ -x $0 ]; then # Directly executable use sudo
120 info "Not root, running with sudo"
121 sudo "$0" "$@"
124 err 4 "cannot perform sudo run of $0"
/linux-5.10/tools/bootconfig/scripts/
Dbconf2ftrace.sh7 echo " --apply: Test actual apply to tracefs (need sudo)"
36 echo "This must be run by root user. Try sudo." 1>&2
37 exec sudo $0 $DEBUG $APPLY $BCONF
/linux-5.10/tools/testing/selftests/cpufreq/
Dspecial-tests.sh68 echo ondemand | sudo tee $CPUFREQROOT/policy*/scaling_governor &
69 echo userspace | sudo tee $CPUFREQROOT/policy*/scaling_governor &
/linux-5.10/Documentation/ABI/testing/
Dsysfs-driver-genwqe35 sudo sh -c 'echo 1 > \
73 sudo sh -c 'echo 15 > \
/linux-5.10/tools/perf/scripts/python/
Dexport-to-postgresql.py30 # $ sudo yum install postgresql postgresql-server qt-postgresql
31 # $ sudo su - postgres -c initdb
32 # $ sudo service postgresql start
33 # $ sudo su - postgres
36 # $ sudo yum install python-pyside
39 # $ sudo yum install python3-pyside
45 # $ sudo apt-get install postgresql
46 # $ sudo su - postgres
48 # $ sudo apt-get install python-pyside.qtsql libqt4-sql-psql
52 # $ sudo apt-get install python3-pyside.qtsql libqt4-sql-psql
[all …]
Dexport-to-sqlite.py28 # $ sudo apt-get install python-pyside.qtsql libqt4-sql-psql
32 # $ sudo apt-get install python3-pyside.qtsql libqt4-sql-psql
33 # $ sudo apt-get install python-pyside2.qtsql libqt5sql5-psql
34 # $ sudo apt-get install python3-pyside2.qtsql libqt5sql5-psql
37 # $ sudo yum install python-pyside
40 # $ sudo yum install python3-pyside
/linux-5.10/Documentation/networking/device_drivers/ethernet/aquantia/
Datlantic.rst306sudo ethtool -N <ethX> flow-type tcp6 src-ip 2001:db8:0:f101::1 dst-ip 2001:db8:0:f101::2 action 1…
307sudo ethtool -N <ethX> flow-type ip6 src-ip 2001:db8:0:f101::2 dst-ip 2001:db8:0:f101::5 action -1…
311sudo ethtool -N <ethX> flow-type udp4 src-ip 10.0.0.4 dst-ip 10.0.0.7 src-port 2000 dst-port 2001 …
312sudo ethtool -N <ethX> flow-type tcp4 src-ip 10.0.0.3 dst-ip 10.0.0.9 src-port 2000 dst-port 2001 …
313 sudo ethtool -N <ethX> flow-type ip4 src-ip 10.0.0.6 dst-ip 10.0.0.4 loc 34
346 sudo ethtool <-N|-U|--config-nfc|--config-ntuple> <ethX> delete <loc>
/linux-5.10/Documentation/networking/
Dsnmp_counter.rst1283 sudo bash -c "echo 10 > /proc/sys/net/ipv4/tcp_max_orphans"
1337 sudo iptables -A INPUT -i ens3 -p tcp --destination-port 9000 -j DROP
1558 $ sudo ip route add 8.8.8.8/32 via 192.168.122.251
1562 $ sudo sysctl -w net.ipv4.conf.all.send_redirects=0
1563 $ sudo sysctl -w net.ipv4.conf.ens3.send_redirects=0
1564 $ sudo sysctl -w net.ipv4.conf.lo.send_redirects=0
1565 $ sudo sysctl -w net.ipv4.conf.default.send_redirects=0
1574 $ sudo sysctl -w net.ipv4.conf.all.forwarding=0
1598 $ sudo sysctl -w net.ipv4.conf.all.forwarding=1
1605 $ sudo ip route delete default via 192.168.122.1 dev ens3 proto static
[all …]
/linux-5.10/tools/lib/api/fs/
Dtracing_path.c152 "Hint:\tTry 'sudo mount -t debugfs nodev /sys/kernel/debug'"); in tracing_path__strerror_open_tp()
157 "Hint:\tTry 'sudo mount -o remount,mode=755 %s'\n", in tracing_path__strerror_open_tp()
/linux-5.10/tools/testing/selftests/bpf/benchs/
Drun_bench_trigger.sh7 summary=$(sudo ./bench -w2 -d5 -a trig-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
Drun_bench_rename.sh7 summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
/linux-5.10/Documentation/admin-guide/media/
Dbuilding.rst303 $ sudo make modules_install
304 $ sudo make install
354 $ make && sudo make install

1234