DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th December 2014
aicardi aicardi is offline
New User
 
Join Date: Nov 2014
Posts: 7
Default Understanding memory useage [Solved]

I've been running NetBSD for a couple of weeks now with no issues at all and love it.
As a long time Linux user I do use top, and or htop to.
What I have noticed is that htop shows a negative memory usage after a while.
Example:
Mem -1176/1976MB


Last edited by aicardi; 16th December 2014 at 02:22 PM. Reason: Marking solved
Reply With Quote
  #2   (View Single Post)  
Old 12th December 2014
darktrym's Avatar
darktrym darktrym is offline
standard-bearer
 
Join Date: Feb 2011
Location: Düsseldorf
Posts: 106
Default

This looks like a bug. A similar problem was in ps because of an integer overflow. Please write a mail to current-user mailing list.
Reply With Quote
  #3   (View Single Post)  
Old 12th December 2014
aicardi aicardi is offline
New User
 
Join Date: Nov 2014
Posts: 7
Default

Thank you for the reply.
Not familiar with the mailing list but will subscribe.
I am using NetBSD 6.1.5. Would I still mail to current-users list?
Reply With Quote
  #4   (View Single Post)  
Old 12th December 2014
darktrym's Avatar
darktrym darktrym is offline
standard-bearer
 
Join Date: Feb 2011
Location: Düsseldorf
Posts: 106
Default

Open the site[1] with a browser and add an email address to the second field.

[1] http://www.netbsd.org/cgi-bin/subscr...=current-users
Reply With Quote
  #5   (View Single Post)  
Old 13th December 2014
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Quote:
Originally Posted by aicardi View Post
I've been running NetBSD for a couple of weeks now with no issues at all and love it.
As a long time Linux user I do use top, and or htop ...
This is the first time I heard that htop runs on NetBSD. I actually like that Linux tool.
Reply With Quote
  #6   (View Single Post)  
Old 13th December 2014
aicardi aicardi is offline
New User
 
Join Date: Nov 2014
Posts: 7
Default

Yes, pkgsrc/sysutils.
At first I thought there could just be an issue with htop, however top produces much the same.
Code:
load averages:  0.21,  0.20,  0.17;               up 0+21:08:19        09:44:06
40 processes: 38 sleeping, 2 on CPU
CPU0 states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
CPU1 states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
Memory: 1063M Act, 517M Inact, 20K Wired, 62M Exec, 1204M File, 4300K Free
Swap: 4000M Total, 4000M Free
Comparing to my Linux (Debian) installs one thing I notice is "Wired", and I'm not understanding what that is.
So at this point I am just wanting to make sure that the issue is not in my installation.
I have installed NetBSD 32bit 6.1.5 to hard drive. Md5sums match. It is the only OS on the box.
/
/swap
/home
Reply With Quote
  #7   (View Single Post)  
Old 16th December 2014
aicardi aicardi is offline
New User
 
Join Date: Nov 2014
Posts: 7
Default

Marking this as solved. I just uninstalled htop and use top.
Reply With Quote
  #8   (View Single Post)  
Old 16th December 2014
pawaan pawaan is offline
Fdisk Soldier
 
Join Date: Jan 2013
Posts: 82
Default

Quote:
Comparing to my Linux (Debian) installs one thing I notice is "Wired", and I'm not understanding what that is.
http://www.macyourself.com/2010/02/1...em-memory-ram/
http://apple.stackexchange.com/quest...s-wired-memory
Reply With Quote
  #9   (View Single Post)  
Old 16th December 2014
aicardi aicardi is offline
New User
 
Join Date: Nov 2014
Posts: 7
Default

Perfect.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
understanding tcpdump frcc OpenBSD Security 3 11th April 2013 10:10 PM
Understanding and Community Ninguem Off-Topic 4 31st March 2012 01:22 AM
Help needed with understanding PF rules sparky OpenBSD Security 7 26th March 2012 09:07 PM
Understanding Fdisk, Slice, and the MBR (Master Boot Record) FBSD Guides 1 20th February 2010 08:33 PM
Understanding the FreeBSD kernel TomAmundsen FreeBSD General 3 7th July 2008 02:48 PM


All times are GMT. The time now is 09:49 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick