It took a several drops of blood, sweat and tears to accomplish that. Firstly, I was doing things all wrong. Secondly, I should have done parallel development by testing each small piece of code on both platforms before pushing it in.
A small comparison on how Platform object would contain on both platforms:
Terminal Data
-------------
Username/ID = Administrator
VM Version = 0.0.1 - 20101101
System Name = Windows
Version = Microsoft Windows XP Professional Service Pack 3
System Release = 5.1-2600
Architecture = x86
Host-FQDN = hcube
CPU = Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
Cores = 2
Memory Total = 2086612992
Memory Free = 1184010240
Swap Total = 584269824
Swap Free = 4013883392
Process Count = 71
Up Time = 10560921
Terminal Data
-------------
Username/ID = gorilla
VM Version = 0.0.1 - 20101101
System Name = Linux
Version = #41-Ubuntu SMP Thu Aug 19 01:12:52 UTC 2010 [Ubuntu 10.04 LTS]
System Release = 2.6.32-24-generic
Architecture = i686
Host-FQDN = hcube
CPU = Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
Cores = 2
Memory Total = 2051399680
Memory Free = 193531904
Swap Total = 267378688
Swap Free = 267341824
Process Count = 266
Up Time = 3939570
Source code to this was checked-in on sf.net and can be seen via git browser.
Based on this output, it seems a default build of Ubuntu will have a little over 250 processes and has just about 184 MiB free memory, while after running Symantec and even Louts Notes with Open Office running on Windows the memory available is still over 1 GiB and only about 71 processes. Despite all this very high memory usage, Linux is still more responsive than Windows. Food for thought!
By the way, source code of this platform.js is:
#! /usr/bin/monkey
stdout.writeLine("Terminal Data");
stdout.writeLine("-------------");
if (Modules.require("Platform")) {
stdout.printf("%-15s = %s\n", "Username/ID", Platform.userID);
stdout.printf("%-15s = %s - %s\n\n", "VM Version", Platform.vmRelease, Platform.vmBuild);
stdout.printf("%-15s = %s\n", "System Name", Platform.systemName);
stdout.printf("%-15s = %s\n\n", "Version", Platform.version);
stdout.printf("%-15s = %s\n", "System Release", Platform.release);
stdout.printf("%-15s = %s\n", "Architecture", Platform.architecture);
stdout.printf("%-15s = %s\n\n", "Host", Platform.nodeName);
if (Platform.hasExtendedData) {
stdout.printf("%-15s = %s\n", "CPU", Platform.cpu);
stdout.printf("%-15s = %s\n", "Cores", Platform.cores);
stdout.printf("%-15s = %s\n", "Memory Total", Platform.memoryTotal);
stdout.printf("%-15s = %s\n", "Memory Free", Platform.memoryFree);
stdout.printf("%-15s = %s\n", "Swap Total", Platform.swapTotal);
stdout.printf("%-15s = %s\n\n", "Swap Free", Platform.swapFree);
stdout.printf("%-15s = %s\n", "Process Count", Platform.processCount);
stdout.printf("%-15s = %s\n", "Up Time", Platform.upTime);
}
}