nixCraft Linux Forum

nixCraft

Linux / UNIX 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

Linux answers from nixCraft.


Shell scripting You can discuss the shell scripting, request shell scripts and scripting techniques

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 16-01-2008, 11:28 AM
Junior Member
User
 
Join Date: Jan 2008
Location: Hyderabad
OS: Fedora 6
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
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
  #2 (permalink)  
Old 17-01-2008, 03:26 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
OS: Debian GNU/Linux
Posts: 506
Thanks: 0
Thanked 8 Times in 6 Posts
Rep Power: 7
monk has a spectacular aura about monk has a spectacular aura about
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


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 Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
unix find out ram usage command charvi Solaris/OpenSolaris 4 10-04-2008 02:22 AM
Command to find which process is utilizing max number of resources in Red hat Linux Santosh Sharma Linux software 0 19-01-2008 03:12 PM
can not find user name in /etc/passwd file subrata1in Linux software 2 26-03-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 17-07-2006 06:39 PM


All times are GMT +5.5. The time now is 04:46 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

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 37 38