SUMMARY: top and ps give different processowners

From: Oscar Goosens (goos@xs4all.nl)
Date: Tue Feb 01 2000 - 10:13:42 CST


Managers,

Thanks for your replies; most people suggested that this was caused by one
command showing the effective UID and the other the real UID of the process
owner

This is in fact the case: ps -ef shows the effective UID, top the real UID.
Checked with 'ps -fe -o pid,uid,ruid,comm' , suggested by Igor Schein

Thanks to
Casper Dik
Paul Teasdel
Frank Smith
Arthur Darren Durham
Igor Schein
Adam Barclay
Ray Trzaska
Rami Dass

> All,

> This morning I found that certain processes did not have the same owners
in ps
> and top:

> top:
> PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
> 21904 tuxadm 11 17 1 790M 776M run 7:16 3.12% oracle

> ps:

> ps -ef|grep 21904
> oracle 21904 1 2 08:01:59 ? 8:52 ora_p044_mt01a

>Does anyone have an explanation for this
>UID's of tuxadm and oracle are not identical

> regards
> Oscar Goosens
Unix Administrator
KLM Royal Dutch Airlines



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:02 CDT