LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-11-2005, 10:19 PM   #1
lowlifeish
Member
 
Registered: Oct 2002
Location: San Francisco, CA
Distribution: redhat
Posts: 50

Rep: Reputation: 16
Clear Free Memory


Hello,

I have a laptop that was given to me to use for work. I do not have many funds right now, so at home I boot Knoppix on the notebook.

For some reason I feel like my company might take a peek at the remaining data left in memory on bootup. So my question is: how can I clear the linux system memory?

Is there any command line tools that might help me do this?

I have been thinking that I increase the heap size available to Java applications, then writing a Java application that will create an array the size of the free memory, and then setting the entire array to null or something.

However, this will require that I copy the file from some networked location, compile it locally, etc. I feel like I'm running through a lot of hoops.

Is there any easier way?

Thanks for any tips.
 
Old 12-11-2005, 10:33 PM   #2
primo
Member
 
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
See THC's secure-delete at http://www.thc.org/releases.php

There's smem and sswap.
 
Old 12-11-2005, 10:45 PM   #3
lowlifeish
Member
 
Registered: Oct 2002
Location: San Francisco, CA
Distribution: redhat
Posts: 50

Original Poster
Rep: Reputation: 16
Wow that's great! The application looks like it is _exactly_ what I am looking for. Thanks for your suggestion!
 
Old 12-12-2005, 12:12 PM   #4
ahedler
Member
 
Registered: Oct 2005
Location: A safe distance from Detroit
Distribution: SuSE 10.0, Knoppix
Posts: 99

Rep: Reputation: 17
Depending on how much RAM your notebook has, and whether or not you configure a swap file, Knoppix may not leave any tracks at all on the drive. If you have lots of RAM, you may not need to configure a swap file, and if you don't save the configuration or create a homedir, Knoppix will be running directly from RAM and won't touch the drive at all.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
free physical memory saavik Solaris / OpenSolaris 7 08-26-2005 12:22 PM
How do I clear the memory cache on my linux server? robgo777 Linux - Software 2 01-09-2005 01:30 AM
How to clear/flush the INACT_DIRTY in MEMORY cabloy Linux - Hardware 4 12-12-2004 08:19 PM
How much memory is really 'free'? robbiemorgan Linux - Newbie 4 09-19-2004 07:05 PM
Free memory disappearing Vampyric Linux - General 2 02-17-2004 08:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:39 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