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 > Servers >
Share
Shulou(Shulou.com)06/01 Report--
In this issue, the editor will bring you about the tools for monitoring disk partitions in Linux. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.
What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.
[root@localhost ~] # df-hT
Filesystem Type Size Used Avail Use% Mounted on
Devtmpfs devtmpfs 898M 0898M 0% / dev
Tmpfs tmpfs 910M 0 910m 0% / dev/shm
Tmpfs tmpfs 910M 29M 881M 4% / run
Tmpfs tmpfs 910M 0 910m 0% / sys/fs/cgroup
/ dev/mapper/centos-root xfs 37G 1.6G 36G 5% /
/ dev/sda1 xfs 1014M 150M 865M 15% / boot
Tmpfs tmpfs 182m 0 182m 0% / run/user/0
# the following command is used to install the pippackage manager with yum:
[root@localhost ~] # yum-y install python-pip
# the following command line updates the pip package manager:
[root@localhost] # pip install-- upgrade pip
# install the pydf tool using pip:
[root@localhost ~] # pip install pydf
$sudo apt install pydf
Use the following command to display all file systems:
[root@localhost] # pydf-a
[root@localhost] # pydf-h
Filesystem Size Used Avail Use% Mounted on
/ dev/centos/root 37G 1624M 35G 4.3 [#.] /
/ dev/sda1 1014M 149M 865M 14.7 [#.] / boot
[root@localhost ~] # fdisk-l
[root@localhost] # sfdisk-l-uM
Cluster display is used by default, and disk capacity is displayed in MB after using the-uM option.
Original address: https://mp.weixin.qq.com/s?__biz=MzA4NzQzMzU4Mg==&mid=2652939712&idx=2&sn=51002c7d9124542d253c3106cb1813c4&chksm=8bed8dc1bc9a04d771ed70fe66f4c180c37008770e8795545bf57580ed5fe16628f826a6869f&mpshare=1&
These are the tools for monitoring disk partitions in Linux shared by Xiaobian. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow 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.