Viewing Tomcat Processes in Linux

Viewing Tomcat Processes in Linux

1. View Tomcat process information ps -ef | grep tomcat Explanation: ps -ef lists detailed information about all processes, and grep ‘[c]atalina’ filters the lines containing ‘catalina’ (cleverly excluding the grep process itself). The output includes: process user, PID, startup command, and other key information. 2. Restart Tomcat # Navigate to Tomcat’s bin directorycd /path/to/tomcat/bin/# … Read more

Network Interface Priority and Metric in Linux

Network Interface Priority and Metric in Linux

In embedded development and network operations, when devices connect to different networks through multiple network interfaces (such as Ethernet, Wi-Fi, and 4G modules), how can we ensure that data packets are transmitted through the “optimal path”? The core of this is the metric. This article will delve into this mechanism and introduce simple operational commands. … Read more

Automatically Transfer Files from Linux to Windows Server 2012 via SCP

Automatically Transfer Files from Linux to Windows Server 2012 via SCP

1. The download link is as follows:https://github.com/PowerShell/Win32-OpenSSH/releases 2. Unzip the downloaded OpenSSH-Win64.zip to C:\Program Files\OpenSSH 3. Open PowerShell as an administrator and navigate to the unzipped directory:4. Run the installation script: powershell.exe -ExecutionPolicy Bypass -File install-sshd.ps1 5. Modify the default port 6. Start the service, set it to start automatically, and check the listening port … Read more

Linux Command – pwd

Linux Command - pwd

Command Overview pwd is a fundamental yet important command in Linux/Unix systems, which stands for Print Working Directory. Its core function is to display the current directory path where the user is located, helping users quickly confirm their position in the file system. Usage The syntax of the pwd command is as follows pwd [options] … Read more

Detailed Explanation of Linux Commands – iptables and firewalld

Detailed Explanation of Linux Commands - iptables and firewalld

Network security is the cornerstone of operations and maintenance, and mastering iptables and firewalld is an essential skill for every Linux administrator. This article will take you deep into the core principles and practical techniques of these two major firewall tools! 1. Introduction to iptables iptables is a command-line tool for managing firewall rules in … Read more

Why Linux Is Not Ready to Become a Desktop Operating System

Why Linux Is Not Ready to Become a Desktop Operating System

This article is reprinted with permission from the public account CSDN (ID: CSDNnews) Author | Artem S. Tashkinov, Editor | Su Ma The latest data from traffic monitoring agency StatCounter indicates that as of December 2024, Linux holds only 4.13% of the global desktop operating system market share. This is in stark contrast to its … Read more

Summary of 600 Powerful Linux Commands

Summary of 600 Powerful Linux Commands

1. Basic Commands uname -m # Display the machine's processor architecture uname -r # Display the currently used kernel version dmidecode -q # Display hardware system components (SMBIOS / DMI) hdparm -i /dev/hda # List a disk's architectural features hdparm -tT /dev/sda # Perform a test read operation on the disk arch # Display the … Read more

Advanced Learning Path for Linux C/C++ Backend Development

Advanced Learning Path for Linux C/C++ Backend Development

Some readers have asked me: What should I learn to work in C++ backend development? C++/Linux server development, commonly known as C++ backend development, has a high demand for positions in large tech companies like BAT. Companies like Tencent have an urgent need for C++ backend developers. Although these positions require a high level of … Read more

In-Depth Analysis of Linux Network Packet Loss: From Troubleshooting to Optimization

In-Depth Analysis of Linux Network Packet Loss: From Troubleshooting to Optimization

链接: https://blog.csdn.net/qq_39578545/article/details/130246445? ☞ The excellent course has completely exploded! ☜ In-Depth Analysis of Linux Network Packet Loss 1. Background: From the image, you can see the potential locations where packet loss may occur, which actually spans the entire network protocol stack. In other words, there is a possibility of packet loss at every stage. • … Read more

Rocky Linux Has Been Updated to Version 9.6!

Rocky Linux Has Been Updated to Version 9.6!

As a downstream enterprise-level Linux distribution of RHEL, Rocky Linux has released its latest version 9.6. Since CentOS ceased to release traditional versions, Rocky Linux has emerged to fill the gap left by the discontinuation of CentOS, providing a stable and reliable operating system that is fully binary compatible with RHEL. Currently, Rocky Linux offers … Read more