2009/8/25 Jussi Lahtinen <jussi.lahti...@gmail.com>:
> [OperatingSystem]
> OperatingSystem=Linux
> KernelRelease=2.6.28-15-generic
> DistributionVendor=ubuntu
> DistributionRelease="Ubuntu 9.04"
>
> [System]
> CPUArchitecture=x86_64
> TotalRam=3993220 kB
>
> [Gambas]
> Gambas1=Not Installed
> Gambas2=2.10.2
> Gambas2Path=/usr/local/bin/gbx2
> Gambas3=2.99.0
> Gambas3Path=/usr/local/bin/gbx3
>
>  Everything correct!
>
>
> Jussi


Works on FreeBSD too

OperatingSystem=FreeBSD
KernelRelease=7.2-RELEASE
DistributionVendor=generic-undetected
DistributionRelease=

[System]
CPUArchitecture=i386
TotalRam=

[Gambas]
Gambas1=Not Installed
Gambas2=2.15.2
Gambas2Path=/usr/local/bin/gbx2
Gambas3=Not Installed

Maybe we could use for detect available ram (Kb) on FreeBSD the
following command

if [ "$OS" = "FreeBSD" ]; then
RAM=$(echo `sysctl -n hw.physmem` / 1024 | bc -l | cut -d . -f1)" Kb"
else
RAM="`cat /proc/meminfo | grep MemTotal | awk -F: '{print $2}' | sed
-e 's/^[ \t]*//'`"
fi

Greetings
ACM

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to