Unix-like System Commands

2020-10-27
1 min read

Record infrequently used but potential useful commands

Contents

  1. iperf3 - Network speed test
  2. qemu - convert images

iperf3

Test network speed between devices. First, open server-side iperf/iperf3 service, then, test it by client-side iperf/iperf3 application. Under windows system, the application is iperf3.exe.

Open server-side iperf3 service

iperf3 -s -p 5201

Open client-side iperf3 service

iperf3 -c [ip address] -p 5201

Qemu convert images

qemu-img convert -f [format] -O [output format] vm-114-disk-0.qcow2 vm-114-disk-0.raw

Example:

# convert qcow2 to raw image
qemu-img convert -f qcow2 -O raw vm-114-disk-0.qcow2 vm-114-disk-0.raw