Gentoo Archives: gentoo-user

From: "b.n." <brullonulla@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ps command
Date: Thu, 24 Jul 2008 10:33:42
Message-Id: 48885C6D.3020103@gmail.com
In Reply to: Re: [gentoo-user] ps command by Alan McKinnon
1 Alan McKinnon ha scritto:
2 > On Wed, Jul 23, 2008 at 10:09 AM, Kaushal Shriyan
3 > <kaushalshriyan@×××××.com <mailto:kaushalshriyan@×××××.com>> wrote:
4 >
5 > Hi
6 >
7 > # ps auxw | egrep "USER|rsync"
8 >
9 > root 5301 0.0 0.0 10036 1280 ? Ss 01:13
10 > root 5306 0.2 0.1 56212 31912 pts/0 S+ 01:14
11 > root 5307 0.0 0.1 38052 29708 pts/0 S+ 01:14
12 > root 5308 0.2 0.1 38312 29672 pts/0 S+ 01:18
13 > root 5473 0.0 0.0 2660 592 ttyS1 R+
14 >
15 > what does Ss and S+ and R+ mean in stat column in ps command
16 >
17 >
18 > man ps, section "PROCESS STATE CODES"
19 >
20 > Briefly,
21 >
22 > S means sleeping
23 > R means running or runnable
24 >
25 > s means the process is a session leader
26 > + means the process is running in the foreground
27
28 I jump here to relief my everlasting UNIX ignorance.
29
30 What does it mean a process is "sleeping", technically?
31
32 m.

Replies

Subject Author
Re: [gentoo-user] ps command Etaoin Shrdlu <shrdlu@×××××××××××××.org>
Re: [gentoo-user] ps command Alan McKinnon <alan.mckinnon@×××××.com>