<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">My suggestion for any elevated file edits would be to use nano or vi/vim (i personally use nano mostly)</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 1, 2016 at 6:26 AM, Michael <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I understand. The computer would not allow me to use sudo with redirection .</div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Tue, Mar 1, 2016 at 1:09 AM, Michael <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">fyi:  when I attempted to save it in gedit it gave me the permission denied error.</div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Tue, Mar 1, 2016 at 1:08 AM, Michael <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What am i doing incorrectly?<div><br></div><div><div>$  sudo cat /proc/sys/vm/swappiness</div><div>60</div><div>bmike1@MikesBeast ~ $  sudo cat 30>> /proc/sys/vm/swappiness</div><div>bash: /proc/sys/vm/swappiness: Permission denied</div><div>bmike1@MikesBeast ~ $ sudo gedit</div><div>bmike1@MikesBeast ~ $ sudo gedit /proc/sys/vm/swappiness</div><div><br></div><div>** (gedit:10639): WARNING **: Hit unhandled case 13 (Error writing to file: Invalid argument) in parse_error.</div><div><br></div><div>** (gedit:10639): WARNING **: Hit unhandled case 13 (Error writing to file: Invalid argument) in parse_error.</div><div>bmike1@MikesBeast ~ $  sudo cat >> /proc/sys/vm/swappiness<<eof</div><div>> 1</div><div>> eof</div><div>bash: /proc/sys/vm/swappiness: Permission denied</div><div>bmike1@MikesBeast ~ $  sudo cat >> /proc/sys/vm/swappiness<<eof</div><div>1</div><div>eof</div><div>^C</div><div>bmike1@MikesBeast ~ $ sudo cat /proc/sys/vm/swappiness</div><div>1</div></div><div><br></div><div>WHATEVER! lol</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Tue, Mar 1, 2016 at 12:43 AM, Michael <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">have a desktop. in any case I searched google this swapiness question and here is what it says:<div><br></div><div><span style="color:rgb(0,0,0);font-size:13.3333px;line-height:21.3333px">"</span></div><div><span style="color:rgb(0,0,0);font-size:13.3333px;line-height:21.3333px">After rebooting the swappiness is set to 10. This can be checked by</span></div><div><span style="color:rgb(0,0,0);font-size:13.3333px;line-height:21.3333px">running the following command in a terminal: </span><span style="font-size:13.3333px;line-height:21.3333px;color:rgb(255,0,0)">sudo cat /proc/sys/vm/swappiness<font color="#000000">.<br></font></span><span lang="en" style="color:rgb(0,0,0);font-size:13.3333px;line-height:21.3333px">The swap tendency can have a value of 0 (fully off) to 100 (swap is constantly used). </span><br style="color:rgb(0,0,0);font-size:13.3333px;line-height:21.3333px"><span lang="en" style="color:rgb(0,0,0);font-size:13.3333px;line-height:21.3333px">A workable and practical rule for changing the swappiness can be:<br>1 GB or more RAM: 10<br>Less than 1 GB of RAM: 1</span><br style="color:rgb(0,0,0);font-size:13.3333px;line-height:21.3333px"><u style="color:rgb(0,0,0);font-size:13.3333px;line-height:21.3333px"><b>Tip:</b></u><br style="color:rgb(0,0,0);font-size:13.3333px;line-height:21.3333px"><span lang="en" style="color:rgb(0,0,0);font-size:13.3333px;line-height:21.3333px">Your computer has less than 512 MB ​​of RAM? Try to change the swap tendency to 0 (zero). With lower amount of memory installed, this might even give a better result then changing the swap tendency to 1.</span><br></div><div>"</div><div><br></div><div>Why is 0 better than 1?</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 1, 2016 at 12:38 AM, Kevin Fries <span dir="ltr"><<a href="mailto:kevin@fries-biro.com" target="_blank">kevin@fries-biro.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Linux is not Windows.  Linux can, and will run without using swap if it can.  Linux will remain RAM resident unless it has to.  So, what they are telling you is this... If you don't need swap, don't define it.</p>
<p dir="ltr">There is one exception to this rule, since you are using a laptop.  There are two instant on technologies, sleep and hibernate.  One of the will stash the state to RAM, the other to swap.  I forget which is which.  But if it needs to go to swap, you will need a swap file equal to RAM if you use that feature.</p><span><font color="#888888">
<p dir="ltr">Kevin</p></font></span><div><div>
<div class="gmail_quote">On Feb 29, 2016 10:32 PM, "Michael" <<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">swapiness=..... 0? Remember; I am computer-illiterate!<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 29, 2016 at 11:47 PM, Todd Millecam <span dir="ltr"><<a href="mailto:tyggna@gmail.com" target="_blank">tyggna@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Disable swap.  Never activate it on boot.  If you start reaching oom conditions, turn it back on.<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, Feb 29, 2016 at 9:38 PM, Michael <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">What do you recommend you reduce swapiness to for machines that have plenty of memory that will probably never be filled? <span><font color="#888888"><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br></div></div></div></div></div>
</font></span></div>
<br></div></div>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><span><font color="#888888"><br></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br><div>Todd Millecam</div>
</font></span></div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br></div></div></div></div></div>
</div></div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div>
</div></div><br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br></div></div></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br></div></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br></div></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br></div></div></div></div></div>
</font></span></div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">A mouse trap, placed on top of your alarm clock, will prevent you from rolling over and going back to sleep after you hit the snooze button.<br><br>Stephen<br><br></div>
</div>