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 > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this article Xiaobian for you to introduce in detail "what are the practical tools of Linux", the content is detailed, the steps are clear, and the details are handled properly. I hope that this article "what are the practical tools of Linux" can help you solve your doubts? let's go deep into the train of thought of Xiaobian and learn new knowledge together.
1. W
Yes, you read it right. It's the w order. Using this command, we can see who is currently logged in to the system and which commands have been executed.
2. Nmon
Nmon is a gadget that can monitor the performance of the current system. Before using it, you need to install it with the following command:
Sudo apt-get install nmon
After installation, execute the nmon command to open:
Nmon
Nmon can view network, CPU, memory, and disk usage.
Press c to view CPU information after opening it
Press n to view the network information after opening it:
3. Ncdu
The ncdu command can be used to view and analyze the disk space consumption of various directories in Linux. Use the following command to install:
Apt-get install ncdu
After installation, execute the following command to start the analysis from the root directory:
Ncdu /
❝
Note: executing the above command will take up a large amount of disk Izuro.
After the analysis is completed, output similar to the following screenshot will be generated:
We can sort by name by n or by size by s in the results interface.
4. Slurm
Slurm is a network card bandwidth monitoring command line utility, it will automatically generate ASCII graphics output. Install with the following command before using:
Apt-get install slurm
Use the following command to output:
Slurm-I
The following options can be performed in the slurm interface:
I: display lx/tx status c: switch to classic interface r: manually refresh interface Q: exit tool 5. Findmnt
Findmnt is a command-line tool built into Linux, which is mainly used to find the mounted file system status. Findmnt can view the mounted devices in the current system and perform mount or unmount operations if necessary.
After executing the findmnt command, you will see the following input:
Of course, the following parameters are also available:
Findmnt-l: output as a list findmnt-s: output devices mounted in fstab findmnt-t ext4: output by file system type 6. Dstat
Dstat is a very flexible and combined tool that can be used to monitor memory, progress, network and disk performance, and can be used to replace tools such as ifstat, iostat, dmstat, and so on. Before using it, you need to execute the following command to install:
Apt-get install dstat
Execute the following command to see all monitoring data:
Dstat
There are many optional parameters, the commonly used ones are:
Dstat-c: monitor CPUdstat-cdl-D sda1: monitor CPU details dstat-d: monitor disk 7. Saidar
Saidar is another CLI system data monitoring and statistics tool that provides monitoring information about disk, network, storage, and SWAP. Install it with the following command before using it:
Sudo apt-get install saidar
After installation, you can directly execute saidar for output, but we usually use commands with parameters to generate colored output:
Saidar-c8. Ss
Ss, whose full name is socket statistics, is a network connection viewing tool that can replace netstat.
You can view it by executing ss directly:
The common parameters are:
Ss-A tcp: specifies the viewing protocol
Ss-ltp: displays the process name and PID
9. Ccze
Ccze is very useful for highlighting logs in different colors to assist administrators in distinguishing and viewing analysis. Install it with the following command before using it:
Apt-get install ccze
We can use it in ways similar to the following:
Tailf / var/log/syslog | ccze
Use the ccze-l parameter to see which log types are supported.
10. Ranwhen.py
The ranwhen.py we finally introduced is a python tool that graphically displays system activity.
To use this tool, you need to install python language support:
Sudo apt-add-repository ppa:fkrull/deadsnakessudo apt-get updatesudo apt-get install python3.2
Then download ranwhen.py
Wget https://github.com/p-e-w/ranwhen/archive/master.zipunzip master.zip & & cd ranwhen-master
Ranwhen.py can be executed using the following command
Python3.2 ranwhen.py read here, this article "what are the utilities of Linux" article has been introduced, want to master the knowledge of this article still need to practice and use to understand, if you want to know more related articles, 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.