Results 1 to 3 of 3

Thread: clear cached memory scripting help

  1. #1
    Join Date
    Dec 2007
    Location
    green bay, wi
    Beans
    2,255
    Distro
    Ubuntu 16.04 Xenial Xerus

    Lightbulb [solved] clear cached memory scripting help

    need some help and i know the following is wrong. i first need to switch to root either sudo su or sudo -i and then run the second line. see below
    sudo su echo 3 > /proc/sys/vm/drop_caches

    tks/cheesemaker
    Last edited by rburkartjo; February 24th, 2009 at 11:43 PM.

  2. #2
    Join Date
    Mar 2008
    Beans
    4,715
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: clear cached memory scripting help

    Try
    Code:
    echo 3 | sudo tee /proc/sys/vm/drop_caches

  3. #3
    Join Date
    Dec 2007
    Location
    green bay, wi
    Beans
    2,255
    Distro
    Ubuntu 16.04 Xenial Xerus

    Lightbulb Re: clear cached memory scripting help

    tks un that did the trick/cheesemaker

Bookmarks

Posting Permissions

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