lkml.org 
[lkml]   [1998]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.037 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site