Messages in this thread | | | Date | Mon, 16 Feb 1998 20:22:36 +0100 | From | "Cesare Pizzi" <> | Subject | Re: Gettask |
| |
Hello Rik.
> Wouldn't it be better to do this in user-space???
Pheraps. :-)
> Furthermore, what's the reason for implementing these > systcalls? It looks like a simple 'ps ax|grep TaskName' > could do the same...
Yes, more or less is the same. But since there is no way to know if a process is running, without using an external command or other non-standard ways, IMHO these calls could be useful.Since you can kill a process via system call, I think you should be able to see if a process is running or not.
Thanks for your comment.
Regards,
Cesare
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |