In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Most people don't understand the knowledge points of this article "How to use Linux swapoff command", so Xiaobian summarizes the following contents for everyone. The contents are detailed, the steps are clear, and they have certain reference value. I hope everyone can gain something after reading this article. Let's take a look at this article "How to use Linux swapoff command".
The Swapoff command is used to close the swap area of the system. Swapoff is actually a symbolic connection of swap, which can be used to close the swap area of the system.
Syntax swapoff [device] parameters:
-a Shut down all devices set to swap in/etc/fstab file
-h Help information
-V version information
Examples show partition information:
# sfdisk -l //Display partition information Disk /dev/sda: 1305 cylinders, 255 heads, 63 sectors/trackUnits = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System/dev/sda1 * 0+ 12 13- 104391 83 Linux/dev/sda2 13 1304 1292 10377990 8e Linux LVM/dev/sda3 0 - 0 0 0 Empty/dev/sda4 0 - 0 0 0 EmptyDisk /dev/sdb: 652 cylinders, 255 heads, 63 sectors/tracksfdisk: ERROR: sector 0 does not have an msdos signature/dev/sdb: unrecognized partitionNo partitions found Close swap partition.
# swapoff /dev/sda2//Close Swap Partition The above is about the content of this article "How to use the Linux swapoff command". I believe everyone has a certain understanding. I hope the content shared by Xiaobian is helpful to everyone. If you want to know more about related knowledge, please pay attention to the industry information channel.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.