So, I considered asking here instead of SO because people here are more likely to be familiar with this stuff.
I'm currently using PHP to detect some generic stuff on the host OS. In this case, I'm trying to detect CPU vendor.
To do this, I have:
execute('grep -m 1 vendor_id /proc/cpuinfo')
- osx: ???
OSX is indeed my problem. I don't have a test machine, and I refuse to run an illicit VM (I already am using 11 legit VMs).
So, since Apple makes it impossible to do this without spending nothing less than $500 to be able to run osx, I've decided to resort to someone else to help me achieve this.
I'd like the command to work on both PPC and Intel models.
Related Thread on SO again, I'm not able to run any of those commands.