The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 03-02-2006
uuser uuser is offline
Registered User
 

Join Date: Feb 2006
Posts: 14
Code:
ps -ef | grep ora_pmon_abc | grep -v grep
ps -ef | grep ora_pmon_abc | grep -v grep > abc
cat abc
An empty abc file was created ? don't know why...It was not the case before ?

Code:
ps -ef | grep ora_pmon_mdmop | grep -v grep
  oracle  6778     1  0  Mar  1  ?         0:19 ora_pmon_mdmop
ps -ef | grep ora_pmon_mdmop | grep -v grep > abc
cat abc
  oracle  6778     1  0  Mar  1  ?         0:19 ora_pmon_mdmop
Reply With Quote