ps -fu


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers ps -fu
# 1  
Old 10-26-2005
ps -fu

I use ps -fu in a script. It was working for a different box. Here, the username is very long. This is causing the command to error out with a message "unknown username". How do I see all the processes owned by this user?

Thanks,
Keerti
# 2  
Old 10-26-2005
On most version of unix, user names longer than 8 characters are illegal. What os are you using? How long is this user name?
# 3  
Old 10-26-2005
On most version of unix, user names longer than 8 characters are illegal. What os are you using? How long is this user name?
- Sun 5.8
13 chars long
# 4  
Old 10-26-2005
The only way I can find is to switch to numerical uid. If the uid is, say, 1234, do:
ps -fu 1234
# 5  
Old 10-27-2005
Thanks a bunch for the quick response.
 
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question