After upgrading from 1GB to 4GB RAM, top no longer
displayed RAM statistics on Openserver 5.05. The
variable for storing the memory stats was decared as an
array of int. Because memory can never be a negative
number, it was safe to change it to an unsigned
integer. (Internally the OS uses an unsigned value.) To
allow more screen real estate for larger values without
line wrapping, I also shortened the on-screen labels.
Log in to post a comment.