Re: Gettask

Cesare Pizzi (cpizzi@globalnet.it)
Wed, 18 Feb 1998 20:18:38 +0100


> > 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.
> What about
> fuser /path/to/program

Another shell command. Not very standard IMHO. Moreover, on many production
systems, the fuser command can be used only by root, so the other user can not
access it.
Anyway, I'm rewriting the call, to compact all in one system call.

Thanks and regards,

Cesare.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu