360haven works best with JavaScript enabled
Free up ram on the fly on linux
Loading
Register
Results 1 to 1 of 1
  1. #1
    Senior Member
    ohnoyekoms is offline
    Join Date : Apr 2012
    Posts : 103
    Array

    grin Free up ram on the fly on linux

    lets see windows do this.. :)



    here is a small sniplet script for you linux lovers out there..

    ever notice how your system lags? harddrive running non stop due to VM use? use this code..

    #!/bin/bash
    echo "current ram stats"
    free -m | grep Mem:| awk '{print "total: " $2, "used: " $3, "free: " $4}'
    sync
    echo 3 > /proc/sys/vm/dump_caches
    echo "memory after freeing and dumping cache and ionodes"
    free -m | grep Mem:| awk '{print "total: " $2, "used: " $3, "free: " $4}'

    enjoy! :P
    Downloads : 14 || Uploads : 0 || Rep Power : 2181 || Posts : 103 || Thanks : 20 || Thanked 40 Times in 16 Posts


    Need file hosting? go here


  2. The Following User Says Thank You to ohnoyekoms For This Useful Post:


 

 

Similar Threads

  1. Replies: 5
    Last Post: 04-08-2014, 05:32 PM
  2. 8GB of RAM (FS)
    By RhysTheWookie in forum Marketplace
    Replies: 0
    Last Post: 03-18-2014, 11:44 AM
  3. Dash Cam Ram
    By Serious_M in forum Youtube Famous
    Replies: 3
    Last Post: 09-15-2013, 04:54 PM
  4. The Sniper that could fly
    By Original Boss in forum Youtube Famous
    Replies: 3
    Last Post: 04-20-2012, 06:02 AM
  5. Braid creator has heard Wii U “has a lot more RAM”
    By longy999 in forum Nintendo News, Updates, and Rumors
    Replies: 0
    Last Post: 09-28-2011, 02:21 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.
     

About 360haven

    360haven is an Forum Devoted To Game modding Fans from all over the world.

    An Awesome Community of Xbox 360 Gamers, Modders and Developers who Create & Share Tutorials, Applications, Gfx, Trainers and Gamesaves.

    A haven for the l33t.
    A scarce paradise for modders.

Like this page

Google+