Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Retrieving machine information

From: atruter:labyrinth:au at: 1-Jun-2004 9:35

> Is there any way to retrieve machine information such as CPU type, > speed, memory, etc. within REBOL?
Not without using an OS specific API call. Note that some of the info you require might be available as environment variables, eg. (on WinXP):
>> get-env "PROCESSOR_ARCHITECTURE"
== "x86"
>> get-env "PROCESSOR_IDENTIFIER"
== "x86 Family 15 Model 2 Stepping 9, GenuineIntel"
>> get-env "PROCESSOR_LEVEL"
== "15"
>> get-env "PROCESSOR_REVISION"
== "0209" Regards, Ashley