A Comprehensive Guide to Linux Hardware Information and Troubleshooting Commands

A Comprehensive Guide to Linux Hardware Information and Troubleshooting Commands

Today, I will share some hardware-related commands that can be used for daily operations and troubleshooting. Quick Reference Table for Hardware Commands Function Command CPU Information lscpu / cat /proc/cpuinfo Memory free -h / dmidecode -t memory Disk lsblk / fdisk -l / smartctl PCI Devices lspci USB Devices lsusb Motherboard Information dmidecode Temperature Monitoring … Read more

UVC Development on Sigmastar PureLinux System: USB Serial via Virtual COM Port

UVC Development on Sigmastar PureLinux System: USB Serial via Virtual COM Port

CDC (Communication Device Class) Serial Class: ACM, OBEX, GSER Currently, only the ACM function is supported, occupying three EP, of which 2 are BULK (in/out), and one is INT (in) The BULK EP of the ACM function supports trimming packet size: driver/usb/gadget/function/f_acm.cacm_bindusb_ep_autoconfig acm_fs_in_desc.wMaxPacketSize = 64; acm_fs_out_desc.wMaxPacketSize = 64; After modification, the ACM function can select … Read more

UVC Development with Sigmastar PureLinux System: ADB Tool

UVC Development with Sigmastar PureLinux System: ADB Tool

adb functionuses bulk transfer mode, requiring twoEP(in/out), and thepacket size required inusb2.0 mode is 512 bytes.1. Kernel ConfigurationSelect “function filesystem“, and after compilation, it will generate usb_f_fs.ko and g_ffs.koIf configured via configfs, please use the configuration below How to Test As mentioned earlier, ADB implements the logic for USB Device configuration and data transfer at … 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

Navigating to the Linux Software Store in PyQt6 Development

Navigating to the Linux Software Store in PyQt6 Development

In the development of PyQt6 software, there may be a requirement for an “About” interface to have a button and functionality for “Update in XX Store”.For example, as shown below (using WeChat as an example):Assuming we want to update WeChat in the Deepin StoreAssuming we want to update WeChat in the Spark Application StoreFor users, … Read more

PumaBot Malware Targets Linux IoT Devices

PumaBot Malware Targets Linux IoT Devices

Keywords Malware A botnet targeting IoT devices running the Linux operating system attacks by brute-forcing device credentials and downloading cryptocurrency mining software. Researchers at Darktrace have named this botnet “PumaBot” because its malware checks for the string “Pumatronix,” a Brazilian manufacturer of surveillance and traffic cameras, suggesting it may target such IoT devices or attempt … Read more

Minimalist Linux Deployment of Enterprise-Level MySQL Server | High Performance Support for Production Environments!

Minimalist Linux Deployment of Enterprise-Level MySQL Server | High Performance Support for Production Environments!

^_^Hello everyone, I am from Code Sea Intelligence!^_^ In enterprise applications, Linux is the preferred operating system for servers, primarily used for databases, middleware servers, and application servers. It is also leading in the deployment of large models that have recently gained popularity! 01 — Environment Preparation Download the Linux version of the MySQL server. … Read more

Recording and Playback of Shell Input and Output Using Asciinema on Linux

Recording and Playback of Shell Input and Output Using Asciinema on Linux

Many operations in Linux can be completely performed using the shell, and to record these operations, there is no need to capture the entire or part of the screen; you can directly record the shell’s input and output. Previously, I introduced using script and scriptreplay to record and replay shell logs, but script has a … Read more

The Linux Toolbox for Operations: 20 Commands to the Rescue

The Linux Toolbox for Operations: 20 Commands to the Rescue

In Linux operations, mastering key commands can significantly enhance troubleshooting and system management efficiency. Whether it’s server lag, network anomalies, or log analysis and performance optimization, the right commands can help you quickly identify and resolve issues. This article compiles 20 of the most practical Linux commands, covering system monitoring, network diagnostics, log analysis, and … Read more

Deployment of vLLM Enterprise Large Model Inference Framework (Linux)

Deployment of vLLM Enterprise Large Model Inference Framework (Linux)

Introduction Compared to traditional LLM inference frameworks (such as HuggingFace Transformers, TensorRT-LLM, etc.), vLLM demonstrates significant advantages in performance, memory management, and concurrency capabilities, specifically reflected in the following five core dimensions:1. Revolutionary Improvement in Memory Utilization By utilizing Paged Attention technology (inspired by the memory paging mechanism of operating systems), the KV Cache (Key-Value … Read more