Re: Top command broken?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2003-02-07 at 12:33, John Horne wrote:
> I have just setup 4 redhat 8.0 servers, all of which have 2 NIC's. On 2 of
> the servers both NIC's are up and running, the other 2 servers are only,
> currently, using 1 NIC.
> 
> On the servers with 2 NIC's running the top command is giving some very odd
> figures for the memory usage of some processes:
> 
This is weird. If I simply run:

  #! /bin/sh

  while true; do
    sleep 5
  done
  exit 0

then it builds up memory (as shown by top). This happens whether run as
root or an ordinary user. Same thing if I use ash. If I use perl (and
modify the script obviously) then it doesn't happen - the memory remains
static. If I run the same thing on my home (RH8) PC or my work (RH 7.1)
PC then it doesn't happen - the memory remains static. I see little
choice but to rewrite the thing in perl!

Anyone any ideas on this?

John.


-- 
------------------------------------------------------------------------
John Horne, University of Plymouth, UK           Tel: +44 (0)1752 233914
E-mail: J.Horne@plymouth.ac.uk
PGP key available from public key servers



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux