|
In this paper, we collected very useful for Linux users 10 tools, including network monitoring, system audits or other useful commands that 10 Linux tools can help you improve efficiency and use, very practical.
1. w
Yeah, you're not wrong, that is, w command. We can use this command to view the current user who is logged on the system are and what commands executed.
2. nmon
Nmon is a current monitor system performance gadgets, need to be installed first before using with the following command:
1.sudo apt-get install nmon
After installation perform nmon command to open:
1.nmon
nmon can view network usage, CPU, memory and disk.
3. ncdu
ncdu command can be used to view and analysis tools in each directory on the Linux disk space usage, use the following command to install:
apt-get install ncdu
Run the following command to install the analysis from the root directory:
ncdu /
Note: The implementation of the above command will take a lot of disk I / O
After the analysis is complete, it will generate output similar to the following screenshot:
N We can sort the results by name or press s interface sorted by size.
4. slurm
slurm NIC bandwidth monitoring is a command-line utility that automatically generates ASCII graphics output. First use the following command to install before using:
apt-get install slurm
Use the following command output:
slurm -i
slurm interface can perform the following options:
I: Display lx / tx state
c: Switch to Classic interface
r: Manually refresh the screen
q: Quit Tools
5. findmnt
Findmnt Linux is a built-in command line tool, it is mainly used to find the mounted file system state. Findmnt can view the current system of mounting devices, if necessary also for mount or unmount operation.
After executing the command findmnt you will see the following inputs:
Of course, there are the following parameters are available:
findmnt -l: output as a list
findmnt -s: output device mounted in fstab
findmnt -t ext4: by file system type output
6. dstat
dstat is a very flexible tool to use and be used in combination, it can be used to monitor memory, perform, network and disk performance, can be used to replace ifstat, iostat, dmstat other tools. Before use must first run the following command to install:
apt-get install dstat
Run the following command to see all monitoring data:
dstat
Its optional parameter is very large, commonly used are:
dstat -c: Monitor CPU
dstat -cdl -D sda1: Monitor CPU details
dstat -d: Disk Monitor
7. saidar
saidar another CLI system data monitoring and statistics tool that provides information about the disk, network, storage and SWAP monitoring information. You must first use the following command to install before using:
1.sudo apt-get install saidar
After the installation is complete, you can perform saidar output directly, but we usually use parameters command generates output with color:
1.saidar -c
10 easy to use Linux utilities Recommended
8. ss
ss partial socket statistics, is an alternative to netstat network connections viewer.
Direct execution ss to view it:
Common parameters are:
ss -A tcp: Specifies the protocol View
ss -ltp: displays the process name and PID
9. ccze
ccze very useful, it can use different colors to highlight the log to help administrators analyze and view distinction. You must first use the following command to install before using:
apt-get install ccze
We can use a similar approach to the use of the following:
tailf / var / log / syslog | ccze
The parameters can be viewed using ccze -l log types it supports.
10. ranwhen.py
ranwhen.py Our final presentation is a python tool that can graphically display system activity.
To use the tool you need to install python language support:
sudo apt-add-repository ppa: fkrull / deadsnakes
sudo apt-get update
sudo apt-get install python3.2
Then download ranwhen.py
wget https://github.com/p-e-w/ranwhen/archive/master.zip
unzip master.zip && cd ranwhen-master
Use the following command to execute ranwhen.py
python3.2 ranwhen.py
summary
10 easy to use Linux utilities described in this article are still more interesting, I hope you like it. |
|
|
|