View: 6939|Reply: 4

10 Useful Linux Tool

[Copy link]

62

threads

653

posts

5496

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5496
Published in 2017-5-23 11:34:23 | Show all floors |Read mode
Cite from Winclient’s BlogHere are 10 useful Linux tool that could help us improve the working efficiency
1.w
Yes, it is w command. You could see who is the current user and what command has been executed.
2.nmon
Nmon is a tool that could monitor current system performance, you need to use the following command to install it before using:
sudo apt-get install nmon
Execute nmon command after installed:
nmon
nmon could check the usage of network, CPU, RAM and disk
Press c to check the information of CPU:

Press n to check the network information:

3.ncdu
ncdu command could be used to check and analyze the usage of disk on Linux directory, you could use the following command to install:
apt-get install ncdu
You could execute the following command after installed:
ncdu /

Note: execute the above command would take a big Disk I/O
After analyze, there would generate the following:
We can press n to sort by name at the result interface, or press s to sort by size.

4.slurm
slurm is a program which with network card bandwidth monitor command line utility that automatically generates ASCII graphical output. Before using, install the following command:
apt-get install slurm
Use the following command to make output
slurm -i <network card name>
slurm interface could execute the following command
◆Iindicate lx/tx situation
◆cswitch to classify interface
◆rManual refresh interface
◆qQuit tool

This thread contains more resources

You need to Log in to download or view,No account?    Register

x

62

threads

653

posts

5496

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5496
 Author| Published in 2017-5-24 13:50:19 | Show all floors
5.findmnt

Findmnt is a built-in command line tool for Linux that is primarily used to find the mounted file system state. Findmnt can view the mounted devices in the current system and perform mount or unmount operations when necessary.
You will see the following contents after execute findmnt command:


You could also use the following parameter:
◆findmnt -l :Output by listing

◆findmnt -s :Mounted device when output fstab

◆findmnt -t ext4 :Output by file system type

6. dstat

dstat is a tool that can be used very flexibly and can be used in combination to monitor memory, network, and disk performance. It can be used replace of ifstat, iostat, dmstat and other tools. Before using, you need to do the following commands to install:

apt-get install dstat
Execute the following command to see all monitoring data:

dstat


There are many optional data, commonly used are:

◆dstat -c : Monitor CPU

◆dstat -cdl -D sda1 :Monitor CPU detail information

◆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. Use the following command to install before use:

sudo apt-get install saidar
Once the installation is complete, the saidar can be output directly, but we usually use the command with parameters to generate color output:

saidar -c


8.ss

ss full name is socket statistics, it is a network connection viewing tool that can replace netstat.
execute ss to check:


Commonly used parameter:

ss -A tcp :Designated view protocol

ss -ltp :Display process name and PID

9. ccze
ccze is very useful, it can highlight logs in different colors, helping administrators to differentiate and view analysis. Use the following command to install before use:

apt-get install ccze
We can use the same method as follows:
tailf /var/log/syslog | ccze


Using the ccze -l parameter, you can see the type of log that it supports.


10. ranwhen.py

ranwhen.py is a python tool, it can graphically display system activity

To use this tool, you need to install the python language support first:
sudo apt-add-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python3.2
And download: ranwhen.py

wget https://github.com/p-e-w/ranwhen/archive/master.zip
unzip master.zip && cd ranwhen-master
Run the following command to execute ranwhen.py:

python3.2 ranwhen.py

This thread contains more resources

You need to Log in to download or view,No account?    Register

x

2

threads

36

posts

1913

credits

Gold member

Rank: 6Rank: 6

credits
1913
Published in 2017-5-27 07:40:51 | Show all floors
Nice commands @admin. Some of these I have not used. Thanks.

62

threads

653

posts

5496

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5496
 Author| Published in 2017-5-27 10:51:39 | Show all floors
tpickle replied at 2017-5-27 07:40
Nice commands @admin. Some of these I have not used. Thanks.

It is searched from google and then translate.

0

threads

17

posts

410

credits

Forbidden to speak

credits
410
Published in 2022-7-24 19:18:26 | Show all floors
Tips: Disabled or deleted by author , the content is blocked
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list