Internal working of linux command -


If I want to know the internal functioning of any Linux command, where will I get information about it? Actually I want to know the internal work of the aplay command; What processes are there in the Linux kernel by executing the command?

Linux is in user level, so when we implement the command from the user level, this kernel Will interact with the layer. This conversation is done through system calls.

You can use the user space utility "stress" to get the internal calling system call. Trace system trace will give you the following command:

$ script

$ strace & lt; Command & gt; & Lt; Logic & gt; The script utility creates a file named "typescript" in an existing file that contains the output Strace.

Now from Stairs you will know where all the system calls are running.

You can also use the systemtap and kgdb linux utilities.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -