Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

4 results about "Procfs" patented technology

The proc filesystem (procfs) is a special filesystem in Unix-like operating systems that presents information about processes and other system information in a hierarchical file-like structure, providing a more convenient and standardized method for dynamically accessing process data held in the kernel than traditional tracing methods or direct access to kernel memory. Typically, it is mapped to a mount point named /proc at boot time. The proc file system acts as an interface to internal data structures in the kernel. It can be used to obtain information about the system and to change certain kernel parameters at runtime (sysctl).

Process file system access optimization method and device based on eBPF

The invention discloses a process file system access optimization method and device based on an eBPF. The method comprises the following steps: collecting information of a procfs node through an eBPF program, and writing the information into eBPF annular buffer mapping mapped to address spaces of a plurality of user processes; the user process calculates a hash identifier according to the target procfs node path and searches a corresponding mapping item in a shared annular array based on the hash identifier, and the mapping item comprises an annular buffer address pointing to target procfs node information stored in eBPF annular buffer mapping; and if the searching is successful, reading the information of the target procfs node according to the address of the ring buffer. According to the method and the device, the problem of low efficiency of tools in the prior art, such as ps, when the system process information is acquired can be solved on the premise of ensuring the security.
Owner:UNIONTECH SOFTWARE TECH CO LTD

Process monitoring method, electronic device, storage medium and computer program product

PendingCN122332212AUser PrivilegeFile system
This application provides a process monitoring method, electronic device, storage medium, and computer program product. The method includes: acquiring file access events of a target directory; responding to the file access events, reading a process file system to obtain first runtime information of multiple Linux processes, wherein the process file system is used to provide runtime information of all Linux processes under non-privileged user privileges, and the non-privileged user privileges do not have control permissions in the Linux kernel mode; and generating a process activity log based on the first runtime information of the multiple Linux processes. This application's solution allows for more comprehensive monitoring of process activities in a Linux system.
Owner:CHINA MOBILE (SUZHOU) SOFTWARE TECH CO LTD +1

Portal authentication method and system based on kernel

The invention relates to a kernel-based Portal authentication method, which comprises the following steps of: capturing an internet access request message sent by a user, and determining to release, discard or redirect to an authentication page according to an interface type, a white list, an authenticated terminal table and a message protocol; and verifying the authentication information submitted by the user, and updating the authenticated terminal information through the procfs to allow the release of subsequent messages. According to the method, user mode copying is avoided through kernel mode message processing, and the throughput is remarkably improved; a large number of iptables rules are not needed, and the configuration complexity and the function conflict risk are reduced; the user mode authentication service ensures stability and security, and supports flexible connection with third-party authentication; the development and maintenance difficulty is reduced through the modular design, and the system stability is enhanced; the method is suitable for network equipment based on a Linux kernel, and high performance and universality are both considered.
Owner:JIANGSU FUTURE NETWORKS INNOVATION

Interrupt monitoring method and device for operating system kernel in multi-kernel processing system

The invention provides an interrupt monitoring method and device for an operating system kernel in a multi-kernel processing system, and the method comprises the steps: collecting interrupt event data of a corresponding CPU core through a monitoring unit; executing interrupt storm detection and interrupt processing delay monitoring based on the collected interrupt event data; when an interrupt storm event is detected or an interrupt processing delay abnormity is monitored, generating diagnosis information which comprises at least one of an interrupt number, a device identifier, a call stack and a process context; and outputting a monitoring result and diagnosis information through a configuration interface and a query interface provided by the ProcFs file system. According to the method, through a distributed low-overhead architecture and an intelligent triggering mechanism, real-time, accurate, operable and maintainable production-level monitoring of interruption storm and processing time delay of the multi-core system is realized.
Owner:CHINA FAW CO LTD