0
votes
2answers
29 views

Why does is pid not correct and changing continuously compared against Activity Monitor?

quick question: Assume, I'd like to kill iTunes. In bash/terminal I run: ps aux | grep itunes When I execute this command several times, the pid changes (actually it increments). When having a look ...
7
votes
2answers
258 views

How can I determine if an application is not responding?

I have an application on OSX that repeatedly goes into a Not Responding state and has to be force killed. I was hoping to automate it, but when inspecting the process with ps I don't see anything ...
0
votes
0answers
31 views

list all the information of a process under commandline in osx or linux

Is there any command to list all the information associated with a process, include all parameters in PS command, open files and ports and so on? Thanks!
0
votes
1answer
183 views

How to monitor process behavior in Mac OS X?

In Windows, we can use Process Explorer and Process Monitor. Can we do similar task in Mac OS X? For example, if I want to monitor a process which will execute another process with specified ...
1
vote
0answers
138 views

How to kill AMCMenu process which uses my whole ram for mac os 10.8.5 macbook pro?

whenever i kill AMCMenu through activity monitor it starts again and uses my ram. i have restarted my computer many times .please help . here the link to AMCMenu process sample : ...
2
votes
0answers
202 views

Safari and Firefox, High CPU usage during downloads

I have found both Safari and Firefox use a very high amount of CPU during downloads (>200% CPU usage), can anyone explain as to why this happens? It occurred both before and after a complete system ...
0
votes
3answers
364 views

How to kill all the processes in OS X with a script

I'm looking for a script that will kill all the processes on my Mac. To be more specific, the script should kill all the processes and shut down. Well the point is that I want to kill all the ...
0
votes
1answer
304 views

How to start a process with a predefined (in case it is unused) PID?

Is it possible to start/run a process with a predefined PID? In Linux or in OS X (or BSD)?
1
vote
1answer
1k views

Kill what ever is running on port 8080

I am trying to run a GAE app on localhost 8080, but it was apparently occupied, even after shutting down and restarting my computer. I ran sudo lsof -i :8080 lo and behold there is something sill ...
1
vote
1answer
581 views

Running – or only starting – a daemon using launchd

I'm trying to set up YouTrack on OS X Lion Server and have it launch at boot using launchd. I have downloaded the YouTrack jar file which I can successfully run from the command line using java ...
0
votes
2answers
62 views

Check when a process was launched on OS X

Activity Monitor lists how much CPU time a process has used over its lifetime, but is there a way to find out the date and time a process was started? I'm curious because my Firefox hasn't updated ...
1
vote
0answers
41 views

Is this a bug in top?

This command line: top -l 3 -n 10 -o "vprvt" For some reason there are two processes that consistently creep up in the second sample's output regardless of their actual VPRVT size, and they do not ...
1
vote
1answer
49 views

Webserver process resistant to Ctrl+Z

I'm trying out different Python web-microframeworks, such as cherrypy and flask (under Mac OSX). When I end the process with CTRL+Z usually the processes lives on. Why does the shutdown signal not ...
3
votes
1answer
1k views

Mac os x 10.7.4 process limit

I have a 709 max user process. I want to double it, or more. First: ulimit > ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size ...
1
vote
2answers
100 views

What process is filling up my drive? [duplicate]

Possible Duplicate: What’s causing all the disk activity on OS X? Does anyone know of a program or command for OS X that will show disk writes and what service or program is attached to ...
1
vote
2answers
310 views

Command-line interrupts in OSX vs Linux

Occasionally when I'm developing on my Mac, I'll get a process that hangs. When that happens, I'll try the following: Ctl-C in the active terminal window If nothing happens, I'll open a new terminal ...
0
votes
3answers
661 views

How to determine if an app was launched via open as root on Mac OS X?

In OS X, how can I determine if an app launched via the open command was launched with elevated permissions? I tried as an example sudo open http://www.google.com/, but Activity Monitor doesn't seem ...
1
vote
1answer
932 views

How to kill a process by port on MacOS, a la fuser -k 9000/tcp

