home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!rutgers!igor.rutgers.edu!athos.rutgers.edu!hedrick
- From: hedrick@athos.rutgers.edu (Charles Hedrick)
- Newsgroups: comp.os.linux
- Subject: Re: free on ps097pl4 doesn't know about my swap
- Message-ID: <Sep.9.18.41.22.1992.8524@athos.rutgers.edu>
- Date: 9 Sep 92 22:41:23 GMT
- 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>
- Organization: Rutgers Univ., New Brunswick, N.J.
- Lines: 19
-
- int177c@aurora.cc.monash.edu.au (Jae Won) writes:
-
- >The ps recognizes the swap partition but free doesn't seem to.
- > How can I fix this?
-
- I mentioned this when I announced this version of ps. The structure
- of swap space has changed. Since my system never swaps, I'm not in a
- position to test this code. I was hoping someone for whom it matters
- might fix it. I'm also suspicious of the memory usage numbers
- reported by free, though I copied the code from show_memory in the
- kernel. Note that you should not necessarily expect the numbers shown
- in free to add to the total memory. There are several different
- memory statistics possible. I tried to pick things as close as
- possible to what was being shown in previous versions. This did not
- result in a set of numbers that add to the total. I'd say once
- Linus is finished tweaking memory management and swap space structure
- we should go back over free again. With major changes in data
- structure at each patch level, it's not clear to me that it's
- worth spending much time on free.
-