Copy your executable application files into the chorus_root_directory/bin directory.
% cp hello_s.r chorus_root_directory/bin |
This step is important as the applications must be in a directory on the host that is exported to the target system.
To start the hello supervisor actor:
% rsh target arun /bin/hello_s.r |
The arun command returns the actor identifier (aid) of the new actor:
Started aid = 13 Hello World! |
To list the actors running on the target:
% rsh target aps |
To kill the actor, the id of which is aid:
% rsh target akill aid |
To display information about current memory usage:
% rsh target memstat |
The ChorusOS operating system actors are loaded and locked in memory when they start. This means that physical memory for the actor's text, data and stack must be available at load time. The memstat command of C_INIT(1M) can be used to check whether enough physical memory is available on the target system.