Bug 25545

Summary: Incorrect Mem value produced by top(1).
Product: Base System Reporter: Yoshihiro Koya <Yoshihiro.Koya>
Component: binAssignee: Thomas Moestl <tmm>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Yoshihiro Koya 2001-03-05 16:40:01 UTC
The value produced by top(1) is incorrect.
For example,

last pid:   734;  load averages:  0.13,  0.04,  0.02      up 0+00:26:37  01:32:02
33 processes:  1 running, 32 sleeping
CPU states:     % user,     % nice,     % system,     % interrupt,     % idle
Mem: 9044K Active, 8241K Inact, 5703K Wired, 15K Cache, 35M Buf, 40M Free
Swap: 256M Total, 256M Free

The output above was obtained on the machine with 256MB ram.
The sum of value "Active", "Inact", "Wired", "Chache", "Buf" and "Free"
seems to be too small.

How-To-Repeat: % top

and investigate its output.
Comment 1 Thomas Moestl freebsd_committer freebsd_triage 2001-03-20 16:29:46 UTC
State Changed
From-To: open->closed

Corrected, thanks. 



Comment 2 Thomas Moestl freebsd_committer freebsd_triage 2001-03-20 16:29:46 UTC
Responsible Changed
From-To: freebsd-bugs->tmm

I have done the relevant changes to top.