Opened 15 years ago
Closed 14 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 by , 15 years ago
Component: | unspecified → app/other |
---|
comment:2 by , 15 years ago
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.
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.