`
gaofen100
  • 浏览: 1191884 次
文章分类
社区版块
存档分类
最新评论

Linux Debugging 5 - Process

 
阅读更多

1. 查看系统进程 ps

2. lsof - 查看进程打开的文件

3. fuser - 寻找打开特定文件的进程

-k选项可以杀掉所有使用这个文件的进程

举例

分享到:
评论

相关推荐

    Debugging with GDB --2007年

    Debugging a Running Process . . . . . . . . . . . . . . . . . . . . . . . . . . . Killing the child process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Debugging programs with ...

    Linux Kernel Development, 3rd Edition.pdf

    Specific topics covered include process management, scheduling, time management and timers, the system call interface, memory addressing, memory management, the page cache, the VFS, kernel ...

    GNU Linux Application Programming

    <br/>Key Features: <br/>Focuses on GNU/ Linux, not only the Linux APIs, but the GNU tools and libraries that make Linux programming possible Covers a variety of useful APIs for process ...

    Essential Linux-DeviceDrivers

    This chapter also explains how the Linux process scheduler affects the response times of user mode drivers. Chapter 20, “More Devices and Drivers” , takes a tour of a potpourri of driver families ...

    Addison Wesley - Embedded Linux - Hardware,Software,and Interfacing.chm

    It includes a comprehensive discussion of platform selection, crosscompilation, kernel compilation, root filesystem creation, booting, remote debugging, real-world interfacing, application control, ...

    linux驱动开发的好书,老外写的

    Chapter 5. Character Drivers Char Driver Basics Device Example: System CMOS Sensing Data Availability Talking to the Parallel Port RTC Subsystem Pseudo Char Drivers Misc Drivers Character ...

    Embedded Linux Primer.pdf

    Debugging Embedded Linux Applications Section 15.1. Target Debugging Section 15.2. Remote (Cross) Debugging Section 15.3. Debugging with Shared Libraries Section 15.4. Debugging Multiple Tasks ...

    Learning.Linux.Binary.Analysis.1782

    You will learn about process tracing, and will explore the different types of Linux and UNIX viruses, and how you can make use of ELF Virus Technology to deal with them. The latter half of the book ...

    Essential Linux Device Drivers

    Chapter 5. Character Drivers Char Driver Basics Device Example: System CMOS Sensing Data Availability Talking to the Parallel Port RTC Subsystem Pseudo Char Drivers Misc Drivers Character ...

    Prentice.Hall.PTR.Embedded.Linux.Primer.A.Practical.Real.World.Approach.Sep.2006.chm

    Understand the details of the Linux kernel initialization process Learn about the special role of bootloaders in embedded Linux systems, with specific emphasis on U-Boot Use embedded Linux file ...

    eric5-5.3.1

    Installing eric5 is a simple process. Just execute the install.py script (type python install.py -h for some help). Please note that the installation has to be performed using the administrators ...

    Professional_Linux_Programming.pdf

    The Linux Development Process 19 Working with Sources 20 Configuring to the Local Environment 21 Building the Sources 22 Components of the GNU Toolchain 23 The GNU Compiler Collection 23 The GNU ...

    Adison.Wesley.Linux.Kernel.Development.3rd.Edition.Jun.2010

    Tips on debugging the Linux kernel In-depth coverage of kernel synchronization and locking Useful insight into submitting kernel patches and working with the Linux kernel community About the Author ...

    Learning Linux Shell Scripting 2nd Edition pdf

    Next, we explore process management in Linux OS, real-world essentials such as debugging and perform Shell arithmetic fluently. You'll then take a step ahead and learn new and advanced topics in ...

    linux kernel development 3rd edition

    Specific topics covered include process management, scheduling, time management and timers, the system call interface, memory addressing, memory management, the page cache, the VFS, kernel ...

    学习linux二进制分析英文版

    You will learn about process tracing, and will explore the different types of Linux and UNIX viruses, and how you can make use of ELF Virus Technology to deal with them., The latter half of the book ...

    Mastering.Embedded.Linux.Programming.178439253

    You will then learn how to use the two most commonly used build systems, Buildroot and Yocto, to speed up and simplify the development process. Building on this solid base, the next section considers...

    The.Art.of.Debugging.with.GDB.DDD.and.Eclipse

    The Art of Debugging illustrates the use of three of the most popular debugging tools on Linux/Unix platforms: GDB, DDD, and Eclipse. In addition to offering specific advice for debugging with each ...

    Learning Linux Binary Analysis(PACKT,2016)

    You will learn about process tracing, and will explore the different types of Linux and UNIX viruses, and how you can make use of ELF Virus Technology to deal with them. The latter half of the book ...

Global site tag (gtag.js) - Google Analytics