Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the swapoff command of linux to shut down the system exchange

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the use of linux's swapoff command to close the system exchange area, which can be used for reference by friends who need it. Let's take a look at it with me.

Swapoff is actually a symbolic link for swapon and can be used to shut down the switching area of the system.

Syntax format: swapoff [parameters]

Common parameters:

-a turn off all devices set to swap in the / etc/fstab file-h help information-V version information

Reference example

Turn off the swap partition:

[root@linuxcool ~] # swapoff / dev/sda2 above is the details of shutting down the system exchange area using the swapoff command of linux. Have you learned anything after reading it? If you want to know more about it, welcome to the industry information!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report