LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-02-2004, 02:28 AM   #1
swati220781
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
Process command name?!


Hi!!
Can you please explain me what exactly is command name and how it relates to a process??
 
Old 07-02-2004, 02:31 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
In which context have you found this term, and
what exactly is your question?

Most likely a command name is the name of a command,
and it relates to a process in the way that it is its name?



Cheers,
Tink
 
Old 07-02-2004, 03:48 AM   #3
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,506

Rep: Reputation: 100Reputation: 100
Hi

I think process command name refers to the output you get when you do

ps -A -f

For example, to see the process command name for apache, do something like

ps -A -f | grep httpd

This will show the "command" that started the process "httpd".
 
Old 07-02-2004, 04:15 AM   #4
swati220781
LQ Newbie
 
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
I am trying to monitor a process by Nagios( a network monitoring tool) using check_procs plugin. I know of the process name and its id. But by using that name is not giving me the desirable result.

Can command names be common for different processes??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
echo command to a running process happy78 Programming 18 09-06-2005 02:03 PM
How can I see what process are running and how to I kill them? (command line). brynjarh Linux - Newbie 4 07-07-2004 04:01 PM
one-line kill command using process name julianop Linux - Newbie 6 12-23-2003 12:33 AM
Kill a process by command ITJedi Programming 3 03-07-2003 11:49 AM
ps (process status) command, PS_FORMAT how to set? alexander Linux - General 2 12-18-2002 04:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration