rtlinux -- script used to start RTLinux and load associated RTLinux modules


	rtlinux {start,stop,status} [user_modules]



This tool is in its beta testing stages. Use with caution.

rtlinux is a SysV compatible script used to install, remove, or get status information for either/both RTLinux and the user's module(s).

rtlinux is a tool that is used to insert, remove, and obtain status information about both the RTLinux modules and the user's module or modules according to the options specified in the command line. If no user modules are listed, then only RTLinux modules are operated upon.

The script file rtlinux inserts the modules into kernel space if start is specified as an option. The script then checks whether the module was inserted based on the output of the lsmod(8) command.

The script file rtlinux will remove all the specified modules from the kernel if the stop option is specified as an option. The script checks to make sure that the modules were suc- cessfully removed based on the output of the lsmod com- mand.

The script file will report whether or not the modules are inserted in the kernel if the status option is specified. This information is based on the output of the lsmod(8) command.

The optional list, user_modules, is a space separated list of the user's modules, without the .o extension. By default, the script assumes that they end with an .o extension.


The following example demonstrates a typical usage of rtlinux. It inserts the user's modules banshee.o and beenshee.o along with the RTLinux kernel:

rtlinux start banshee beenshee


This script requires the rtl-config(1) script to be in its path, in order to obtain the RTLinux module information


Edgar F. Hilton (efhilton@fsmlabs.com)


rtl-config(1), insmod(8), rmmod(8), lsmod(8)

2001 FSMLabs Inc.

All rights reserved.