⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 run

📁 A tutorial on RT-Linux
💻
字号:
#!/bin/shecho loading RT Linux if needed...../insrtl || exit 1echo loading RT tasks with no semaphore...rmmod sem_task 2> /dev/nullinsmod sem_task.o DO_SEM=0 || exit 1echo waiting 5 seconds...sleep 5echo loading RT tasks with a semaphore...rmmod sem_task 2> /dev/nullinsmod sem_task.o DO_SEM=1 || exit 1echo waiting 5 seconds...sleep 5echo removing RT task...rmmod sem_task\rm -f dmesg.txtdmesg > dmesg.txtif test $? -ne 0 ; then    echo can\'t run the \'dmesg\' program-- try dmesg manually to view log output    exit 1fi# check if we're running Xxrdb -query > /dev/null 2> /dev/nullif test $? -eq 0 ; then    xterm -sb -sl 1000 -hold -e '(cat dmesg.txt && echo See the log file output above for results and kill this window when done)'else    cat dmesg.txt && echo See the log file output above for resultsfiexit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -