Show the URL of ‘Safari Web Content’ Process ID in Activity Monitor for Mac OS X

Nov 23, 2013 - 2 Comments

See the URL associated with Safari Web Content processes in Mac OS X

Regular users of the Safari web browser will be pleased to discover a great little trick that has been added to the Activity Monitor app in Mac OS the ability to see what URL is associated with each “Safari Web Content” process ID, thereby providing the ability to quickly find exactly which web pages are consuming resources or going errant.

This is all done directly from the general Mac task manager, which allows you to immediately kill a task if need be. Using this trick is super easy:

How to See the URL of Safari Web Content Processes in Activity Monitor on Mac

  1. Open the Safari web browser and open a URL or two, they can be either in tabs or windows
  2. Now launch “Activity Monitor”, found within /Applications/Utilities/ (perhaps easier to launch through Spotlight)
  3. Use the search field to narrow down results by “Safari”
  4. Hover the mouse cursor over each “Safari Web Content” process name to see the associated URL

Show the URL of Safari Web Content processes in Activity Monitor

This makes it so much easier to figure out what web site or web page is causing excessive CPU (processor) usage, memory use, or power drain, allowing users to target and kill a specific URL tab or window that is causing excess resource use. Once an errant process and/or URL has been identified, you can instantly take action and kill the task by selecting that individual “Safari Web Process” ID within Activity Monitor, then clicking the (X) button to initiate a specific kill for that given task. The specificity makes this greatly preferential to forcibly quitting the entire Mac OS X Safari app, since you won’t lose the remainder of your browser session.

Unsurprisingly, the web page URLs that are the most frequent consumers of large amounts of system resources are those with tons of Javascript, Java, animation, Flash, or some other third party plugin or poorly constructed script. Web pages that are better optimized or lighter weight will typically not use significant system resources after the initial loading period has been completed.

Prior to this addition to Activity Monitor in Mavericks, longtime Safari users know it was basically a guessing game, where the only solution was to sort by CPU and then start killing processes, waiting to see which web page was the culprit of the heavy resource use. Safari’s integration with Activity Monitor is not quite as useful or as powerful as the Google Chrome Task Manager, which gives very specific information for each individual open URL within the Chrome browser. The Chrome Task Manager also is contained entirely within the web browser which prevents Activity Monitor from having to be opened separately (though users can still target individual Chrome tabs and windows too with, if desired), but overall the addition to Safari’s abilities through the general OS X task manager is a great step in the right direction.

Thanks to Joshua C. for sending in this great trick found over at MacWorld.

.

Related articles:

Posted by: Paul Horowitz in Mac OS, Tips & Tricks

2 Comments

» Comments RSS Feed

  1. Robin Duck says:

    This website was… how do you say it? Relevant!!

  2. Nasser Agha says:

    I was reading an Old Article about converting rich text to plain text

    i have a free and simple solution to convert the rich text in your clipboard to plain text, i hope osxdaily puts this on website so everyone can use

    1. Download Free BetterTouchTool or any other app which can Execute Terminal Commands with keyboard shortcuts

    2. Set a shortcut key to execute this terminal command for example after pressing Command+E:
    pbpaste | pbcopy

    3. Each time you copy a rich text, just press Command+E and then rich text in your clipboard is converted to plain text, after that when you paste it anywhere, its just plain text

    _ HOW to do it with BetterTouchTool?
    1. Download BTT from boastr.net
    2. Run it and set it to launch on system startup
    3. Under Gestures, go to Keyboard section
    4. Add new shortcut
    5. Click under Keyboard Shortcut and press Command+E (or any other shortcut)
    6. Leave Trigger other keyboard shortcut empty
    7. Under Trigger Predefined Action Select Controlling other application > Execute terminal command
    8. Inside the popup paste this command exactly:
    pbpaste | pbcopy
    9. Save and close window (but do not quit BTT, it will be hidden)

Leave a Reply

 

Shop on Amazon.com and help support OSXDaily!

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks

News

iPhone / iPad

Mac

Troubleshooting

Shop on Amazon to help support this site