Re: Process name

From: Thomas Glanzmann (sithglan@stud.uni-erlangen.de)
Date: Thu Feb 28 2002 - 07:24:47 EST


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/



This archive was generated by hypermail 2b29 : Thu Feb 28 2002 - 21:00:41 EST