• Add a new swap partition
  • show swap usage
swapon -s
  • turn off swap
swapoff -a
  • create a new swap partition
mkswap /dev/sda1
  • turn swap on
swapon -a

  • Add extra swap using files
  • create a file (2gb in this case)
dd if=/dev/zero of=/swap_file3 bs=1048576 count=2048
  • make swap
mkswap /swap_file3
  • add to swap
swapon /swap_file3
  • edit fstab if swap file needs to be used after restart
 /swap_file3       none            swap    sw              0       0

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-1) was last changed on 24-May-2017 15:30 by Hyve Support
G’day (anonymous guest) My Prefs
  • View Page Source
  • This clear IPSec security association,
    clear ipsec sa peer X.X.X.X
    

All Pages

Page views: 1546

Private Tomcat

Linux

MySQL

Email

SQL Server

ASP

JSP

C#

Web Mail

Windows Plesk

Linux Plesk

PHP

Gaming

ASP.NET

Persits ASPUpload

Wiki Help

Referring Pages:
...nobody

JSPWiki v2.8.1