Process for user


 
Thread Tools Search this Thread
Operating Systems Solaris Process for user
# 1  
Old 02-19-2014
Process for user

Hi folks,

How can I list all the processes that running by a specific user, I don't know if
Code:
ps -u USERID

can help me in that, is there any other way to get a full information about the current services and process information which related to the users.

Thanks
# 2  
Old 02-19-2014
Have you tried $ top -u username ?
# 3  
Old 02-19-2014
Code:
 
 ps -f -u <userid>

is probably better (-f makes it more readable).

or

Code:
 
 ps -eaf|grep <userid>

provided <userid> is unique and not the same as an application name or whatever.

And obviously, you can add |more to the end of the line if you're expecting more than a screen-full of output.

Last edited by hicksd8; 02-20-2014 at 06:32 AM..
# 4  
Old 02-19-2014
If you look for a dynamic "top" like display with aggregate statistics, you can run:
Code:
prstat -aU username


Last edited by jlliagre; 02-19-2014 at 06:38 PM..
# 5  
Old 02-19-2014
Or use pgrep
Code:
pgrep -U username -l

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Kill all process of Oracle user

Hi folks, I want to kill all process of oracle user and won't kill shell, should i try this? Please confirm. 1st way pgrep -u oracle | sudo xargs kill -9 2nd way killall -u oracle (2 Replies)
Discussion started by: learnbash
2 Replies

2. Shell Programming and Scripting

List of process of user

Hi, I need an output of process running on server, i am executing ps -ef | grep test output is asak 22362 1 0 Nov07 ? 00:00:03 /usr/software/bin/perl-5.8.8 /u/assk/bin/test -v none JOBID=2012117 asak 23748 22362 0 Nov07 ? 00:00:00 /usr/software/bin/perl-5.8.8... (3 Replies)
Discussion started by: asak
3 Replies

3. Shell Programming and Scripting

Move Process ID from one user to another

HI, I'm search to transfer a process ID form the User A to the User B with out super user privilege. Would it be possible. Please leave your (1 Reply)
Discussion started by: Prabhu.Are
1 Replies

4. Programming

spawn a process with a different user

Hello Everyone: I have the following code int main() { system("/usr/OtherUser/bin/runX"); return 0; } runX must be executed with privileges from another user, how could I do that? I know the password for such user. Thanks in advance (8 Replies)
Discussion started by: edgarvm
8 Replies

5. Shell Programming and Scripting

script to monitor the process system when a process from user takes longer than 15 min run.

get email notification from from system when a process from XXXX user takes longer than 15 min run.Let me know the time estimation for the same. hi ,any one please tell me , how to write a script to get email notification from system when a process from as mentioned above a xxxx user takes... (1 Reply)
Discussion started by: kirankrishna3
1 Replies

6. Solaris

fbconsole process owned by user

I did a ps-ef on a host and discovered many /usr/openwin/bin/fbconsole processes running. They were owned by several users and its parent PID in etc/init. I bellieve that this process should be owned by root and not the user, and also the parent PID should be the dtlogin. Any ideas of how this... (0 Replies)
Discussion started by: amp4cats
0 Replies

7. Shell Programming and Scripting

Kill Process not owned by other user

Hi Here is my problem: 1)I am login to unix server through my login id and do SU - xxx 2) Start the script which is running in background I want that other user which login to there id and do SU - yyy(Different user) kill that script. Could you please help me in this. (9 Replies)
Discussion started by: mr_harish80
9 Replies

8. UNIX for Dummies Questions & Answers

how to kill all the netscape process of a particular user?

how to kill all the "netsacpe" processes of a particular user? (1 Reply)
Discussion started by: karthi_g
1 Replies

9. Shell Programming and Scripting

How to process the user id list in /etc/group?

To all, I need to find a group in /etc/group and if found, I need to list out all the login ids for that group - one login id per line. To find the list of user login ids for group X, I probably will use cat /etc/group|grep ^X:|cut -d: -f4 This will return back a list of comma delimited... (4 Replies)
Discussion started by: april
4 Replies

10. UNIX for Dummies Questions & Answers

What user is a process running as?

How do you determine what user a process is running as? I want to know what user proftpd is running as, and what user a script that I have is running as. Thanks. (1 Reply)
Discussion started by: america2
1 Replies
Login or Register to Ask a Question