mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: <WHarms@bfs.de> (Walter Harms)
To: <linux-kernel@vger.kernel.org>
Subject: tasknames
Date: Sun, 17 Dec 2000 11:46:38 +0100	[thread overview]
Message-ID: <vines.sxdD+Ca7DuA@SZKOM.BFS.DE> (raw)


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/

                 reply	other threads:[~2000-12-17 11:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vines.sxdD+Ca7DuA@SZKOM.BFS.DE \
    --to=wharms@bfs.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®