Re: Process name

Thomas Glanzmann (sithglan@stud.uni-erlangen.de)
Thu, 28 Feb 2002 13:24:47 +0100 (MET)


On Thu, 28 Feb 2002, Theewara Vorakosit wrote:

Have a look in task_struct

current->comm

> Dear All,
> How can I get process name (same as read from /proc/xxx/cmdline) in
> kernel module?
> Thanks,
> Theewara
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/