Pages

Sunday, July 24, 2011

Missing cron.d in sysstat rpm install

This note is for RHEL/OEL or other similar distributions.

When rpm install for sysstat package complains of missing /etc/cron.d, while cron.d suggest missing cron package, the actual missing package is vixie-cron.

rpm -Ivh sysstat*.rpm
- dependency fails due to missing /etc/cron.d

rpm -qa|grep cron
- following should be installed, otherwise install these first:
  • crontabs-...
  • vixie-cron-...
  • anacron-...


Saturday, July 16, 2011

Basic Mercurial version control

1. Set username in ~/.hgrc:
[ui]
username=name<email>

2. Setup new project
cd YourProj
hg init
hg status
hg add
hg commit

3. Other frequently used commands:
hg log
hg help


http://mercurial.selenic.com/wiki/QuickStart

Monday, July 11, 2011

Sample vm.cfg file for Oracle VM

bootloader = '/usr/bin/pygrub'
disk = ['file:/OVS/seed_pool/vm/System.img,xvda,w']
memory = '512'
name = 'vm'
vcpus = 2
cpu = '0,1'
on_crash = 'restart'
on_reboot = 'restart'
vfb = ['type=vnc,vncunused=1,vnclisten=0.0.0.0']
vif = ['type=netfront,bridge=xenbr0','type=netfront,bridge=xenbr1']

Thursday, July 7, 2011

Tracking Intel Processors

06/2006: Woodcrest 2P 4c
11/2006: Clovertown 2P 8c [2x woodcrest chip in one]
11/2007: Harpertown 2P 8c

??/2007: Tigerton 4P 16c (no HT)  ["ton" => 4P]
09/2008: Dunnington 4P 24c (HT) [Last Penryn]
12/2008: Nehalem EP 2P 8c (HT) [Gainstown]
03/2010: Nehalem EX 4P 32c (HT) [Beckton]
01/2010: Westmere EP 2P 12c (HT) [Gulftown]
05/2011: Westmere EX 4P 40c (HT) 
01/2011: Sandybridge EP 2P 16c (HT)
??/2013: IvyBridge EP 2P 24c (HT)
??/201?: IvyBridge EX (IvyTown) (HT)
??/201?: Haswell