nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

UNIX command to find out whether particular process of a particular user is running

This is a discussion on UNIX command to find out whether particular process of a particular user is running within the Shell scripting forums, part of the Development/Scripting category; UNIX command to find out whether a particular process of a particular user is running or not...


Go Back   nixCraft Linux Forum > Development/Scripting > Shell scripting

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 11:28 AM
Junior Member
User
 
Join Date: Jan 2008
Location: Hyderabad
My distro: Fedora 6
Posts: 5
Rep Power: 0
Santosh Sharma is on a distinguished road
Default UNIX command to find out whether particular process of a particular user is running

UNIX command to find out whether a particular process of a particular user is running or not
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-17-2008, 03:26 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Try
Code:
ps -U username
ps -U apache
ps -U monk
ps -U monk | grep process-name
__________________
May the force with you!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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

Similar Threads

Thread Thread Starter Forum Replies Last Post
unix find out ram usage command charvi Solaris/OpenSolaris 4 04-10-2008 02:22 AM
Command to find which process is utilizing max number of resources in Red hat Linux Santosh Sharma Linux software 0 01-19-2008 03:12 PM
can not find user name in /etc/passwd file subrata1in Linux software 2 03-26-2007 10:44 AM
how to enumerate currently running process hiimsa Coding in General 2 11-11-2006 03:02 PM
running command a root in shell scripts chiku Shell scripting 1 07-17-2006 06:39 PM


All times are GMT +5.5. The time now is 06:31 PM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36