System information


BufferRam() As Integer
FreeHigh() As Integer

BufferRam Get memory used by buffers
FreeHigh
Get available high memory size
FreeRam
Get size of free memory
FreeSwap
Get available swap memory size
MemUnit
Get memory unit size
NumProcs
Get number of running processes
Sleep
Let process sleep some time
SharedRam
Get shared ram total size
Sysload1
Get average system load of last minute
Sysload5 Get average system load of last 5 minutes
Sysload15 Get average system load of last 15 minutes
TotalHigh
Get total high memory size
TotalSwap
Get total swap size
TotalRam
Get total ram size
Uptime
Get uptime of computer in seconds


BSET( NUMBER, bitpos )
BCLR( NUMBER, bitpos )
BCHG( NUMBER, bitpos )
BTST( NUMBER, bitpos )
BIT( BITPOS )


BufferRam

Description: Gem

Syntax:

retvalue = BSet( number, bitpos ) 


Parameter description
:

Name Type
Description
number
integer
Value before changing a bit
bitpos
integer
Position of bit that should be set


Return value:
value (type integer) where bit at bitpos has been changed to 1


Code example
:

Set the bit at position 2 in value 1

 print BSet( 2, 1 )