How do I check for installed RAM (memory) size under OpenBSD UNIX operating systems?
You need to use the following command to see installed memory and other information such as CPU will be also displayed:
sysctl hw | grep memhw.physmem=535756800 hw.usermem=535744512
Or get full info:
sysctl hw
Sample outputs:
hw.machine=amd64 hw.model=QEMU Virtual CPU version 0.9.1 hw.ncpu=1 hw.byteorder=1234 hw.pagesize=4096 hw.disknames=wd0,cd0,fd0,fd1 hw.diskcount=4 hw.cpuspeed=2394 hw.vendor=Red Hat hw.product=KVM hw.uuid=c4123088-c43b-e81c-0a5f-1f11bc763fb9 hw.physmem=535756800 hw.usermem=535744512 hw.ncpufound=1
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop














{ 0 comments… add one now }