* tasknames
@ 2000-12-17 10:46 Walter Harms
0 siblings, 0 replies; only message in thread
From: Walter Harms @ 2000-12-17 10:46 UTC (permalink / raw)
To: linux-kernel
hi list,
lately i wrote a programm to find a PID(-list) for a given name. I found it confusing that the tasks are not having a propper form of name registration.
The field int task_struct the field comm is restricted to 16 chars. Longer names can only be identified with the 'cmdline' entry from the procfs. But not every task set it e.g. kflushd and friends.
I would call to force all programm to fill the 'cmdline' entry.
Does any programm use the comm entry ? ( i dont talk about ps, print is not a use in this sense). if not the 'cmdline' could replace the comm field. It would be more flexable.
(and its already there in mm_struct)
walter
ps: i am not a memeber of this list
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-12-17 11:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-17 10:46 tasknames Walter Harms
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®