Monday, January 30, 2023
  • Events
  • Interviews
  • Jobs
  • Opinion
  • Whitepapers
  • Glossary
  • Community Forum
  • Web Hosting Directory
  • Login
  • Register
Cloud7 News
  • Cloud Computing
  • Web Hosting
  • Data Center
  • Linux
  • Cybersecurity
  • More
    • Network/Internet
    • Windows
    • Software
    • Hardware
    • Blockchain
    • Policy/Legislation
    • How-Tos
    • Troubleshooting
No Result
View All Result
Cloud7 News
  • Cloud Computing
  • Web Hosting
  • Data Center
  • Linux
  • Cybersecurity
  • More
    • Network/Internet
    • Windows
    • Software
    • Hardware
    • Blockchain
    • Policy/Legislation
    • How-Tos
    • Troubleshooting
No Result
View All Result
Cloud7 News
No Result
View All Result

Home > Article > Weekly tips & tricks: Linux #2

Weekly tips & tricks: Linux #2

This week we are providing some useful tricks for Linux; regarding gathering information about the system.


Rusen Gobel Rusen Gobel
March 19, 2022
3 min read
Weekly tips & tricks Linux #2

Linux distributions often come with useful tools to gather general information from the systems. However, you might want to perform a quick check-up of the target system without roaming around in the menus and windows. Here are some basic tips & tricks for you.

Table of Contents

  • General information
  • List of current processes
  • Kill a specific process
  • Public IP address
  • Network IP address
  • Temperatures
  • Real-time system monitoring

General information

Screenfetch is a very useful tool for seeing the system at a glance. It provides many pieces of information about the system at once, from the desktop resolution to desktop environment version, the fonts, CPU, GPU, and Linux kernel version. It also shows a fancy ASCII of the distribution. Neofetch is an alternative for Screenfetch, providing almost the same information.

sudo apt install screenfetch
screenfetch


List of current processes

While diagnosing a system’s problems, checking the running processes are crucial. You can see all of the processes by using the ps auf and ps axuf commands. The ps axuf command shows the processes that aren’t tied to the terminal. The TIME and RSS sections are very important since they show the amount of time the process runs, and the RAM used by it, respectively.

ps auf
ps axuf


Kill a specific process

This is not an actual information gathering tip; but if you are digging through the system, you might need to stop some processes as well. Simply use the command below the immediately kill a process.

pkill targetprogram

You can also use PID number of the target process instead of its name, with kill command

kill PID

More details about How to kill process in Linux


Public IP address

Sometimes you might not be able to use a web browser to type “What is my IP?” to your favorite search engine. In such cases, Curl might be the savior. Simply use the following commands to install Curl and see your public IP.

sudo apt install curl
curl ifconfig.me


Network IP address

Whenever you need to check your current network IP address, you can use the following command to see. It is a very small, yet very useful command in some cases

ip addr


Temperatures

Hardware-related issues are often be caused by high temperatures. Checking the temperatures frequently is an essential part of maintenance. You can use the lm-sensors tool to detect temperatures on your system. However, the tool will not work on VMware since it won’t be able to get the information from the sensors as you can see below.

sudo apt install lm-sensors hddtemp
sudo sensors-detect
sensors
Well, it does not work on VMware…

Real-time system monitoring

Seeing the immediate results of your actions in the operating system requires a real-time system monitoring tool. You can use Glances to achieve this. The number at the end of the command below is the refresh interval in seconds. You might want to increase the frequency of refreshing; however, it will result in more CPU usage.

sudo apt install glances
glances -t 1

Rusen Gobel

Rusen Gobel

Rusen Gobel is a news editor at Cloud7 News. With more than 10 years of experience, Rusen worked as a hardware and software news editor for technology sites such as Shiftdelete, Teknokolis, Hardware Plus, BT Haber. In addition, Rusen publishes consumer product reviews on his YouTube channel. While consumer electronics has been his main focus for years, now Rusen is more interested in WordPress and software development. He had contributed different web application projects in his professional career. Rusen had graduated from Istanbul University, department of Computer Engineering. Rusen has a very high passion for learning and writing for every kind of technology. That's why he has been working as a tech editor for more than ten years on several different technology magazines and online news portals.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

I agree to the Terms & Conditions and Privacy Policy.

Next Post
Weekly round-up 14-18 March

Weekly round-up: 14-19 March

Related News

Weekly round-up 23 – 27 January

Weekly round-up: 23 – 27 January

January 28, 2023 10:30 pm
What is ChatGPT Everything you need to know

What is ChatGPT? Everything you need to know

January 28, 2023 7:00 pm
What is cloud orchestration

What is cloud orchestration?

January 28, 2023 5:09 pm
Microsoft continues to invest in OpenAI

Microsoft continues to invest in OpenAI

January 25, 2023 1:45 pm
Get free daily newsletters from Cloud7 News Get the Cloud7 Newsletter
Select list(s):

Check your inbox or spam folder to confirm your subscription.

By subscribing, you agree to our
Copyright Policy and Privacy Policy

Get the free newsletter

Subscribe to receive the latest IT business updates straight to your inbox.

Select list(s):

Check your inbox or spam folder to confirm your subscription.

Editor's Choice

What’s new in Linux kernel 6.2 rc5?

10 Best Web Hosting Services of 2023

Ubuntu 22.04 LTS is available for download. What is new?

CERN and Fermilab recommend AlmaLinux

7 best hosting control panels of 2023

How to update Linux Kernel without rebooting?

7 best Linux mail servers of 2023

7 best cPanel alternatives for 2023

7 best Linux web browsers for 2023

7 best CentOS alternatives

7 best Linux server distros of 2023

Interview with Igor Seletskiy on AlmaLinux

How to create a VM and install a Linux distro on VMware Workstation

Recent News

  • [Event] IT Forum CxO
  • Total public cloud revenues jumped by 21% in 2022
  • Pentagon supply chain fails basic cybersecurity requirements
  • Yugabyte releases YugabyteDB Voyager
  • Chinese 8220 Gang targets public clouds

Cloud7 News
Cloud7 is a news source that publishes the latest news, reviews, comparisons, opinions, and exclusive interviews to help tech users of high-experience levels in the IT industry.

EXPLORE

  • Web Hosting
  • Cloud Computing
  • Data Center
  • Cybersecurity
  • Linux
  • Network/Internet
  • Software
  • Hardware
  • How-Tos
  • Troubleshooting

RESOURCES

  • Events
  • Interviews
  • Jobs
  • Opinion
  • Whitepapers
  • Glossary
  • Community Forum
  • Web Hosting Directory

Get the Cloud7 Newsletter

Get FREE daily newsletters from Cloud7 delivering the latest news and reviews.

  • About
  • Privacy & Policy
  • Copyright Policy
  • Contact

© 2022, Cloud7 News. All rights reserved.

No Result
View All Result
  • Cloud Computing
  • Web Hosting
  • Data Center
  • Linux
  • Cybersecurity
  • More
    • Network/Internet
    • Windows
    • Software
    • Hardware
    • Blockchain
    • Policy/Legislation
    • How-Tos
    • Troubleshooting
  • Events
  • Interviews
  • Jobs
  • Opinion
  • Whitepapers
  • Glossary
  • Community Forum
  • Web Hosting Directory

© 2022, Cloud7 News. All rights reserved.

Welcome Back!

Sign In with Facebook
Sign In with Google
Sign In with Linked In
OR

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Sign Up with Facebook
Sign Up with Google
Sign Up with Linked In
OR

Fill the forms below to register

*By registering into our website, you agree to the Terms & Conditions and Privacy Policy.
All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.