• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

How to find swap partition or file in linux

July 15, 2013 by Sharad Chhetri Leave a Comment

How to find swap partition or file in linux

In this post I will share some commands to find swap partition or file in linux.
I expect you already know about swap, if not click on this link for more understanding

Swap space can be a dedicated swap partition , a swap file, or a combination of swap partitions and swap files.
So here the question comes how will you find the swap space is in partition or file or both.

The given below command is the answer of the above question

cat /proc/swaps

OR

swapon -s

See the below given screenshot for more understanding

swap
swap

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. Add swap file in linux without reboot after OS installation
  2. Create new swap file on CentOS 7 / RHEL 7
  3. Linux enable or disable multiple swap space
  4. How to know how many swap space exist in linux system
  5. How to Check UUID of Disk Partition
  6. NOTICE: nagios.cmd file not found. Please specify the location of this file in your /etc/vshell.conf file
  7. Convert video file into gif file through command line in linux
  8. How to convert rpm file into deb file
  9. Give permission reference to file/dir from other file/dir in linux
  10. group ownership reference to file/dir from other file/dir in linux

Filed Under: Linux, Tips And Tricks Tagged With: swap

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Linux Command

What is Linux Internal And External Command

Linux Basic Commands With Examples For Every Beginner

tr command to convert lines to space , tab and vertical tab

smbpasswd command not found on CentOS 7 and RHEL 7

Solution : semanage command not found

Unix / Linux : How to print duplicate lines from file

More Posts from this Category

You Might Like These Articles!

simplecodesyntax wordpress plugin

SimpleCodeSyntax : My Another WordPress Plugin

Install Nginx

How To Install Nginx On Ubuntu 22.04 LTS

Install Latest Git package in Ubuntu Operating System

How To Always Install Latest Git Package In Ubuntu Operating System

Bash script for installing VirtualBox on Ubuntu 22.04 LTS Desktop

Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)

libfuse

dlopen(): error loading libfuse.so.2 – Got Error On Ubuntu

Failed to open/create the internal network

VirtualBox Error: Failed to open/create the internal network

Always Useful Tips And Tricks

Read the file inside compressed .gz files without extract

configure: error: C++ compiler cannot create executables

Could not find make anywhere!!! Please edit the config section to include the path to make. at ./install.pl line 2101

How to protect from port scanning and smurf attack in Linux Server by iptables

How to zip directory in linux explained with examples

How to forcefully send mail from mailq in sendmail MTA

Forgot root password ,Reset it in Run level 1

Explore 90+ Article On "Linux Tips And Tricks"

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy