Archive for November, 2011
FreeBSD – systat network statistics
By technese - Last updated: Wednesday, November 16, 2011
using systat command with ifstat at 1 second intervals $ systat -ifstat 1
vSphere Datastore Location
By technese - Last updated: Monday, November 14, 2011
VMWare vSphere : Datastores located at /vmfs/volumes/datastoreName
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
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
Hello world, this is technese.com!
By technese - Last updated: Friday, November 11, 2011
All things technical!