linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Bert Wesarg" <bert.wesarg@googlemail.com>
To: Ziaudeen.Abdulrazak@sun.com
Cc: linux-c-programming@vger.kernel.org
Subject: Re: How to name the pthread or Renaming?
Date: Wed, 12 Mar 2008 09:12:46 +0100	[thread overview]
Message-ID: <36ca99e90803120112s7091ea4foa616ecbd631cea38@mail.gmail.com> (raw)
In-Reply-To: <47D78410.1020906@sun.com>

On Wed, Mar 12, 2008 at 8:19 AM, ziaudeen <Ziaudeen.Abdulrazak@sun.com> wrote:
>
>  Bert Wesarg wrote:
>  Ok, I was wrong, the name you can set with prctl is indeed a
> per-thread attribute. you can see this either in the stat file from
> the /proc filesystem (inside parentheses) or with ps and the comm
> format, not the args format, and the same with top, where you switch
> this with 'c'.
>
>  Could you please tell me exactly what is the command " ps -c" Is it ? I
> don't understand the comm mode means..
I wrote 'comm format' and not 'mode'. if you mean with the '-c' the
misc option 'true command name', than why do you put a '-' in front of
it? the help message shows only a single 'c' => "ps c"

Bert

>
>  - Ziaudeen

      parent reply	other threads:[~2008-03-12  8:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-10 10:50 How to name the pthread or Renaming? ziaudeen
     [not found] ` <36ca99e90803100723q142411e0r8e0462be8eac5d6d@mail.gmail.com>
     [not found]   ` <47D54A87.6010608@sun.com>
2008-03-10 16:41     ` Bert Wesarg
     [not found]       ` <47D61F00.1090507@sun.com>
2008-03-11 13:05         ` Bert Wesarg
     [not found]           ` <47D78410.1020906@sun.com>
2008-03-12  8:12             ` Bert Wesarg [this message]

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=36ca99e90803120112s7091ea4foa616ecbd631cea38@mail.gmail.com \
    --to=bert.wesarg@googlemail.com \
    --cc=Ziaudeen.Abdulrazak@sun.com \
    --cc=linux-c-programming@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;
as well as URLs for NNTP newsgroup(s).