Removing a Swap File From Use (System Administration Guide: Basic Administration) (2024)

If you have unneeded swap space, you can remove it.

How to Remove Unneeded Swap Space

  1. Become superuser.

  2. Remove the swap space.


    # /usr/sbin/swap -d /path/filename

    The swap file name is removed so that it is no longer available forswapping. The file itself is not deleted.

  3. Edit the /etc/vfstab file and delete the entryfor the swap file.

  4. Recover the disk space so that you can use it for something else.


    # rm /path/filename

    If the swap space is a file, remove it. Or, if the swap space is ona separate slice and you are sure you will not need it again, make a new filesystem and mount the file system.

    For information on mounting a file system, see Chapter40, Mounting and Unmounting File Systems (Tasks).

  5. Verify that the swap file is no longer available.


    # swap -l

Example—Removing Unneeded Swap Space

The following examples shows how to delete the /files/swapfile swap file.


# swap -d /files/swapfile# (Remove the swap entry from the /etc/vfstab file)# rm /files/swapfile# swap -lswapfile dev swaplo blocks free/dev/dsk/c0t0d0s1 136,1 16 1638608 1600528
Removing a Swap File From Use (System Administration Guide: Basic Administration) (2024)
Top Articles
Does Your Daily Tea And Coffee Count As Essential Water Intake? | Thirsty Work
USDT (POLYGON) to SOL Crypto Exchange | Convert Tether USD (POLYGON) to Solana on ChangeNOW
Ohio Houses With Land for Sale - 1,591 Properties
How To Fix Epson Printer Error Code 0x9e
Using GPT for translation: How to get the best outcomes
Craftsman M230 Lawn Mower Oil Change
OSRS Fishing Training Guide: Quick Methods To Reach Level 99 - Rune Fanatics
Women's Beauty Parlour Near Me
Garrick Joker'' Hastings Sentenced
Student Rating Of Teaching Umn
Slmd Skincare Appointment
Connexus Outage Map
Colts seventh rotation of thin secondary raises concerns on roster evaluation
Buy PoE 2 Chaos Orbs - Cheap Orbs For Sale | Epiccarry
Craigslist Free Stuff Santa Cruz
Diamond Piers Menards
Ukc Message Board
Craigslist Sparta Nj
The Pretty Kitty Tanglewood
Kringloopwinkel Second Sale Roosendaal - Leemstraat 4e
All Obituaries | Gateway-Forest Lawn Funeral Home | Lake City FL funeral home and cremation Lake City FL funeral home and cremation
Target Minute Clinic Hours
Mta Bus Forums
Firefly Festival Logan Iowa
Black Lion Backpack And Glider Voucher
Ups Drop Off Newton Ks
Kaiserhrconnect
Max 80 Orl
Tributes flow for Soundgarden singer Chris Cornell as cause of death revealed
Powerball lottery winning numbers for Saturday, September 7. $112 million jackpot
Watchdocumentaries Gun Mayhem 2
Jr Miss Naturist Pageant
Directions To 401 East Chestnut Street Louisville Kentucky
Metra Schedule Ravinia To Chicago
Chuze Fitness La Verne Reviews
RALEY MEDICAL | Oklahoma Department of Rehabilitation Services
How are you feeling? Vocabulary & expressions to answer this common question!
Miracle Shoes Ff6
Reese Witherspoon Wiki
3 Zodiac Signs Whose Wishes Come True After The Pisces Moon On September 16
18006548818
Academic Calendar / Academics / Home
Blow Dry Bar Boynton Beach
Pickwick Electric Power Outage
Dragon Ball Super Card Game Announces Next Set: Realm Of The Gods
Germany’s intensely private and immensely wealthy Reimann family
The Plug Las Vegas Dispensary
Skyward Login Wylie Isd
Intuitive Astrology with Molly McCord
Primary Care in Nashville & Southern KY | Tristar Medical Group
Latest Posts
Article information

Author: Sen. Emmett Berge

Last Updated:

Views: 5790

Rating: 5 / 5 (60 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Sen. Emmett Berge

Birthday: 1993-06-17

Address: 787 Elvis Divide, Port Brice, OH 24507-6802

Phone: +9779049645255

Job: Senior Healthcare Specialist

Hobby: Cycling, Model building, Kitesurfing, Origami, Lapidary, Dance, Basketball

Introduction: My name is Sen. Emmett Berge, I am a funny, vast, charming, courageous, enthusiastic, jolly, famous person who loves writing and wants to share my knowledge and understanding with you.