home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10315 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  1.5 KB

  1. Path: sparky!uunet!gatech!rutgers!igor.rutgers.edu!athos.rutgers.edu!hedrick
  2. From: hedrick@athos.rutgers.edu (Charles Hedrick)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: free on ps097pl4 doesn't know about my swap
  5. Message-ID: <Sep.9.18.41.22.1992.8524@athos.rutgers.edu>
  6. Date: 9 Sep 92 22:41:23 GMT
  7. References: <laq91rINN5u0@cash.cs.utexas.edu> <1992Sep8.230047.24913@klaava.Helsinki.FI> <pgr.084107.09Sep1992@prg.ox.ac.uk> <1992Sep9.092025.4018@monu6.cc.monash.edu.au>
  8. Organization: Rutgers Univ., New Brunswick, N.J.
  9. Lines: 19
  10.  
  11. int177c@aurora.cc.monash.edu.au (Jae Won) writes:
  12.  
  13. >The ps recognizes the swap partition but free doesn't seem to.
  14. >    How can I fix this?
  15.  
  16. I mentioned this when I announced this version of ps.  The structure
  17. of swap space has changed.  Since my system never swaps, I'm not in a
  18. position to test this code.  I was hoping someone for whom it matters
  19. might fix it.  I'm also suspicious of the memory usage numbers
  20. reported by free, though I copied the code from show_memory in the
  21. kernel.  Note that you should not necessarily expect the numbers shown
  22. in free to add to the total memory.  There are several different
  23. memory statistics possible.  I tried to pick things as close as
  24. possible to what was being shown in previous versions.  This did not
  25. result in a set of numbers that add to the total.  I'd say once
  26. Linus is finished tweaking memory management and swap space structure
  27. we should go back over free again.  With major changes in data
  28. structure at each patch level, it's not clear to me that it's
  29. worth spending much time on free.
  30.