In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "how to query hard disk information in linux". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "linux how to query hard disk information"!
Query hard disk information method: 1, use the "df-h" command, can output the hard disk usage status in a readable format; 2, use the "lsblk" command; 3, use the "lshw" command; 4, use the "fdisk" command, you can print hard disk information; 5, use the "cat / proc/partitions" command.
The operating environment of this tutorial: Red Hat Enterprise Linux 6.1 system, Dell G3 computer.
Linux queries hard disk information
The first df-h command can output the hard disk usage in a readable format: as shown in the figure
Second, use the "lsblk" command to list only the hard disk, not the partition information. An example is shown in the following figure
Third, use the "lshw" command to print hardware details. Examples are as follows
Fourth, fdisk can be used to print hard disk information. Examples are as follows:
Fifth, use the contents of the / proc/partitions file to view some information about the current hard disk and partition. As shown in the figure
Sixth, use the lsscsi tool to print SCSI hard disk information, as shown in the figure:
At this point, I believe you have a deeper understanding of "linux how to query hard disk information", might as well come to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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.