LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 07-01-2010, 09:32 PM   #1
bsdfan
Member
 
Registered: Jun 2010
Distribution: Debian 5.0.2/openBSD3.3,3.6,4.0
Posts: 45

Rep: Reputation: -1
Check memory


Hi,

I'm not familiar with bsd os. Last company I maintain system using linux. This new company, work about 1 week already.

The OpenBSD use version 3.3, very very old. When I run command free mem, it's said command not found.

Any clues why?

Thanks.
 
Old 07-01-2010, 09:58 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Because the command isn't found?

Try top? Or "sysctl -a | grep -i memory" ?
 
0 members found this post helpful.
Old 07-01-2010, 10:54 PM   #3
bsdfan
Member
 
Registered: Jun 2010
Distribution: Debian 5.0.2/openBSD3.3,3.6,4.0
Posts: 45

Original Poster
Rep: Reputation: -1
Hi,

Code:
[yp  13 ]# sysctl -a | grep -i memory
[yp  14 ]#
Code:
load averages:  0.25,  0.14,  0.10                                     11:51:43
53 processes:  1 running, 52 idle
CPU states:     % user,     % nice,     % system,     % interrupt,     % idle
Memory: Real: 21M/40M act/tot  Free: 81M  Swap: 0K/1024M used/tot

  PID USERNAME PRI NICE  SIZE   RES STATE WAIT     TIME    CPU COMMAND
23240 named      2    0 8028K 8080K sleep select  50:51  0.00% named
 5748 root       2    0  560K  892K sleep select  14:18  0.00% ypserv
19627 root      18    0 1096K  876K sleep pause    4:42  0.00% ntpd
 3793 root       4    0  368K  252K sleep bpf      4:23  0.00% pflogd
16450 root       2    0 1020K 1328K sleep select   3:41  0.00% sendmail
 7990 root       2    0   88K  300K sleep select   2:43  0.00% ypbind
10809 behcs      2    0  428K 1112K idle  select   2:25  0.00% sshd
 8522 _portmap   2    0  108K  392K idle  select   0:18  0.00% portmap
 3086 root       2    0  372K  876K idle  select   0:15  0.00% sshd
13876 root       2    0  228K  456K idle  select   0:13  0.00% cron
20086 root       2    0  412K 1236K idle  netio    0:13  0.00% sshd
32480 root       2    0  104K  384K sleep select   0:10  0.00% syslogd
11204 mzarm      2    0  440K 1112K sleep select   0:05  0.00% sshd
16625 root       2    0  232K  436K idle  poll     0:02  0.00% dhcpd
13174 root       2    0  452K 1276K idle  netio    0:00  0.00% sshd
    1 root      10    0  340K  200K idle  wait     0:00  0.00% init
12374 root      18    0  856K 1204K sleep pause    0:00  0.00% tcsh
18864 root       2    0  232K  640K idle  select   0:00  0.00% rpc.yppasswdd
Can anyone tell me how many physical memory I have?

.bsdfan
 
Old 07-01-2010, 11:27 PM   #4
ocicat
Member
 
Registered: May 2007
Posts: 208

Rep: Reputation: 48
Quote:
Originally Posted by bsdfan View Post
Can anyone tell me how many physical memory I have?
Look at the beginning of dmesg(8) output.
 
Old 07-04-2010, 10:02 PM   #5
bsdfan
Member
 
Registered: Jun 2010
Distribution: Debian 5.0.2/openBSD3.3,3.6,4.0
Posts: 45

Original Poster
Rep: Reputation: -1
/var/log/
Code:
[yp  23 ]# ls /var/log/
adduser                authlog.5.gz           daemon.3.gz            maillog                maillog.7.gz           mirror_hd.export.out   rdist                  secure.6.gz            wtmp.2.gz
admin                  authlog.6.gz           daemon.4.gz            maillog.0.gz           messages               mirror_hd.out          secure                 secure.7.gz            wtmp.3.gz
authlog                authlog.7.gz           daemon.5.gz            maillog.1.gz           messages.0.gz          monthly.out            secure.0.gz            sendmail.st            wtmp.4.gz
authlog.0.gz           console.log            daily.out              maillog.2.gz           messages.1.gz          pflog                  secure.1.gz            sendmail.st.old        wtmp.5.gz
authlog.1.gz           daemon                 failedlogin            maillog.3.gz           messages.2.gz          pflog.0.gz             secure.2.gz            weekly.out             wtmp.6.gz
authlog.2.gz           daemon.0.gz            ftpd                   maillog.4.gz           messages.3.gz          pflog.1.gz             secure.3.gz            wtmp                   wtmp.7.gz
authlog.3.gz           daemon.1.gz            lastlog                maillog.5.gz           messages.4.gz          pflog.2.gz             secure.4.gz            wtmp.0.gz              xferlog
authlog.4.gz           daemon.2.gz            lpd-errs               maillog.6.gz           messages.5.gz          pflog.3.gz             secure.5.gz            wtmp.1.gz
[yp  24 ]#
 
Old 07-04-2010, 10:10 PM   #6
ocicat
Member
 
Registered: May 2007
Posts: 208

Rep: Reputation: 48
Quote:
Originally Posted by bsdfan View Post
/var/log/
Code:
[yp  23 ]# ls /var/log/
adduser                authlog.5.gz           daemon.3.gz            maillog                maillog.7.gz           mirror_hd.export.out   rdist                  secure.6.gz            wtmp.2.gz
admin                  authlog.6.gz           daemon.4.gz            maillog.0.gz           messages               mirror_hd.out          secure                 secure.7.gz            wtmp.3.gz
authlog                authlog.7.gz           daemon.5.gz            maillog.1.gz           messages.0.gz          monthly.out            secure.0.gz            sendmail.st            wtmp.4.gz
authlog.0.gz           console.log            daily.out              maillog.2.gz           messages.1.gz          pflog                  secure.1.gz            sendmail.st.old        wtmp.5.gz
authlog.1.gz           daemon                 failedlogin            maillog.3.gz           messages.2.gz          pflog.0.gz             secure.2.gz            weekly.out             wtmp.6.gz
authlog.2.gz           daemon.0.gz            ftpd                   maillog.4.gz           messages.3.gz          pflog.1.gz             secure.3.gz            wtmp                   wtmp.7.gz
authlog.3.gz           daemon.1.gz            lastlog                maillog.5.gz           messages.4.gz          pflog.2.gz             secure.4.gz            wtmp.0.gz              xferlog
authlog.4.gz           daemon.2.gz            lpd-errs               maillog.6.gz           messages.5.gz          pflog.3.gz             secure.5.gz            wtmp.1.gz
[yp  24 ]#
dmesg(8) output can be displayed by invoking dmesg at the command-line. A copy of dmesg output at boot is also stored in /var/run/dmesg.boot. The directory contents of /var/log doesn't show this directory, so I can only assume that someone has deleted it.

You are working with a system of unknown state, patch level, & general upkeep. In my opinion, the faster you can move away from it, the less frustration you will continue to experience.

As stated on Daemonforums, official support for OpenBSD 3.3 was dropped nearly 5 years ago.

Last edited by ocicat; 07-04-2010 at 10:17 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to check memory abhijeetdutta Linux - Server 4 10-29-2009 04:44 PM
Memory check cccc Linux - Hardware 6 07-13-2009 04:01 PM
check amount of memory naijaguy Linux - General 4 10-15-2008 02:11 PM
How to check Memory chnlinux Linux - Newbie 3 05-14-2008 01:00 AM
Check memory footprint Ephracis Programming 7 01-04-2008 02:16 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 02:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration