SQL Server 2012 RC0 Download Link
By technese - Last updated: Thursday, November 17, 2011
Filed in Database •
FreeBSD – systat network statistics
By technese - Last updated: Wednesday, November 16, 2011
using systat command with ifstat at 1 second intervals
$ systat -ifstat 1
Filed in General •
vSphere Datastore Location
By technese - Last updated: Monday, November 14, 2011
VMWare vSphere : Datastores located at /vmfs/volumes/datastoreName
Filed in Virtualization •
Transact-SQL: select distinct columns
By technese - Last updated: Monday, November 14, 2011
T-SQL Syntax:
SELECT DISTINCT Column FROM TableName
SELECT COUNT(DISTINCT ColumnName) FROM TableName
Filed in Database •
using awk to print columns from a file
By technese - Last updated: Monday, November 14, 2011
1st column
$ awk '{ print $1 }' < file> newfile
2nd column
$ awk '{ print $2 }' < file> newfile
nth column
$ awk '{ print $n }' < file> newfile
Add Linux swapfile as virtual memory
By technese - Last updated: Friday, November 11, 2011
Add a 1 GByte swapfile:
$ dd if=/dev/zero of=/swapfile bs=1M count=1024
$ mkswap /swapfile
$ swapon /swapfile
to make it available on boot, edit /etc/fstab file and include: /swapfile swap swap defaults 0 0
Filed in Linux •
Hello world, this is technese.com!
By technese - Last updated: Friday, November 11, 2011
All things technical!
Filed in General •