10 useful tools for Linux Users

Source: Internet
Author: User
Tags syslog

10 useful tools for Linux Users
Introduction

In this tutorial, I have collected 10 useful tools for Linux users, including various network monitoring, system auditing, and some other practical commands, it can help users improve work efficiency. I hope you will like them.

 

1. w

Shows who has logged on to the system and what programs have been executed.

  1. $ w

The header information is not displayed)

  1. $ w-h

Displays the information of a specified user.

  1. $ w<username>

 

2. nmon

Nmon is a tool for displaying system performance information.

  1. $ sudoapt-get install nmon
  1. $ nmon

Nmon displays information about netwrok, cpu, memory, and disk usage.

Nmon displays cpu information (by c)

Nmon displays network information (by n)

Nman Displays disk information (by d)

 

3. ncdu

Is a tool that supports the cursor.duProgram, this command is used to analyze the disk space occupied by various directories.

  1. $ apt-get install ncdu
  1. $ ncdu /

Final output:

Sort by n by file name, and sort by s by file size (default ).

 

4. slurm

A bandwidth monitoring command line program based on network interfaces, which displays text images with characters.

  1. $ apt-get install slurm

For example:

  1. $ slurm -i <interface>
  1. $ slurm -i eth1

Option

  • Display the lx/tx indicator by pressing l.
  • Switch to the classic mode by pressing c.
  • Press r to refresh the screen.
  • Press q to exit.

 

5. findmnt

The Findmnt command is used to find the mounted file system. It is used to list the installation devices. It can also be mounted or detached as needed. It is part of the util-linux software package.

Example:

  1. $ findmnt

Output in List format.

  1. $ findmnt -l

List the file systems mounted in fstab.

  1. $ findmnt -s

List mounted file systems by file type.

  1. $ findmnt -t ext4

 

6. dstat

A flexible combination tool that can be used to monitor memory, processes, network, and disk performance. It can be used to replace ifstat, iostat, dmstat, and so on.

  1. $ apt-get install dstat

For example:

View detailed information about cpu, hard disk, and network.

  1. $ dstat

-C cpu

  1. $ dstat -c

-D Disk

  1. $ dstat -d

Displays cpu, disk, and other details.

  1. $ dstat -cdl -D sda1

 

7. saidar

Another command line-based system statistics monitoring tool provides disk usage, network, memory, swap partition and other information.

  1. $ sudoapt-get install saidar

For example:

  1. $ saidar

Enable color output

  1. $ saider -c

 

8. ss

Ss (socket statistics) is a good alternative to netstat. It collects information from the kernel space, which is better than netstat.

For example:

List all connections

  1. $ ss|less

List tcp traffic

  1. $ ss-A tcp

List process names and pid

  1. $ ss-ltp

 

9. ccze

A tool for Beautifying log display :).

  1. $ apt-get install ccze

For example:

  1. $ tailf /var/log/syslog | ccze

List ccze modules:

  1. $ ccze -l

Save the log as an html file.

  1. tailf /var/log/syslog | ccze -h >/home/tux/Desktop/rajneesh.html

 

10. ranwhen. py

A Python-based terminal tool that can be used to display the system activity status graphically. The detailed information is displayed in a colorful bar chart.

Install python (LCTT note: In general, you should already have python, do not need this step ):

  1. $ sudo apt-add-repository ppa:fkrull/deadsnakes

Update System:

  1. $ sudoapt-get update

Download python:

  1. $ sudoapt-get install python3.2

Click here to download ranwhen. py

$ unzip ranwhen-master.zip && cd ranwhen-master

Run the tool.

  1. $ python3.2 ranwhen.py

 

Conclusion

These are some uncommon but important Linux management tools. They can help users in their daily lives. In our upcoming article, we will bring as many administrator/user tools as possible.

Have a good time!

Via: http://www.unixmen.com/10-useful-utilities-linux-users/

Author: Rajneesh Upadhyay Translator: strugglingyouth Proofreader: wxy

This article was originally compiled by LCTT and launched with the honor of Linux in China

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.