How to find file path/location of an executable running on MAC OS X

Similar to “Task Manager” in Windows, you’ll find “Activity Monitor” in MAC OS X.

Open Activity Monitor from Spotlight search or from Launch Pad > Utilities > Activity Monitor

image

In Activity Monitor you’ll be able to see all of your/System process/services running.  To see where from a process is running, double click on it > click “Open Files and Ports”

image

Here I am looking for Google Chrome Process,

image

You’ll be able to see “Open Files and Ports” for process that are launched by you.  You’ll NOT to able to get the details from other user processes even when if you are an administrator user.

The text format goes as below:

Output information may be incomplete.

assuming "dev=2d000006" from mount table

sof: WARNING: can’t stat() smbfs file system /Volumes/home-1

Output information may be incomplete.

assuming "dev=2d00000d" from mount table

sof: WARNING: can’t stat() smbfs file system /Volumes/Backups-1

Output information may be incomplete.

assuming "dev=2d000010" from mount table

sof: WARNING: can’t stat() smbfs file system /Volumes/Share

Output information may be incomplete.

assuming "dev=2d000012" from mount table

7737

/

/Applications/Google Chrome.app/Contents/MacOS/Google Chrome

/Applications/Google Chrome.app/Contents/Versions/29.0.1547.62/Google Chrome Framework.framework/Google Chrome Framework

/System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI

/System/Library/ColorSync/Profiles/sRGB Profile.icc

/usr/share/icu/icudt46l.dat

/Users/standuser002/Library/Caches/Google/Chrome/Default/Cache/data_0

/Users/standuser002/Library/Caches/Google/Chrome/Default/Cache/data_1

/Applications/Google Chrome.app/Contents/Resources/app.icns

/Users/standuser002/Library/Caches/Google/Chrome/Default/Cache/data_2

/Users/standuser002/Library/Caches/Google/Chrome/Default/Cache/data_3

/private/var/folders/7n/whwp_mk50nb6qly98rtt0sfm0000gv/T/.com.google.Chrome.Wf0Ay8

/private/var/folders/7n/whwp_mk50nb6qly98rtt0sfm0000gv/C/com.apple.scriptmanager.le.cache

/Users/standuser002/Library/Caches/Google/Chrome/Default/Media Cache/data_0

/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib

/System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libcldcpuengine.dylib

/Users/standuser002/Library/Caches/com.google.Chrome/com.apple.opencl/com.apple.ocl.32.maps

/Users/standuser002/Library/Caches/Google/Chrome/Default/Media Cache/data_1

/Users/standuser002/Library/Caches/Google/Chrome/Default/Media Cache/data_2

/Users/standuser002/Library/Caches/Google/Chrome/Default/Media Cache/data_3

/Applications/Google Chrome.app/Contents/Versions/29.0.1547.62/Google Chrome Framework.framework/Resources/en.lproj/locale.pak

/Applications/Google Chrome.app/Contents/Versions/29.0.1547.62/Google Chrome Framework.framework/Frameworks/KeystoneRegistration.framework/KeystoneRegistration

/private/var/db/mds/messages/se_SecurityMessages

/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn

/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn

/Library/Audio/Plug-Ins/HAL/RAPAudioClnt.plugin/Contents/MacOS/RAPAudioClnt

/System/Library/Frameworks/CoreAudioKit.framework/Versions/A/CoreAudioKit

/private/var/folders/7n/whwp_mk50nb6qly98rtt0sfm0000gv/C/mds/mdsDirectory.db

/Applications/Google Chrome.app/Contents/Versions/29.0.1547.62/Google Chrome Framework.framework/Resources/chrome.pak

/Applications/Google Chrome.app/Contents/Versions/29.0.1547.62/Google Chrome Framework.framework/Resources/chrome_100_percent.pak

/Applications/Google Chrome.app/Contents/Versions/29.0.1547.62/Google Chrome Framework.framework/Resources/chrome_200_percent.pak

