Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Mac Basics and Help

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 22, 2013, 05:44 PM   #1
ruqui
macrumors newbie
 
Join Date: Jan 2013
Apache process name

Hi!

I've just bought a Macbook Pro and like it very much! Unfortunately, I'm new to Mac OSX; as I have a unix background (mainly Solaris and Linux) I thought it will be easy for me to get used to Mac OSX; the truth is I found some problems and that's why I'm posting this

I've started apache using 'sudo apachectl start', I'm sure it's working because http://127.0.0.1 returns me the usual 'It Works!' page. Now I wanted to list the running process in the terminal, but couldn't find it using 'ps', I've tried 'ps auxw' but the process is not listed there

Anybody know how can I see the process using 'ps' ?

Thanks!
ruqui is offline   0 Reply With Quote
Old Jan 22, 2013, 05:56 PM   #2
ConCat
Banned
 
Join Date: Jul 2012
Location: In an ethereal plane of existence.
I believe the process name is "httpd".

The command I use is:
Code:
ps -Aclw
ConCat is offline   0 Reply With Quote
Old Jan 22, 2013, 05:59 PM   #3
chown33
macrumors 603
 
Join Date: Aug 2009
This works for me:
Code:
ps -axwww
I don't know what you expected ps auxw to do, so I suggest posting any error message, and/or reading man ps. The ps on OS X may differ from what you've used elsewhere.

I also suggest trying Activity Monitor.app, found in /Applications/Utilities. You should use the popup to show All Processes, since the default is only for your user-id's processes.
chown33 is offline   0 Reply With Quote
Old Jan 22, 2013, 06:15 PM   #4
ruqui
Thread Starter
macrumors newbie
 
Join Date: Jan 2013
Quote:
Originally Posted by ConCat View Post
I believe the process name is "httpd".

The command I use is:
Code:
ps -Aclw
That command work perfectly! Thanks!
ruqui is offline   0 Reply With Quote
Old Jan 22, 2013, 06:23 PM   #5
ConCat
Banned
 
Join Date: Jul 2012
Location: In an ethereal plane of existence.
Quote:
Originally Posted by ruqui View Post
That command work perfectly! Thanks!
You're welcome.
ConCat is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Mac Basics and Help

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump


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

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC