https://github.com/haroenv/mac-processor-info
Open ark.intel.com with your processor (for mac's with intel processors)
https://github.com/haroenv/mac-processor-info
Last synced: 4 months ago
JSON representation
Open ark.intel.com with your processor (for mac's with intel processors)
- Host: GitHub
- URL: https://github.com/haroenv/mac-processor-info
- Owner: Haroenv
- Created: 2016-02-28T11:15:58.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-02T09:49:20.000Z (almost 10 years ago)
- Last Synced: 2025-09-07T23:46:29.908Z (4 months ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mac Processor Info
This will open [ark.intel.com](http://ark.intel.com) in your default browser with info about your cpu.
## Usage
`./processor-info.sh` in Terminal, or integrate the oneliner in any way you want.
## How does it work?
The script is pretty short:
```
open http://ark.intel.com/search?q=$(sysctl -n machdep.cpu.brand_string | awk '{print $3}')
↑ ↑ ↑ ↑
| | | └ print only the model
| | └ get the branded cpu model
| └ the url of search on intel
└ open in default application
```
For example my processor will output , which gets redirected to the full page ()
It's edited from [this](http://superuser.com/a/436989) answer on the superuser stackexchange. That answer searches on Google, my version goes to intel directly.
# License
CC0