Opened 14 years ago

Closed 13 years ago

#214 closed enhancement (fixed)

Need a command to kill an arbitrary running task

Reported by: Jakub Jermář Owned by:
Priority: major Milestone: 0.4.3
Component: helenos/app/other Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:


We need a way to kill tasks directly from userspace. Something like:

# kill 35

This command could be a mere wrapper around a new syscall, which would in turn call the task_kill() kernel function.

Change History (3)

comment:1 by Jakub Jermář, 14 years ago

Component: unspecifiedapp/other

comment:2 by Martin Decky, 14 years ago

The "kill" functionality is certainly needed, but it makes less sense without a way how to list running tasks in user space (without using the kernel console which is only a debugging tool).

Both functionalities should be part of the master thesis preliminary assigned to Mr. Kozina.

comment:3 by Jiri Svoboda, 13 years ago

Resolution: fixed
Status: newclosed

It has been possible to list tasks and their IDs using the 'task' command for some time (thanks to Standa Kozina). Now I implemented the kill command in changeset:mainline,776. Syntax is kill task_id.

Note: See TracTickets for help on using tickets.