In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1. First determine whether there is insufficient disk space.
Enter the following command to view disk information:
Df-h
It is obvious: the 40G capacity under the mount point / dev/xvda1 under Filesystem has been exhausted.
At this point, the easiest way is to find a large and useless file and delete it. The first choice is the log file.
2. Enter the following command to find the current directory and which folder takes up the most space
Du-h-max-depth=1
3. Enter the logs folder
Enter the following command to display the files in order from largest to smallest
Ls-lhS
Enter the following command to complete the cleanup.
>. / catalina.out
Note: if the process is in use when cleaning log, either an error will be reported when deleting using rm-f, or even if the disk is deleted, the disk is still full, so using the command to empty the contents of the log file is better than deleting this file.
These are the details of the solution to the shortage of disk space in linux. Please pay more attention to other related articles!
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.