Find the answer to your Linux question:
Results 1 to 3 of 3
I have a ram wiper I want use at shutdown (BleachBit) Can anyone give advice on the best way to slowly shutdown to most bare-bone environment possible in order to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2012
    Posts
    4

    Run Levels, Bare-Bone Shells, And Ram Wiping


    I have a ram wiper I want use at shutdown (BleachBit) Can anyone give advice on the best way to slowly shutdown to most bare-bone environment possible in order to free as much RAM as possible and then run the ram wiper? I was thinking run levels. I was also wondering what services could I stop to free memory that would not cripple the system but take it down as far as possible. But possibly there is a better approach?

  2. #2

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,380
    As root, use init or telinit to switch to text mode (shutting down the X server and GUI's) and then switch to single-user mode (shutting down all other user processes). Then you can shut down unnecessary services or root background processes that may still be running. At this point, just the kernel, your shell, and some necessary services will be running. The last step would be to run your ram wiper.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •