How can I use the 'ps' command to view current sessions but only for a given process/user, with the -u parm?
In older versions of Unix, this used to work, but not in Sun Solaris.
Thanks
How can I use the 'ps' command to view current sessions but only for a given process/user, with the -u parm?
In older versions of Unix, this used to work, but not in Sun Solaris.
Thanks
How are you attempting to use the command?
ps -fu username
Just tried on Solaris 9 and 10... all good...
Cheers
ZB
I do it like this ...
$ps -ef -umipsw
in C shell... and I get everybody!
Yet this works fine in Unix.
Yes it works using your method. I got it wrong with the -e option, yet this did not pose a problem in Unix. Anyway, it's ok now. Thanks
The -e will list information about every process currently running - hence you see the full list.
Cheers
ZB