Summary of common Linux commands

1, Document management 1. ls command – displays the content and attribute information under the specified working directory Options and parameters: -a: All files are listed together with hidden files (files starting with). Commonly used)-d: List only the directory itself, not the file data in the directory (common)-l: Long data s ...

Added by campsoup1988 on Thu, 10 Mar 2022 14:20:20 +0200

Linux kernel source code - CFS scheduling (4.20.17)

 cfs_rq Each cpu has a corresponding running queue rq, in which the scheduling queues with different scheduling strategies are maintained. struct rq { ... struct cfs_rq cfs; struct rt_rq rt; struct dl_rq dl; ... }; The scheduling queue of cfs is maintained through the red black tree_ In the ...

Added by vestax1984 on Tue, 08 Mar 2022 13:12:12 +0200

zynq operating system: Linux driver development AXIDMA

preface    due to the speed limit of bram form, under the same urgent time conditions, we still changed back to the way of axidma to reduce the dimension and attack. For the speed of a few megabytes, there is a feeling of killing chickens with an ox knife. There is no way. The original knife is just a little worse. The ox knife is ea ...

Added by keefy on Tue, 08 Mar 2022 08:57:45 +0200

Shell tutorial 2: common commands and process control

S h e l l Shell Shell Scripting Language Tutorial 2 2 2 Copyright: Jingmin Wei, Pattern ...

Added by ronald29x on Tue, 08 Mar 2022 06:23:07 +0200

Use Python to sort documents by specific keywords contained in file names

Broken thoughts As the first group of people who came into contact with the Internet in China, there are countless pictures of ancient times on my hard disk, and many of them are downloaded from forums that are not very popular. As we all know, this uses phpwind v7 5. For the widely used Chinese Forum, its user id actually corresponds to a str ...

Added by mynameisbob on Sat, 05 Mar 2022 05:15:02 +0200

Experiment 6: memory paging

Experiment 5: memory paging Corresponding book P199 page 5.2 1. Summary of relevant basic knowledge Page directory page directory item page table page table item physical page virtual address physical address Concept Brief Page directory entries and page table entries The lower 3 bytes are attributes. The upper 20 bits are physical address ...

Added by xenophobia on Fri, 04 Mar 2022 09:44:36 +0200

How to use Java to track JVM file system access

Use a custom security manager as a low overhead alternative to native tracers. Native tracing tools are always the first choice for tracking file system access to Java applications. On Windows, use Process Monitor to track I / O. On Linux, use strace. Other platforms also provide similar functions. By tracing directly in Java, you can address ...

Added by Tokunbo on Fri, 04 Mar 2022 05:07:34 +0200

Banker algorithm: java implementation (based on textbook)

Banker algorithm: java implementation (based on textbook) attribute Needs to be passed in the constructor Integer Resources, used for the table name and the number of available Resources. There are several Resources in totalInteger Process, used for the number of table name processes. There are several processes in totalInteger array Availab ...

Added by jasraj on Thu, 03 Mar 2022 17:30:48 +0200

Deep understanding of Linux signals

Signal generation Concept of signal Signaling is a way of asynchronous notification of events between processes, which belongs to soft interrupt Generation method: Generate a signal to the process through the terminal keyboard. If the process can terminate the program by pressing "ctrl + c" when running, it is actually sending ...

Added by noiseusse on Thu, 03 Mar 2022 16:32:48 +0200

[N32G457] simple and convenient adjustable voltage source based on RT thread and N32G457

This article was originally released by RT thread user @ chengjili and is used to participate in the n32g457 RT thread design competition jointly launched by RT thread and national technology. The original text: https://club.rt-thread.org/as...This design is used to participate in the innovation "core" engine - national technology n32 ...

Added by crees on Thu, 03 Mar 2022 11:05:52 +0200