He likes it all to be manual. Just like Potter;

....zzz


________________________________
From: tclug-list-bounces at mn-linux.org <tclug-list-bounces at mn-linux.org> on behalf of Jeff Chapin <chapinjeff at gmail.com>
Sent: Monday, September 18, 2017 4:26 PM
To: TCLUG Mailing List
Subject: Re: [tclug-list] proc virt meaning?

Swapoff checks that automatically -- but I usually do it when I notice that I am using a ton of swap, but not all my ram. It may just be an illusion, but it seems that when I have a browser that is starting to act up and slow, this fixes it.

On Mon, Sep 18, 2017 at 4:17 PM, Justin Krejci <jus at krytosvirus.com<mailto:jus at krytosvirus.com>> wrote:

Do you check to make sure your existing swap usage and RAM usage combined does not equal a number higher than the amount of total RAM you have on the system? I am guessing flushing swap into RAM when there is not enough RAM available is a bad thing to do.

Just curious, why do you clear your swap space like that periodically? If your swap is being used too much, perhaps you either need more RAM or else should maybe turn down your vm.swappiness in sysctl.


On 2017-09-18 04:07 PM, Jeff Chapin wrote:

I periodically check swap usage, and run:

sudo swapoff -a; sudo swapon -a;

This will force anything in swap (on disk) back into RAM.

Jeff

On Mon, Sep 18, 2017 at 4:05 PM, Steve Trapp <stevetrapp at comcast.net<mailto:stevetrapp at comcast.net>> wrote:
Aha. I tried 'man swap' but didn't think of 'swapon'. My google search was not
very productive, so I am thankful of your information! -Steve

On Mon, Sep 18, 2017 at 07:16:16PM +0000, Iznogoud wrote:
> >
> > For GNU/Linux, how do you turn swap off and how do you turn in back on again?
> >
>
> Here is the top of the manual page:
>
>
> NAME
>        swapon, swapoff - enable/disable devices and files for paging and swap-
>        ping
>
> SYNOPSIS
>        /sbin/swapon [-h -V]
>        /sbin/swapon -a [-v] [-e]
>        /sbin/swapon [-v] [-p priority]  specialfile ...
>        /sbin/swapon [-s]
>        /sbin/swapoff [-h -V]
>        /sbin/swapoff -a
>        /sbin/swapoff specialfile ...
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org<mailto:tclug-list at mn-linux.org>
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
--
Name: Steve Trapp
Location: Just east of the Missippi River
Email-address: stevetrapp<AT>comcast<DOT>net
Homepage: comcast DROPPED ALL HOMEPAGES--Where do I put my PGP public key now?
_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
tclug-list at mn-linux.org<mailto:tclug-list at mn-linux.org>
http://mailman.mn-linux.org/mailman/listinfo/tclug-list



--
Jeff Chapin
President, CedarLug, retired
President, UNIPC, "I'll get around to it"
President, UNI Scuba Club
Senator, NISG, retired

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
tclug-list at mn-linux.org<mailto:tclug-list at mn-linux.org>
http://mailman.mn-linux.org/mailman/listinfo/tclug-list

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
tclug-list at mn-linux.org<mailto:tclug-list at mn-linux.org>
http://mailman.mn-linux.org/mailman/listinfo/tclug-list




--
Jeff Chapin
President, CedarLug, retired
President, UNIPC, "I'll get around to it"
President, UNI Scuba Club
Senator, NISG, retired
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20170920/d1106aa1/attachment.html>