ChorusOS 5.0 Application Developer's Guide

Killing Processes Using akill

Use the akill command to kill a process, passing the PID as a parameter:


% rsh targetname akill pid

The previous example showed a process called MY_PROG with a pid of 12 running on the target. To kill this process, you would type the following:


% rsh targetname akill 12

For more information, refer to the akill(1M) man page.


Note -

The ChorusOS operating system does not provide a command to terminate an actor. Actors cannot be terminated using the akill command. They can be terminated using the akill(2K) or the actorDelete(2K) system calls.