/Applications/Google Chrome.app/Contents/Versions/29.0.1547.62/Google Chrome Framework.framework/Resources/resources.pak

/System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/Resources/SArtFile.bin

/System/Library/Keyboard Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-L.dat

/Library/Keychains/System.keychain

/private/var/folders/7n/whwp_mk50nb6qly98rtt0sfm0000gv/T/.com.google.Chrome.2ByOxi

/Users/standuser002/Library/Caches/com.google.Chrome/com.apple.opencl/com.apple.ocl.32.data

/Users/standuser002/Library/Caches/Google/Chrome/Default/Cache/index

/System/Library/Keychains/SystemRootCertificates.keychain

/System/Library/Fonts/LucidaGrande.ttc

/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/Extras2.rsrc

/System/Library/Fonts/Helvetica.dfont

/System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/Resources/ArtFile.bin

/System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/unorm8_bgra.dylib

/Users/standuser002/Library/Caches/Google/Chrome/Default/Media Cache/index

/private/var/folders/7n/whwp_mk50nb6qly98rtt0sfm0000gv/C/com.apple.LaunchServices-034507.csstore

/usr/lib/dyld

/private/var/db/dyld/dyld_shared_cache_i386

/dev/null

->0xffffff80076e87e0

->0xffffff80076e87e0

count=1, state=0x2

/Applications/Google Chrome.app/Contents/Versions/29.0.1547.62/Google Chrome Framework.framework/Resources/chrome.pak

/Applications/Google Chrome.app/Contents/Versions/29.0.1547.62/Google Chrome Framework.framework/Resources/chrome_100_percent.pak

/Applications/Google Chrome.app/Contents/Versions/29.0.1547.62/Google Chrome Framework.framework/Resources/chrome_200_percent.pak

/Applications/Google Chrome.app/Contents/Versions/29.0.1547.62/Google Chrome Framework.framework/Resources/en.lproj/locale.pak

/Applications/Google Chrome.app/Contents/Versions/29.0.1547.62/Google Chrome Framework.framework/Resources/resources.pak

count=0, state=0x2

->0xffffff80085c9180

->0xffffff80085c8260

->0xffffff80085c73f0

->0xffffff80085c89f0

count=0, state=0

/

/private/etc

/private/etc/hosts

->0xffffff80085c6630

->0xffffff80085c66e0

/dev/urandom

count=0, state=0x2

->0xffffff80085c7d90

->0xffffff8008ceb100

count=0, state=0x2

->0xffffff8008cecf40

->0xffffff80085c7810

count=0, state=0x2

->0xffffff80076e7080

->0xffffff80085c8aa0

count=0, state=0

/

/Users

/Users/standuser002

/Us
ers/standuser002/Library

/Users/standuser002/Library/Internet Plug-Ins

count=0, state=0

/

/Library

/Library/Internet Plug-Ins

/Users/standuser002/Library/Application Support/Google/Chrome/App Shim Socket

/Users/standuser002/Library/Application Support/Google/Chrome/SingletonLock

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Extension Rules/LOG

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Extension Rules/LOCK

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Extension Rules/000003.log

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Extension Rules/MANIFEST-000002

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Web Data

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Web Data-journal

/private/var/folders/7n/whwp_mk50nb6qly98rtt0sfm0000gv/T/etilqs_MYtw5OoBTGaRKGq

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Favicons

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Archived History

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Archived History-journal

/Users/standuser002/Library/Caches/Google/Chrome/Default/Cache/index

/private/var/folders/7n/whwp_mk50nb6qly98rtt0sfm0000gv/T/etilqs_3PhMO719neGAOpg

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Favicons-journal

/Users/standuser002/Library/Caches/Google/Chrome/Default/Cache/data_0

/private/var/folders/7n/whwp_mk50nb6qly98rtt0sfm0000gv/T/etilqs_6d9h1Z4mohJrjCz

