LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 10-30-2006, 10:31 PM   #1
binary_0011
Member
 
Registered: Apr 2006
Location: Singapore
Distribution: RHEL4,FC4,FC5
Posts: 89

Rep: Reputation: 15
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.
 
Old 10-31-2006, 01:44 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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.
 
Old 10-31-2006, 09:10 PM   #3
binary_0011
Member
 
Registered: Apr 2006
Location: Singapore
Distribution: RHEL4,FC4,FC5
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlliagre
Indeed.

Yes, have a look to their respective manual pages.
which manual page?
 
Old 11-01-2006, 01:41 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
"ps" and "prstat".
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why "bash-2.05b$" in Terminal instead of "username@localhost username" jayelitumbiolo Linux - General 9 10-04-2009 03:16 AM
threadwise measuring of CPU/MEM usage (prstat) raees Linux - Software 1 06-28-2005 08:32 PM
useradd: invalid username username$ engyeow Fedora 5 12-05-2004 04:35 AM
apache username tethysgods Linux - Software 6 07-08-2004 09:45 AM
Same Username, Different Domains Firelogic Linux - Newbie 3 12-06-2003 03:44 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 03:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration