Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ps command
Date: Wed, 23 Jul 2008 09:23:40
Message-Id: b932915a0807230223y5daeaeb3te415b88773735c0a@mail.gmail.com
In Reply to: [gentoo-user] ps command by Kaushal Shriyan
1 On Wed, Jul 23, 2008 at 10:09 AM, Kaushal Shriyan <kaushalshriyan@×××××.com>
2 wrote:
3
4 > Hi
5 >
6 > # ps auxw | egrep "USER|rsync"
7 >
8 > root 5301 0.0 0.0 10036 1280 ? Ss 01:13
9 > root 5306 0.2 0.1 56212 31912 pts/0 S+ 01:14
10 > root 5307 0.0 0.1 38052 29708 pts/0 S+ 01:14
11 > root 5308 0.2 0.1 38312 29672 pts/0 S+ 01:18
12 > root 5473 0.0 0.0 2660 592 ttyS1 R+
13 >
14 > what does Ss and S+ and R+ mean in stat column in ps command
15 >
16
17 man ps, section "PROCESS STATE CODES"
18
19 Briefly,
20
21 S means sleeping
22 R means running or runnable
23
24 s means the process is a session leader
25 + means the process is running in the foreground
26
27 Is that enough, or do you need more explanation?
28
29
30 --
31 Alan McKinnon
32 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] ps command "b.n." <brullonulla@×××××.com>