سند علمی

Linux Process Control via the File System

چکیده

We report on the implementation of process control and inspection via the process file system on Linux. Our work extends the existing Linux process file system by adding four files that collectively give read-write access to a process’s address space and allow processes to be controlled and their state observed. Process control follows the model of control in recent versions of the Solaris operating system. The existing Linux process control mechanism, the ptrace system call, changes a process’s parent pointer to that of the attached tracing process. Our implementation subsumes ptrace and does not violate this critical data element. Further, this new controlling method allows multiple tracing processes, the ability to detach from a stopped process and leave it stopped, and the ability to trace a subset of system calls, signals, and hardware faults. We detail the four files added to the process file system and describe the control techniques. We examine the delays this enhanced file system adds to critical paths in the kernel, finding that selective system call tracing adds only one clock cycle to the common case of an untraced process. Performance gains are impressive, improving upon ptrace by 374% by allowing fine-grained system call tracing.

اسناد مشابه

  • Implementing Journaling in a Linux Shared Disk File System

    سند علمی۲۰۰۰IEEE Symposium on Mass Storage SystemsKenneth W. Preslan, Andrew P. Barry, Jonathan Brassow, Russell Cattelan

    In computer systems today, speed and responsiveness is often determined by network and storage subsystem performance. Faster, more scalable networking interfaces like Fibre Channel and Gigabit Ethernet provide the scaffolding from which higher performance computer systems impleme

  • A Stackable Wear-Leveling Module for Linux-Based Flash File Systems

    سند علمی۲۰۰۷Hai-Ning Wu, Li-Pin Chang

    Flash memory has now become a crucial component in building Linux-based embedded computers. As the overall flash-memory lifetime is concerned with block endurance, wear leveling is needed to evenly erase all blocks. This paper presents a modularized implementation of a wear-level

  • Implementing Cleaning in a Linux Log-Structured File system

    سند علمی۱۹۹۸Antony Sargent, Trey Cain

    This paper details the design and implementation of a le system cleaner for a log-structured le system for Linux. This user-level cleaner reclaims disk space which is occupied by blocks no longer referenced by any le in the le system. The current functionality of our cleaner is v

  • Novel Architecture for Controlling File System Access

    سند علمی۲۰۰۷

    File system administration directly or indirectly affects all users of computer systems today. In an organization, users interact directly with managed file systems, which provide a means of data storage. Users of on-line services, for example, search engines, social networks, ph

  • RAID 5 Installation on Linux and Creating File System

    مقاله‌ی دسترسی آزاد۲۰۱۴International Journal of Computer ApplicationsPuriGaneshD, PuriDinesh D, WackchaureManoj A.
  • An Adaptive Version-Controlled File System

    سند علمی۲۰۰۱Makoto Matsushita, Tetsuo Yamamoto, Katsuro Inoue

    There are many version management systems to identify, record, and track the changes of software products. However, most of these systems require engineers to learn how to use these tools; if there are some missoperation, version management could be not established. Some systems