Re[2]: [expert] huge memory usage!

2001-05-30 Thread Rusty Carruth

Alexander Skwar [EMAIL PROTECTED] wrote:
 
 BTW: Not that it's any of my business - but what on earth are 1.7gb of swap
 good for?

I just read that across the cubewall to my neighbor and he said

Video editing

(he does a lot of that)

Then he said - In 10 years, we'll all be doing climate simulations
on our laptops!

cute...

rc


Rusty Carruth  Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
Voice: (480) 345-3621  SnailMail: Schlumberger ATE
FAX:   (480) 345-8793 7855 S. River Parkway, Suite 116
Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825
ICBM: 33 20' 44N   111 53' 47W




Re[2]: [expert] huge memory usage!

2001-05-30 Thread Rusty Carruth

Originally I was goin to send this only to Sarang, then I finally
saw what Sarang did - see the discovery process below:

Sarang Lakare [EMAIL PROTECTED] wrote:
  You mean the Swap usage?  Well, these are old programs which at some time
 
 No, not the swap usage.. but the the memory usage.. It shows 126MB used.. 
 how??? top dosn't show any process which is using a lot of memory.. the total 
 of top is about 15mb or so.. where does this extra memory usage come from?

Previously you said:

  3:31pm  up 5 days,  2:09,  2 users,  load average: 0.00, 0.00, 0.00
54 processes: 53 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states:  0.0% user,  0.1% system,  0.0% nice, 99.4% idle
CPU1 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle
Mem:   899952K av,  556948K used,  343004K free,   0K shrd,  170032K buff
Swap: 1791208K av,  118408K used, 1672800K free  265936K cached


Now, I'm confused.  Where do you see 15mb or so of memory used?

Here, let me interpolate some commas:


  3:31pm  up 5 days,  2:09,  2 users,  load average: 0.00, 0.00, 0.00
54 processes: 53 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states:  0.0% user,  0.1% system,  0.0% nice, 99.4% idle
CPU1 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle
Mem:   899,952K av,  556,948K used,  343,004K free,   0K shrd,  170,032K buff
Swap: 1,791,208K av,  118,408K used, 1,672,800K free  265,936K cached

So I see 1/2 gig used.

Also, beware - top shows 2 numbers - total RAM in use currently, 
AND total actual size of the program.  Unfortunately top does
NOT appear to allow you to sort on that 2nd number...

Hmm.  So, I added up all the numbers under top, and got 31,088 kbytes.
Now you've got me wondering.  What does ps -axl say?

rc


Rusty Carruth  Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
Voice: (480) 345-3621  SnailMail: Schlumberger ATE
FAX:   (480) 345-8793 7855 S. River Parkway, Suite 116
Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825
ICBM: 33 20' 44N   111 53' 47W




Re: Re[2]: [expert] huge memory usage!

2001-05-30 Thread Sarang Lakare

 Previously you said:

   3:31pm  up 5 days,  2:09,  2 users,  load average: 0.00, 0.00, 0.00
 54 processes: 53 sleeping, 1 running, 0 zombie, 0 stopped
 CPU0 states:  0.0% user,  0.1% system,  0.0% nice, 99.4% idle
 CPU1 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle
 Mem:   899952K av,  556948K used,  343004K free,   0K shrd,  170032K
 buff Swap: 1791208K av,  118408K used, 1672800K free 
 265936K cached


 Now, I'm confused.  Where do you see 15mb or so of memory used?

I was adding up the SIZE field of the processes shown by top.

   3:31pm  up 5 days,  2:09,  2 users,  load average: 0.00, 0.00, 0.00
 54 processes: 53 sleeping, 1 running, 0 zombie, 0 stopped
 CPU0 states:  0.0% user,  0.1% system,  0.0% nice, 99.4% idle
 CPU1 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle
 Mem:   899,952K av,  556,948K used,  343,004K free,   0K shrd, 
 170,032K buff Swap: 1,791,208K av,  118,408K used, 1,672,800K free 
 265,936K cached

 So I see 1/2 gig used.

thats what I meant.. this thing shows 1/2 gig (actually its 126 MB aftre 
removing buff and cache) but the total of processes as seen in top is just 
around 15MB.


 Also, beware - top shows 2 numbers - total RAM in use currently,
 AND total actual size of the program.  Unfortunately top does
 NOT appear to allow you to sort on that 2nd number...

 Hmm.  So, I added up all the numbers under top, and got 31,088 kbytes.
 Now you've got me wondering.  What does ps -axl say?

i'll try that.. unfortunately I rebooted the machine.. so lemme try it again

sarang


 rc


 Rusty Carruth  Email: [EMAIL PROTECTED] or
 [EMAIL PROTECTED] Voice: (480) 345-3621  SnailMail: Schlumberger ATE
 FAX:   (480) 345-8793 7855 S. River Parkway, Suite 116
 Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825
 ICBM: 33 20' 44N   111 53' 47W

-- 
-
Sarang Lakare

http://www.cs.sunysb.edu/~lsarang
http://www.linux.org