Total time for which the process has utilized CPU. All the oracle process are not started by any terminal. As in case of grep pmon command was fired in terminal pts/2 thus it is showing that this process is started by terminal pts/2. This is the terminal from which the process was started. Ps –efo user, pid, ppid, etime, args – etime will tell for last how many days process has been running. If you want to know full year and time of a lone running process, fire the command with this option This is the start time of the process, for a long running process like in case of Oracle it will show only the date in process was started. All the Oracle processes don’t have a parent process and are thus adopted by init process, init process having pid as 1 so all the oracle processes will have ppid as 1. This id is the pid of the process because of which these process has been started. This act as the identification no of the process running in the memory. Root 5748 134 0 17:09:49 ? 0:01 in.The name of the user who have started the process. Root 4942 1 0 May 17 console 0:00 /usr/lib/saf/ttymon. Root 158 1 0 May 05 ? 0:00 /usr/lib/autofs/autom. To see every process on the system using standard syntax: To see every process on the system using BSD syntax: To get info about threads: To see every process running as root (real & effective ID) in user format: ps -U root -u root u To see every process with a user-defined format: ps axo stat,euid,ruid,tty,tpgid,sess,pgrp,ppid,pid,pcpu,comm Pr. The first process executed when the system boots is sched (the swapper) followed by The following example shows output from ps -ef. The following example shows output from the ps command when no options are used. To list all the processes being executed on a system, use the ps command.ĭisplays full information about all the processes The terminal from which the process (or its parent) was started. Each process will have the unique number which is called as PID. The starting time of the process (in hours, minutes, and seconds). This command is used to find the PID (Process ID, Unique number of the process) of the process. The address of an event or lock for which the process is sleeping. The process's nice number, which contributes to its scheduling priority. This field is included only with the -c option. The scheduling class to which the process belongs: real-time, system, or timesharing. This field is not displayed when the -c option is used. The processor utilization for scheduling. Table 63-1 Summary of Fields in ps Reports See ps(1) for a description of all available options. The fields displayed depend on which option you choose. Table 63-1 describes some of the fields reportedīy the ps command. Tasks as determining how to set process priorities, and how to kill processes that have hung or becomeĭepending on which options you use, ps reports the following information: This data is useful for such administrative The ps command enables you to check the status of active processes on a system,Īs well as display technical information about the processes. This section describes commands used to manage process information.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |