Blog

Blog Archives - 2 Record(s)

Remove Filter Year: '2013' - Month: '9'

Display Number of Processors-Cores assigned on Linux

Posted by Luis Majano
Sep 20, 2013 11:37:00 UTC

Here is a simple nice command to figure out how many processors or cores are assigned to a *unix machine.

cat /proc/cpuinfo | grep processor | wc -l

 

This basically processes the lines containing the processor information and counts them up for you, I got 4.  Try the same commands without the word count (wc) pipe and you can get much more information in detail.

cat /proc/cpuinfo | grep processor

 

By trying the above I got the following:

processor	: 0
processor	: 1
processor	: 2
processor	: 3

 

Try it even further without the grep for processor and you get lots of detailed information about your system.  Try it out!

cat /proc/cpuinfo

 

Open a terminal on a folder in Windows 8

Posted by Luis Majano
Sep 19, 2013 11:26:00 UTC

I am happily surprised I can finally do this in Windows: Open a terminal right on a folder I want in the explorer.  Maybe this features has always been there but I just recently found that that if you do a "shift-right click" on a folder you get more options and one of them is the Open command windows here.  I was so excited about this (geek style) that therefore a blog entry ensued:

 

Site Updates

Archives

Entries Search