HiHo!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use Win32::SystemInfo;
use strict;
use warnings;
my (%phash, %mhash, $proc, $cpuinfo);
$proc = Win32::SystemInfo::ProcessorInfo();
Win32::SystemInfo::ProcessorInfo(%phash);
Win32::SystemInfo::MemoryStatus(%mHash, "MB");
$cpuinfo = "Installed Processors: $phash{NumProcessors}\n";
foreach my $i (0..($phash{NumProcessors} - 1)){
$cpuinfo .= "\nProcessor ".($i + 1).":\n";
$cpuinfo .= "Processor level: $proc\n";
$cpuinfo .= "Processor Speed: $phash{"Processor$i"}{'MHZ'} MHz\n";
$cpuinfo .= "Identifier: $phash{"Processor$i"}{'Identifier'}\n";
$cpuinfo .= "Vendor Identifier: $phash{"Processor$i"}{'VendorIdentifier'}\n";
$cpuinfo .= "Processor Name: $phash{"Processor$i"}{'ProcessorName'}\n";
}
print $cpuinfo;
\n\n
<!--EDIT|[E|B]|1081356722-->
Gruß, Erik!
s))91\&\/\^z->sub{}\(\@new\)=>69\&\/\^z->sub{}\(\@new\)=>124\&\/\^z->sub{}\(\@new\)=>);
$_.=qq~66\&\/\^z->sub{}\(\@new\)=>93~;for(@_=split(/\&\/\^z->sub{}\(\@new\)=>/)){print chr;}
It's not a bug, it's a feature! - [CGI-World.de]