public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* Process information?
@ 2003-12-09  1:37 Neo Wee Teck
  2003-12-09 23:01 ` whitnl73
  0 siblings, 1 reply; 5+ messages in thread
From: Neo Wee Teck @ 2003-12-09  1:37 UTC (permalink / raw)
  To: linux-newbie

Hi,

  I saw some difference in the process info when using RedHat kernel 2.4.20-8 and the kernel from kernel.org (2.4.23)

With Redhat's kernel, process show something like this

www      10186  0.0  0.1  2536 1272 ?        S    Dec08   0:01 [httpd]
www      10187  0.0  0.1  2536 1272 ?        S    Dec08   0:01 [httpd]
www      10188  0.0  0.1  2536 1276 ?        S    Dec08   0:01 [httpd]

But with 2.4.23 kernel it shows

www      5673  0.0  0.1  2536 1272 ?        S    Dec08   0:01 /usr/local/apache/bin/httpd 
www      5674  0.0  0.1  2536 1272 ?        S    Dec08   0:01 /usr/local/apache/bin/httpd 
www      5675  0.0  0.1  2536 1276 ?        S    Dec08   0:01 /usr/local/apache/bin/httpd 

Any configuration in the kernel that i missed out? I prefer the way processes are shown in Redhat's kernel but would like to use the 2.4.23's kernel.

Cheers

    Neo

_____________________________________________________________
Linux.Net -->Open Source to everyone
Powered by Linare Corporation
http://www.linare.com/
-
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Process information?
  2003-12-09  1:37 Process information? Neo Wee Teck
@ 2003-12-09 23:01 ` whitnl73
  0 siblings, 0 replies; 5+ messages in thread
From: whitnl73 @ 2003-12-09 23:01 UTC (permalink / raw)
  To: weeteck; +Cc: linux-newbie

On Mon, 8 Dec 2003, Neo Wee Teck wrote:

> Hi,
>
>   I saw some difference in the process info when using RedHat kernel 2.4.20-8 and the kernel from kernel.org (2.4.23)
>
> With Redhat's kernel, process show something like this
>
> www      10186  0.0  0.1  2536 1272 ?        S    Dec08   0:01 [httpd]
> www      10187  0.0  0.1  2536 1272 ?        S    Dec08   0:01 [httpd]
> www      10188  0.0  0.1  2536 1276 ?        S    Dec08   0:01 [httpd]
>
> But with 2.4.23 kernel it shows
>
> www      5673  0.0  0.1  2536 1272 ?        S    Dec08   0:01 /usr/local/apache/bin/httpd
> www      5674  0.0  0.1  2536 1272 ?        S    Dec08   0:01 /usr/local/apache/bin/httpd
> www      5675  0.0  0.1  2536 1276 ?        S    Dec08   0:01 /usr/local/apache/bin/httpd
>
> Any configuration in the kernel that i missed out? I prefer the way processes are shown in Redhat's kernel but would like to use the 2.4.23's kernel.
>
> Cheers
>
>     Neo

try adding c to whatever ps options you use.

[whit@giftie whit]$ ps -C xfstt u
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root       510  0.0  0.9  1896  740 ?        S    Dec02   0:00 /usr/X11R6/bin/xf
root     10382  0.0  0.9  6504  764 ?        S    Dec03   0:00 /usr/X11R6/bin/xf
[whit@giftie whit]$ ps -C xfstt uc
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root       510  0.0  0.9  1896  740 ?        S    Dec02   0:00 xfstt
root     10382  0.0  0.9  6504  764 ?        S    Dec03   0:00 xfstt
[whit@giftie whit]$ tty
/dev/vc/4
[whit@giftie whit]$ cat /dev/vcc/4|fold|trail >oops

This is nothing to do with the kernel patch level, I think.

Lawson
--
---oops---



