2002-02-28 05:39:55

by Theewara Vorakosit

[permalink] [raw]
Subject: Process name

Dear All,
How can I get process name (same as read from /proc/xxx/cmdline) in
kernel module?
Thanks,
Theewara


2002-02-28 12:28:46

by Thomas Glanzmann

[permalink] [raw]
Subject: Re: Process name

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 [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>