Tools/commands available in Motor OS
October 23, 2025 ยท View on GitHub
VM running helpers
After successfully building Motor OS image,
$MOTORH/motor-os/vm_images/[debug|release] directory will contain several data files
and several useful scripts:
motor.full.imgcontains the "full" image of Motor OS, i.e. all system tools in addition to the sample Motor OS website;motor.web.imgcontains a minimal image of Motor OS that will start serving the sample Motor OS website on boot;create-tap.shis a script to create a local ipvtap device that will be used by the VM for networking;run-qemu.shandrun-chv.shwill run the "full" VM version in Qemu or Cloud Hypervisor;run-web-qemu.shandrun-web-chv.shwill run the "web" VM versions.
Tools available inside the Motor OS VM
This is how top looks like:

The "full" Motor OS VM will boot into a unix-like shell rush. The shell is somewhat barebones now (contributions are welcome!).
ls binwill show all commands in the$PATH;free,kill,printenv,ps,ss, andtopare worth mentioning;/sys/tests/systest,/sys/tests/mio-test, and/sys/tests/tokio-testsare useful to make sure everything is working as expected;/sys/logsdirectory contains some occasionally useful logs;/sys/mdbg print-stacks $PID, where$PIDcan be deduced by runningps, will (attempt) to extract stack traces for all threads in the process; the stack traces are addresses, soaddr2linewill need to be used with the binary (e.g.$MOTORH/motor-os/build/obj/sys-io/x86_64-unknown-motor/debug/sys-io);- stack traces reaching into the VDSO object will be marked as so, and can be symbolized
using
addr2lineapplied to$MOTORH/motor-os/build/obj/vdso/x86_64-unknown-motor/debug/rt.
- stack traces reaching into the VDSO object will be marked as so, and can be symbolized
using
