![]() ![]() Total time for which the process has utilized CPU. However, if you use PowerShell instead of cmd, it has a Select-String cmdlet which will allow you to get similar results. This applies to many commands, such as sed, awk, sudo, cat. All the oracle process are not started by any terminal. 3 Answers Sorted by: 5 CMD does not have grep like unix does. 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. See all your running process If you want to see all the processes run by you, you can use the ps command with options x like this: ps -x The x option will display all the processes even if they are not associated with current tty (terminal type) or if they don’t have a controlling terminal (like daemons ). 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. A single MatchInfo object will still be emitted for each line, but it will contain all of the matches found. 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. Type in following command: ps -ef grep sidekiq This gives processid and other details of running sidekiq process in background. Parameters of Select-String AllMatches Normally, Select-String will only look for the first match in each line, using this parameter the cmdlet will search for more than one match. 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. The name of the user who have started the process. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |