Contents
Where do I find Aix procfiles in PID 184422?
In the following example, we find that the process with PID 184422 has only one opened file with file descriptor 4. The AIX procfiles command lists all files opened by a process.
How to get information about a process in Aix?
To get information about a process, call the ps command. Pass the -o option to choose what information to output and control the format. AIX has a /proc directory, but its content isn’t the same as Linux (although there are similarities).
Where do I find the PID of a process?
Under /proc there are virtual directories named with the process IDs (PIDs) of all processes currently running on the system. Inside of each of these directories are more subdirectories. These subdirectories organize all of the available information about running processes.
What can the / proc virtual file system be used for?
The /proc virtual file system and the AIX commands procfiles and pstat can be used to list information about files that are currently opened by a process. This information can be used to investigate processes that are having certain types of problems with files.
Why does ps-ef not display the running process name?
If ps -ef | grep processname is not displaying anything, there is no such process currently running or the expected process has finished running by the time, ps did a scan in the process table. Thanks for your reply. does not displaying the running process name in the console.
What are the two types of processes in Aix?
On AIX there are two types of processes – regular processes and kernel processes. Kernel processes, also known as kprocs, are special processes that are created and used by the kernel. Regular processes can be displayed with the ps -ef command, and kernel processes can be displayed with the ps -kf command. The PPID of kernel processes is always 0.
What is the parent process ID in Aix?
The parent process is indicated by the PPID (Parent Process ID) in the output from the ps -ef command. On AIX there are two types of processes – regular processes and kernel processes. Kernel processes, also known as kprocs, are special processes that are created and used by the kernel.