On linux I can kill a process knowing only the port it is listening on using fuser -k 9000/tcp, how do I so the same on MacOS?
14
votes
1answer
540 views

How to recover a deleted file that is still open?

How can one restore a file that has been deleted but is still open by a process? The blog post "Restoring files from /proc" explains how to do this on Linux: Use lsof (e.g., lsof -c name) to find ...
0
votes
0answers
72 views

Issue with awtessd - how to permanently close a process on osx Lion?

I have a problem with this process called awtessd, when i use a program (autodesk alias) several instance of this process are opened, slowing down everything. If i close the process everything turn ...
4
votes
4answers
9k views

bash process uses 90% CPU, comes back on computer restart

I’ve replaced the old HDD of my late 2008 unibody MacBook (8 GB of RAM, running OS X 10.7.4) with an OCZ Vertex 3 SSD. After doing this, I've installed Lion and restored my data from a Time Machine ...
2
votes
2answers
298 views

Process Sent and Received Messages

I'm using Mac OS X, I noticed 2 columns in Activity Monitor: Sent Msgs & Rcvd Msgs I was wondering what is the meaning of them and what kind of messages are they, Are they network packets or ...
0
votes
0answers
11 views

Process Sent and Received Messages [duplicate]

Possible Duplicate: Process Sent and Received Messages I'm using Mac OS X, I noticed 2 columns in Activity Monitor: Sent Msgs & Rcvd Msgs I was wondering what is the meaning of them ...
3
votes
3answers
6k views

How to find and stop a process on a Mac

How can I find the process id and stop the process that is running on port 8080 on a Mac? On Ubuntu this works: ps -aux and I can find the process and run: kill -9 pid ps -aux didn't seem to ...
0
votes
1answer
212 views

Is there a way to determine what process started another one?

If I recall right you can determine some of the parameters a process was started with (in Windows it is stored in the Process Environment Block). Can I also find out what process started another one? ...
1
vote
0answers
148 views

Why would Activity Monitor and iotop give completely different output re: Disk Activity?

I am trying to "rebuild" via DiskWarrior an external RAID0 startup drive… and it is "semi-stuck" on step 6.. but I have read that I should let it finish.. The strange thing is.. is that Activity ...
4
votes
1answer
739 views

aTop like tool for OSX

I'm trying to debug some issues with my Mac. This machine is used as continuous integration server. It stops responding from time to time. I think it could be some software issue, since the machine is ...
2
votes
1answer
70 views

How to only show new processes in Activity Monitor?

Is there any way to make Activity Monitor only show new processes? Can you do this in Terminal instead?
4
votes
2answers
985 views

How can I see the name of a process owner from the OSX prompt?

If I run ps -ef in the OSX terminal, the list of processes includes the UID - the numerical user id of the process owner. How can I see the name of the process owner?
1
vote
1answer
144 views

Quitting dozens of the same process in OS X Terminal

Whenever I'm testing a python class I'm working on, I initiate and re-initiate python a lot to refresh the updates I make to the code. When I close the Terminal window later, I get a window that says ...
7
votes
2answers
3k views

opendirectoryd consumes 40% of CPU

I have a MacBook Pro with Lion 10.7.2, 2.26 GHz CPU and 2GB DDR3 RAM. If I call top -o cpu the /usr/libexec/opendirectoryd process consumes more than 40% of CPU. $ ps aux | grep opend ...
2
votes
3answers
310 views

OS X “death spiral”? Can't start new processes, eventually becomes unusable

I have this weird situation crop up every once in a while. My OS X (Snow Leopard) system will simple stop being able to do anything "new". It can't start any new processes (like, for instance, a new ...
3
votes
2answers
7k views

How to permanently “renice” a process on Mac OS X (or iOS, etc)?

