Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-28-2006, 02:28 PM   #1
LQ Newbie
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
command to unload memory?

I am loading a memory filesystem up to test the memory out(32GB) and i can write zeros to it and read them back out using the following commands

dd if=/dev/zero of=/dev/shm/zero.dd

dd if=/dev/shm/zero.dd of=/dev/null

My question is that when i check the memory 'top' command and see that is completely full after running the above commands, who do i unload the memory so that is goes back down?

I can continure loading the memory but i dont know how to unload it or what the specific command would be?

Any help appreciated!!!


Old 09-28-2006, 02:43 PM   #2
Registered: May 2006
Location: England
Distribution: Slackware 10.2, Slamd64
Posts: 249

Rep: Reputation: 31
Just rm /dev/shm/zero.dd
Old 09-28-2006, 07:46 PM   #3
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,078
Blog Entries: 4

Rep: Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170
There are better ways to test memory. Some Linux distro CD-ROMs include a "memtest86" bootable system which does stand-alone intensive memory testing.
Old 09-29-2006, 09:04 AM   #4
LQ Newbie
Registered: Sep 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Memtest86 is a decent program for checking walking address lines and scanning the modules for errors, however, it does not fully load the modules down. Memtest has issues testing the amount of memory that I am running (total of 64GB in a DL585).

By using my above mentioned command it will load the entire system with zeros until there is no more room and then by reading them back out it changes each value across the board again. By doing this several times in a row you can find out how stable your machine is under load.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Command to find out Memory speed vkman72 SUSE / openSUSE 14 11-26-2008 04:29 AM
Command to display amount of memory rust8y Linux - Newbie 4 05-20-2006 07:30 PM
Can't unload (or power off) wireless card (ndiswrapper won't unload) shadowsnipes Linux - Wireless Networking 6 10-02-2005 10:48 AM
memory command details ilnli Linux - General 4 05-17-2005 04:17 PM
memory command? kboyd001 Linux - General 1 02-08-2005 03:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:22 AM.

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