The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
For ls command,-r option is not working on OSF1 asmita UNIX for Advanced & Expert Users 1 04-16-2007 11:41 PM
-s option to find object exists not working. markjason Shell Programming and Scripting 2 10-18-2006 03:06 PM
-d option not working... rgouette UNIX for Dummies Questions & Answers 2 09-13-2006 05:56 PM
option for ls command eloquent99 UNIX for Dummies Questions & Answers 1 02-07-2003 06:27 PM
-c option in ping command Deepa Shell Programming and Scripting 3 05-31-2002 07:05 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-24-2006
ElCaito ElCaito is offline
Registered User
  
 

Join Date: Feb 2006
Location: Melbourne
Posts: 11
Why does the 'ps' command with -u option not working?

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
  #2 (permalink)  
Old 02-24-2006
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
How are you attempting to use the command?

ps -fu username

Just tried on Solaris 9 and 10... all good...

Cheers
ZB
  #3 (permalink)  
Old 02-26-2006
ElCaito ElCaito is offline
Registered User
  
 

Join Date: Feb 2006
Location: Melbourne
Posts: 11
I do it like this ...

$ps -ef -umipsw

in C shell... and I get everybody!

Yet this works fine in Unix.
  #4 (permalink)  
Old 02-26-2006
ElCaito ElCaito is offline
Registered User
  
 

Join Date: Feb 2006
Location: Melbourne
Posts: 11
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
  #5 (permalink)  
Old 02-26-2006
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
The -e will list information about every process currently running - hence you see the full list.

Cheers
ZB
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0