I use a nice (free) process manager called ATMonitor for Mac OS X that has a lot of cool hidden features, one of which is being able to click on a running process and set the "renice" from +20 (less ...
6
votes
2answers
931 views

Force Chrome to run each tab as a process

Chrome is running all of it's tabs in a single process, and when I open a large number of tabs it really slows down my machine. Considering Chrome's original marketing played up running each tab as a ...
10
votes
2answers
5k views

What is the task “java” (parent process “launchd”) doing on MacOS X?

I have a process called "java" showing up in my Activity Monitor that uses a good amount of CPU (4 - 8% average, 20 - 80% on occasion). It reports that "launchd" is its parent process. Any idea what ...
4
votes
1answer
4k views

Getting “-bash: fork: Resource temporarily unavailable” in OSX

I seem to run into problems with the max. number of processes every so often. Anyone know what is best practice for fixing this? Running OSX 10.6 on a MacBook Pro i7. ulimit -a returns these values: ...
0
votes
1answer
323 views

Something is using up memory in OSX

I noticed that if I use OSX for a while, I get really low on memory and things start to get slow. I have been suspecting that something was not quite right, because in Activity Monitor I would look at ...
3
votes
2answers
3k views

Find bandwidth used by process

Something is using a lot of bandwidth according to iStat menu. But I can't figure out what's doing it. lsof -i only shows what's connected but not how much bandwidth is being used Please do no link ...
2
votes
1answer
334 views

System idle process

When the cpu isn't doing anything, it runs the idle process. I heard that this process looks for programs that are waiting in the queue so that the cpu can run them. Is that all it does? I am also ...
1
vote
1answer
299 views

How to discover the number os running and blocked processes in Mac OS X?

In Linux, I could discover the number of running and blocked processes running grep "procs_running" /proc/stat and grep "procs_blocked" /proc/stat Is there a way to do it in Mac OS X? ...
1
vote
3answers
330 views

Process Watcher For Mac

I'm looking for something that I'm sure is out there, but I can't find it. I have a long running program (Matlab simulation) that runs for 24 hours or more on the Mac in my office. Occasionally the ...
25
votes
1answer
21k views

What does the process 'Locum' do?

I am seeing a process titled, 'Locum' show up in my OS X process list. Does anyone know the details of what this process does?
2
votes
1answer
866 views

What keeps running when a MacBook Pro is in sleep mode

When I put my MacBook Pro to sleep by closing the lid, sometimes I hear the alert notification that plays when the mail program finds new messages in the inbox. This means that the mail program is ...
0
votes
2answers
355 views

Why I cannot run background process by “at now < jobsfile” on Mac?

I can run a process in background by $ someprog > logfile & but if I do $ at now < jobsfile then nothing happens except printing job 1 at Wed Sep 29 19:12:40 2010
3
votes
2answers
787 views

How to kill a process on Mac OS X that's “trying to exit” (E)?

On Mac OS X 10.6 I sometimes get processes that show up in "ps" as "E", which the man page says means they're "trying to exit", but they won't. "kill -9" doesn't work, neither does waiting. Is there ...
1
vote
6answers
603 views

On Linux and Mac OS X, is there a kill or killall command that can let the app ask for unsaved document before exiting?

On Linux and Mac OS X, is there a kill or killall command that can let the app ask for unsaved document before exiting, kind of like asking the app to quit, or clicking on the "close" button of the ...
12
votes
2answers
1k views

Change Google Chrome’s Process model?

Does anyone know how to stop Chrome doing this? Chrome seems to group all tabs I open through the same page into one process. If I copy and paste the links individually into separate tabs, it ...
11
votes
3answers
14k views

What is thnuclnt, vmware

After starting VMware, I noticed that there are more than 10 processes called 'thnuclnt'. They're listening on the port 4000. (Since i use this port for something else, it's annoying.) I'm wondering ...
7
votes
1answer
6k views

Stop a runaway launchd process on OS X Leopard

I created a launchd .plist file to in order to have a python script run every hour. I ended up editing and later deleting the .plist file ( in /Library/LaunchDaemons )... but somehow launchd is still ...
16
votes
2answers
20k views

Unpause application in Mac OS X

I tried parsing a gigantic XML file and I ended up running out of virtual memory. The OS put all my applications on pause and gave me a screen to shutdown applications to free more space. I killed the ...