LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   prstat and ps -ef showing different username (https://www.linuxquestions.org/questions/solaris-opensolaris-20/prstat-and-ps-ef-showing-different-username-497095/)

binary_0011 10-30-2006 10:31 PM

prstat and ps -ef showing different username
 
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
4890 miscn 2917M 2899M cpu4 14 2 0:02.47 12% oracle/1
10496 ah_low 2949M 2925M cpu3 20 0 0:24.39 12% oracle/11
22932 oracle 2918M 2900M cpu1 59 -20 0:37.19 3.0% oracle/1



then when I do a ps -ef | grep 10496 , it shows :

$ ps -ef | grep 10496
oracle 10496 1 12 Oct 30 ? 28:29 ora_snp3_MMI2K


As you can see, prstat show PID 10496 username is ah_low, but when i do a ps -ef , it shows 10496 is run by oracle.

anyone got a link or document why this happpen?

thanks.

jlliagre 10-31-2006 01:44 PM

Quote:

Originally Posted by binary_0011
As you can see, prstat show PID 10496 username is ah_low, but when i do a ps -ef , it shows 10496 is run by oracle.

Indeed.
Quote:

anyone got a link or document why this happpen?
Yes, have a look to their respective manual pages.

binary_0011 10-31-2006 09:10 PM

Quote:

Originally Posted by jlliagre
Indeed.

Yes, have a look to their respective manual pages.

which manual page?

jlliagre 11-01-2006 01:41 AM

"ps" and "prstat".


All times are GMT -5. The time now is 11:54 PM.