public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alan McKinnon" <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ps command
Date: Wed, 23 Jul 2008 11:23:38 +0200	[thread overview]
Message-ID: <b932915a0807230223y5daeaeb3te415b88773735c0a@mail.gmail.com> (raw)
In-Reply-To: <6b16fb4c0807230109m3082f32p140648211f7cdae9@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 764 bytes --]

On Wed, Jul 23, 2008 at 10:09 AM, Kaushal Shriyan <kaushalshriyan@gmail.com>
wrote:

> Hi
>
> # ps auxw | egrep "USER|rsync"
>
> root      5301  0.0  0.0  10036  1280 ?        Ss   01:13
> root      5306  0.2  0.1  56212 31912 pts/0    S+   01:14
> root      5307  0.0  0.1  38052 29708 pts/0    S+   01:14
> root      5308  0.2  0.1  38312 29672 pts/0    S+   01:18
> root      5473  0.0  0.0   2660   592 ttyS1    R+
>
> what does Ss and S+ and R+ mean in stat column in ps command
>

man ps, section "PROCESS STATE CODES"

Briefly,

S means sleeping
R means running or runnable

s means the process is a session leader
+ means the process is running in the foreground

Is that enough, or do you need more explanation?


--
Alan McKinnon
alan.mckinnon@gmail.com

[-- Attachment #2: Type: text/html, Size: 1538 bytes --]

  parent reply	other threads:[~2008-07-23  9:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-23  8:09 [gentoo-user] ps command Kaushal Shriyan
2008-07-23  8:18 ` Pintér Tibor
2008-07-23  9:11   ` Neil Bothwick
2008-07-23  9:23 ` Alan McKinnon [this message]
2008-07-24 10:41   ` b.n.
2008-07-24 10:51     ` Etaoin Shrdlu
2008-07-24 15:09     ` Alan McKinnon
2008-07-24 15:32       ` Etaoin Shrdlu
2008-07-24 21:30         ` b.n.

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=b932915a0807230223y5daeaeb3te415b88773735c0a@mail.gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.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