September 17, 2008

Unix Processes

Below are some of the common unix commands that can be used to list the processes and cpu usage.

ps -ef |less
  • list all running process (-e)
  • full details (-f)
  • page by page (| less)
top
  • list top 15 cpu intensive processes
  • -o option sorts the information by cpu, time, res
prstat -avm
  • reports active process statistics
  • all process (-a)
  • -m report microstate process information

September 15, 2008

WinZip Open Source alternative

If you ever needed an alternative tool for WinZip or WinRar, try 7-Zip.
  • High compression ratio in new 7z format with LZMA compression
  • Supported formats:
    • Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR
    • Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM, MSI, WIM, Z, CPIO, RPM, DEB and NSIS
  • For ZIP and GZIP formats, 7-Zip provides a compression ratio that is 2-10 % better than the ratio provided by PKZip and WinZip
  • Strong AES-256 encryption in 7z and ZIP formats
  • Self-extracting capability for 7z format
http://www.7-zip.org/download.html

September 12, 2008

Dynamic DNS

This free service from DynDNS allows you to create a hostname that binds to your Dynamic IP or Static IP. Best of All the Service is Absolutely free.. Check it out soon..

http://www.dyndns.com/services/dns/dyndns/

September 9, 2008

Java Collections Quick Lookup


Class

Map

Set

List

Ordered

Sorted

HashMap

x



No

No

HashTable

x



No

No

TreeMap

x



Sorted

By natural order or custom comparison rules

LinkedHashMap

x



By insertion order or last access order

No

HashSet


x


No

No

TreeSet


x


Sorted

By natural order or custom comparison rules

LinkedHashSet


x


By insertion order

No

ArrayList



x

By index

No

Vector



x

By index

No

LinkedList



x

By index

No

PriorityQueue




Sorted

By to-do order

September 2, 2008

Having problems with your bookmarks

I always had these problems with bookmarks.
  • failed to backup them
  • lost them when hard disk fails
  • had problems syncing between bookmarks on different PCs
Solution, vist www.foxmark.com a free service provided as a Mozilla plugin.
Here they sync and maintain the bookmarks in all your PCs.