________________________________________________________________
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!
-
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Process information?
@ 2003-12-10  0:55 Neo Wee Teck
  2003-12-11  0:13 ` whitnl73
  0 siblings, 1 reply; 5+ messages in thread
From: Neo Wee Teck @ 2003-12-10  0:55 UTC (permalink / raw)
  To: whitnl73, weeteck; +Cc: linux-newbie

But in redhat's kernel, even with ps ax, it shows [httpd]



--- whitnl73@juno.com wrote:
On Mon, 8 Dec 2003, Neo Wee Teck wrote:

> Hi,
>
>   I saw some difference in the process info when using RedHat kernel 2.4.20-8 and the kernel from kernel.org (2.4.23)
>
> With Redhat's kernel, process show something like this
>
> www      10186  0.0  0.1  2536 1272 ?        S    Dec08   0:01 [httpd]
> www      10187  0.0  0.1  2536 1272 ?        S    Dec08   0:01 [httpd]
> www      10188  0.0  0.1  2536 1276 ?        S    Dec08   0:01 [httpd]
>
> But with 2.4.23 kernel it shows
>
> www      5673  0.0  0.1  2536 1272 ?        S    Dec08   0:01 /usr/local/apache/bin/httpd
> www      5674  0.0  0.1  2536 1272 ?        S    Dec08   0:01 /usr/local/apache/bin/httpd
> www      5675  0.0  0.1  2536 1276 ?        S    Dec08   0:01 /usr/local/apache/bin/httpd
>
> Any configuration in the kernel that i missed out? I prefer the way processes are shown in Redhat's kernel but would like to use the 2.4.23's kernel.
>
> Cheers
>
>     Neo

try adding c to whatever ps options you use.

[whit@giftie whit]$ ps -C xfstt u
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root       510  0.0  0.9  1896  740 ?        S    Dec02   0:00 /usr/X11R6/bin/xf
root     10382  0.0  0.9  6504  764 ?        S    Dec03   0:00 /usr/X11R6/bin/xf
[whit@giftie whit]$ ps -C xfstt uc
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root       510  0.0  0.9  1896  740 ?        S    Dec02   0:00 xfstt
root     10382  0.0  0.9  6504  764 ?        S    Dec03   0:00 xfstt
[whit@giftie whit]$ tty
/dev/vc/4
[whit@giftie whit]$ cat /dev/vcc/4|fold|trail >oops

This is nothing to do with the kernel patch level, I think.

Lawson
--
---oops---



________________________________________________________________
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!


_____________________________________________________________
Linux.Net -->Open Source to everyone
Powered by Linare Corporation
http://www.linare.com/
-
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Process information?
  2003-12-10  0:55 Neo Wee Teck
@ 2003-12-11  0:13 ` whitnl73
  0 siblings, 0 replies; 5+ messages in thread
From: whitnl73 @ 2003-12-11  0:13 UTC (permalink / raw)
  To: weeteck; +Cc: linux-newbie

On Tue, 9 Dec 2003, Neo Wee Teck wrote:

> But in redhat's kernel, even with ps ax, it shows [httpd]
>
From man ps:

       Programs swapped out to disk will be shown without command
       line  arguments,  and  unless  the  c  option is given, in
       brackets.

Anything about the RedHat kernel that would cause httpd's to be swapped
out?  Of course, if they are inactive, they will get swapped out
eventually.

Lawson

--
---oops---



________________________________________________________________
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!
-
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Process information?
@ 2003-12-11  1:27 Neo Wee Teck
  0 siblings, 0 replies; 5+ messages in thread
From: Neo Wee Teck @ 2003-12-11  1:27 UTC (permalink / raw)
  To: whitnl73, weeteck; +Cc: linux-newbie

OH Thanks for the information!

Now I clearly understand :)


But it is wierd for redhat to swap "almost" every process into disk. Doesn't matter, i'm not using also ;)

Thanks again

--- whitnl73@juno.com wrote:
On Tue, 9 Dec 2003, Neo Wee Teck wrote:

> But in redhat's kernel, even with ps ax, it shows [httpd]
>
From man ps:

       Programs swapped out to disk will be shown without command
       line  arguments,  and  unless  the  c  option is given, in
       brackets.

Anything about the RedHat kernel that would cause httpd's to be swapped
out?  Of course, if they are inactive, they will get swapped out
eventually.

Lawson

--
---oops---



________________________________________________________________
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!
-
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


_____________________________________________________________
Linux.Net -->Open Source to everyone
Powered by Linare Corporation
http://www.linare.com/
-
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-12-11  1:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-09  1:37 Process information? Neo Wee Teck
2003-12-09 23:01 ` whitnl73
  -- strict thread matches above, loose matches on Subject: below --
2003-12-10  0:55 Neo Wee Teck
2003-12-11  0:13 ` whitnl73
2003-12-11  1:27 Neo Wee Teck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox