Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using ps command

Status
Not open for further replies.

dvknn

IS-IT--Management
Mar 11, 2003
94
US
Hi all,

I want to look for all the processes that are running on the server with user 'x'.

How can I do that?

Thanks,
 
most likely [depending on your OS - 'man ps']:
ps -f -u x vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
 
If the user name is &quot;joe&quot;, you would type...
[tt]
ps -fu joe
[/tt]
The [tt]f[/tt] is to get a full listing, and the [tt]u[/tt] is to only list processes owned by the user name given (in this case [tt]joe[/tt]).

Hope this helps.

 
In our system (GEMSTONE APP SERVER), to accept XML transactions, we use a script startServletExec.

After I execute, I check that the servlet exec is UP...Now, I want to see the PID that has been assigned to this..

ANY IDEA how I could do that?

I tried to see all the 'PIDs' but, I do not see any that resembles what I am looking for..

Thanks
 
man pgrep vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top