All of lore.kernel.org
 help / color / mirror / Atom feed
From: mike <mike@kevino.org>
To: linux-newbie@vger.kernel.org
Subject: Re: top and ps -Al
Date: Sun, 10 Oct 2004 10:22:52 -0700	[thread overview]
Message-ID: <41696FEC.3020106@kevino.org> (raw)
In-Reply-To: <20041008051230.18104.qmail@web52902.mail.yahoo.com>



Ankit Jain wrote:
> hi
> 
> if somebody knows the difference b/w /PRI of both
> these commands because both give different results
> 
> ps -Al
> & 
> top
> 
> as per priority rule we can set priority upto 0-99 
> 
> but top never shows this high priority
> 
> thanks
> 
> ankit
> 
Hello Ankit,

I use top mostly. Tried your two commands and saw what the results
were. I am a newbie so I cant explain why myself but I am also
curious. I noticed that if you run the "ps -Al" command with the
-c output control, "ps -Alc" the priority results are much closer to
top. From the ps manpage (-c different scheduler info for -l option)

Mike

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs

      reply	other threads:[~2004-10-10 17:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-08  5:12 top and ps -Al Ankit Jain
2004-10-10 17:22 ` mike [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=41696FEC.3020106@kevino.org \
    --to=mike@kevino.org \
    --cc=linux-newbie@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.