Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 9 years ago

Closed 9 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:

Description

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 Changed 9 years ago by Jakub Jermář

Component: unspecifiedapp/other

comment:2 Changed 9 years ago by Martin Decky

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 Changed 9 years ago by Jiri Svoboda

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.