Swapon Command Assignment Help

Assignment Help: >> Virtual File System - Swapon Command

Swapon Command

swapon is the command that is used to activate the swap on the device.

Syntax:

# swapon [options] [ device ]

Options:

-h        Prints the help information.

-s         Prints the swap usage information.

Consider the following example

# swapon         /dev/hda9

Swap is the command which is used to activate and check the status of a swap file system in Solaris.

Consider the following example

Activate the swap file:

Syntax:

# swap -a [file name]

The options of swap command:

-a:      It is used to add swap file.

-l:        It is used to verify the swap file is added.

-s:        It is used to list the status of swap file.

-d:         It is used to remove the swap file from use.

Let consider the following example

# swap -a /opt/kishore

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd