lkml.org 
[lkml]   [1997]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectpre-2.0.31 swap usage screwed
What's wrong with this picture?:

yoda:~# free
total used free shared buffers cached
Mem: 127896 121840 6056 56956 6272 27984
-/+ buffers: 87584 40312
Swap: 165880 2097151 165884
yoda:~# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 130965504 125546496 5419008 60973056 6422528 28762112
Swap: 169861120 4294963200 169865216
MemTotal: 127896 kB
MemFree: 5292 kB
MemShared: 59544 kB
Buffers: 6272 kB
Cached: 28088 kB
SwapTotal: 165880 kB
SwapFree: 165884 kB

This is pre-patch 2.0.31 + Eric's TCP fixes + kmalloc fds patch in a dual
P150 running a non-SMP kernel. Uptime 13d20:48.

It looks like swap used has somehow gone negative by 4096 bytes, and free
from proc-ps 1.01 is printf'ing the unsigned ints as signed ints.

------------------------------------------------------------------
Jon Lewis <jlewis@fdt.net> | Unsolicited commercial e-mail will
Network Administrator | be proof-read for $199/message.
Florida Digital Turnpike |
________Finger jlewis@inorganic5.fdt.net for PGP public key_______


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:5.963 / U:1.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site