Command | Traffic Monitor Based on Linux Processes

Command | Traffic Monitor Based on Linux Processes

One bamboo, one orchid, one stone, with rhythm, fragrance, and integrity. 1 Software Introduction Nethogs is a command-line tool that can monitor the network data usage of Linux system processes in real-time, similar to top. 2 Effect Demonstration 3 Other Matters Advantages: A rare process-based data traffic monitoring tool under Linux. Disadvantages: None Ease of … Read more

Raiz: The Essential CLI Tool for Requirements Management in Embedded Development

Raiz: The Essential CLI Tool for Requirements Management in Embedded Development

Introduction: Are You Still Using Excel for Requirements? It’s Time to Upgrade! In embedded systems and projects like Zephyr RTOS, Requirements Management is often the key to project success or failure. The traditional method of managing requirements with Excel is not only inefficient but also prone to errors. Today, we introduce a lightweight command-line tool … Read more

Summary of Methods to View Memory in Linux

Summary of Methods to View Memory in Linux

Viewing Memory in Linux Q: I want to monitor the memory usage of a Linux system. What views or command-line tools are available in Linux? When optimizing a Linux system, physical memory is one of the most important aspects. Naturally, Linux provides many methods to monitor the usage of this precious memory resource. The following … Read more

Stop Using curl! httpie Teaches You to Make Smoother HTTP Requests

Stop Using curl! httpie Teaches You to Make Smoother HTTP Requests

In daily development, almost every backend developer, frontend developer, or testing engineer frequently deals with HTTP requests. Whether debugging interfaces, checking responses, or testing server behavior, the most commonly used tool is probably <span>curl</span>. However, many people find the syntax of <span>curl</span> unintuitive, the output unattractive, and reading it cumbersome. Is there a more elegant … Read more

Detailed Usage of the Linux gron Command

Detailed Usage of the Linux gron Command

Introduction <span><span>gron</span></span> is a unique command-line tool that converts <span><span>JSON</span></span> data into discrete, easily <span><span>grep</span></span>-processable assignment statement format. Its name comes from “<span><span>grepable on</span></span>” or “<span><span>grepable JSON</span></span>“, primarily addressing the challenge of handling complex <span><span>JSON</span></span> data in the command line. Core Value <span><span>gron</span></span> is centered around flattening <span><span>JSON</span></span> data into a format similar to <span><span>json.path.to.key … Read more

Eight Commonly Used Linux Performance Monitoring Commands: How Many Have You Used?

Eight Commonly Used Linux Performance Monitoring Commands: How Many Have You Used?

Image source: Internet In Linux systems, there are many performance monitoring tools. Below, I will introduce several commonly used command-line tools. 1. top/htop top: Function: Real-time monitoring of processes, displaying information about CPU, memory, load, swap space, etc. Common Shortcuts: Shortcut Description M Sort by memory usage P Sort by CPU usage k Kill a … Read more

Detailed Explanation of the RedHat nmcli Tool in Linux IP

Detailed Explanation of the RedHat nmcli Tool in Linux IP

RedHat <strong><span>nmcli</span></strong> Tool Overview 1. Overview <span>nmcli</span> is a command-line interface tool provided by NetworkManager for managing network connections in Linux systems. It supports configuration, management, monitoring, and debugging of network devices and connections. For Red Hat-based distributions (such as RHEL, CentOS, etc.), <span>nmcli</span> is the standard network management tool. 2. Installation and Version Check … Read more

Introduction to Rust Programming: Error Handling and User Feedback

Introduction to Rust Programming: Error Handling and User Feedback

14.2 Error Handling and User Feedback When building command-line tools, error handling and user feedback are crucial components. Proper error handling not only ensures the stability of the program but also provides users with clear and friendly feedback, helping them understand how to use the program and how to fix errors. Rust itself provides a … Read more

Introduction to Rust Programming: Project Structure and Modular Design

Introduction to Rust Programming: Project Structure and Modular Design

14.3 Project Structure and Modular Design When building command-line tools, a reasonable project structure and modular design are key to ensuring the project’s scalability, maintainability, and readability. Rust’s module system is very powerful, allowing you to organize your code into multiple files and modules for better management of complex projects. In this section, we will … Read more