/Users/standuser002/Library/Caches/Google/Chrome/Default/Cache/data_1

count=0, state=0

/Users/standuser002/Library/Caches/Google/Chrome/Default/Cache/data_2

/Users/standuser002/Library/Caches/Google/Chrome/Default/Cache/data_3

/

/Users

/Users/standuser002

/Users/standuser002/Library

/Users/standuser002/Library/Application Support

/Users/standuser002/Library/Application Support/Google

/Users/standuser002/Library/Application Support/Google/Chrome

/Users/standuser002/Library/Application Support/Google/Chrome/Default

/Users/standuser002/Library/Application Support/Google/Chrome/Default/User StyleSheets

/Users/standuser002/Library/Application Support/Google/Chrome/Default/User StyleSheets/Custom.css

/Users/standuser002/Library/Application Support/Google/Chrome/Default/History-journal

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Cookies

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Top Sites

/Users/standuser002/Library/Application Support/Google/Chrome/Default/History Index 2013-08

/Users/standuser002/Library/Application Support/Google/Chrome/Default/History Index 2013-08-journal

/Users/standuser002/Library/Application Support/Google/Chrome/Default/History

/Users/standuser002/Library/Application Support/Google/Chrome/Safe Browsing Cookies

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Visited Links

/private/var/folders/7n/whwp_mk50nb6qly98rtt0sfm0000gv/T/etilqs_KbHDAcWQVj6w1Qh

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Shortcuts

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Shortcuts-journal

/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/Extras2.rsrc

/private/var/folders/7n/whwp_mk50nb6qly98rtt0sfm0000gv/T/etilqs_C72GJaJN9hPag6f

->0xffffff8009675bc0

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Origin Bound Certs

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Network Action Predictor

->0xffffff8009315388

/Users/standuser002/Library/Caches/Google/Chrome/Default/Media Cache/index

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Current Tabs

/Users/standuser002/Library/Caches/com.google.Chrome/com.apple.opencl/com.apple.ocl.32.maps

/Users/standuser002/Library/Caches/com.google.Chrome/com.apple.opencl/com.apple.ocl.32.data

/Users/standuser002/Library/Caches/Google/Chrome/Default/Media Cache/data_0

/private/var/folders/7n/whwp_mk50nb6qly98rtt0sfm0000gv/T/.com.google.Chrome.Wf0Ay8

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Current Session

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Session Storage/LOG

->0xffffff800b1849c8

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Extension State/LOG

/private/var/folders/7n/whwp_mk50nb6qly98rtt0sfm0000gv/T/.com.google.Chrome.2ByOxi

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Extension State/LOCK

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Extension State/000003.log

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Extension State/MANIFEST-000002

/Users/standuser002/Library/Application Support/Google/Chrome/Default/History Index 2013-09

/Users/standuser002/Library/Caches/Google/Chrome/Default/Media Cache/data_1

/Users/standuser002/Library/Caches/Google/Chrome/Default/Media Cache/data_2

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Login Data

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Login Data-journal

/private/var/folders/7n/whwp_mk50nb6qly98rtt0sfm0000gv/T/etilqs_g65KmWgsbKktxIJ

/Users/standuser002/Library/Caches/Google/Chrome/Default/Media Cache/data_3

/Users/standuser002/Library/Application Support/Google/Chrome/Default/History Index 2013-09-journal

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Session Storage/LOCK

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Session Storage/000003.log

/private/var/folders/7n/whwp_hjijioijklkkoohvgvcfdxDFGVddtf/T/etilqs_7vJWW1mD4JNyDdf

/Users/standuser002/Library/Application Support/Google/Chrome/Default/Session Storage/MANIFEST-000002

 

Navigate to the folder location where the executable is running from using “Go to the Folder” by VNC key comb: Alt+Shit+G or via Apples Control+Shit+G (as shown below)

image

image

image

Leave a Reply

Your email address will not be published. Required fields are marked *