Dumping process memory on macOS

This is just a reminder to myself on how to dump a processes memory on macOS/OS X. This was done on El Capitan using LLDB to create a core dump. I had previously tried gcore installed using Homebrew but that failed to dump any processes. From terminal use the following command: lldb --attach-pid <pid> 1 ...

VMware Configuration Files

VMware products have a set of configuration files which are active at computer, user and guest level. The location of these files differs depending on the product and host operating system. This post lists the names and locations for reference. ESXi Configuration Files DICT --- CONFIGURATION <path to vmx file> DICT --- USER DEFAULTS ~/.vmware/config ...

Pass real Mac details to VM Part 2

I have zero interest in running iMessage within a VM, as I use real Macs for work and play, but do understand that others are interested in doing this in a VM. There is a very good post on “How to Fix iMessage” which explains the issues of how complex Apple’s authentication of genuine Apple ...

Rename files with Find

Recently I needed to rename a large number of files to remove a secondary extension. I found the following example on the web and re-posted here so I do not lose it again! Shell find . -iname "*.liquid" -exec bash -c 'mv "$0" "${0%\.liquid}.php"' {} \; 1 find . -iname "*.liquid" -exec bash -c 'mv ...

Disable Google Chrome cache on OSX

Google Chrome does not have a simple way of managing the size of the caches from within the product. The main way that it the cache size and location can be controlled is via command line switches. --disk-cache-dir=/dev/null --disk-cache-size=1 --media-cache-size=1 On OS X you have 2 choices; edit the actual Application bundle to add a ...

Pass real Mac details to VM Part 1

Pass real Mac details to VM Part 1
This is a copy of my post at InsanelyMac which I will keep updated with new discoveries. Here are some new VMX settings that will help you make OS X running in VMware look more like a real Apple Mac. I have only tested on Workstation 10 running on Windows 7, so I cannot guarantee ...

Suppress VMware multiple vCPU message

Suppress VMware multiple vCPU message
When starting an OS X guest under VMware Fusion with more than 1 vCPU, the following warning message is displayed: To disable the message open the VMX file for the guest whilst it is shutdown and add the following line: isolation.tools.bug328986.disable = "TRUE" 1 isolation.tools.bug328986.disable = "TRUE" This only suppresses the message, and the guest ...