Op een druilerige winterdag (Wednesday 07 January 2004 15:57), schreef H.Merijn Brand:
> How about this for a start I am quite happy with that. Thanks heaps! > a5:/pro/3gl/CPAN/TS-1.19 138 > perl -Ilib -MTest::Smoke::SysInfo > -MData::Dumper -e'print Dumper (Test::Smoke::SysInfo::HPUX ())' > $VAR1 = { > '_cpu_type' => 'PA-2.0/64', > '_host' => 'a5', > '_ncpu' => 2, > '_os' => 'HP-UX 11.00/64', > '_cpu' => 'PA8700' > }; > a5:/pro/3gl/CPAN/TS-1.19 139 > > > i2:/a5/pro/3gl/CPAN/TS-1.19 122 > perl -Ilib -MTest::Smoke::SysInfo > -MData::Dumper -e'print Dumper (Test::Smoke::SysInfo::AIX ())' > $VAR1 = { > '_cpu_type' => 'PPC/32', > '_host' => 'i2', > '_ncpu' => 1, > '_os' => 'AIX 4.3.3.0/ML11/32', > '_cpu' => 'PPC_604e' > }; > i2:/a5/pro/3gl/CPAN/TS-1.19 123 > > > lt09:/pro/3gl/CPAN/TS-1.19 109 > perl -Ilib -MTest::Smoke::SysInfo > -MData::Dumper -e'print Dumper (Test::Smoke::SysInfo::Linux ())' > $VAR1 = { > '_cpu_type' => 'i686', > '_host' => 'lt09', > '_ncpu' => 1, > '_os' => 'Linux 2.4.20-4GB', > '_cpu' => 'Intel(R) Pentium(R) M processor 1400MHz (GenuineIntel > 1396MHz)' }; > lt09:/pro/3gl/CPAN/TS-1.19 108 > > > > Then the mail header could be something like > > "\L$si->{_os}\E ($si->{_ncpu} $si->{_cpu} $si->{_cpu_type} > [EMAIL PROTECTED]>{_ncpu}==1?'':'s']})" > > hpux 11.00/64 (2 PA8700 PA-2.0/64 cpus) > aix 4.3.3.0/ML11/32 (1 PPC_604e PPC/32 cpu) > linux 2.4.20-4gb (1 Intel(R) Pentium(R) M processor 1400MHz (GenuineIntel > 1396MHz) i686 cpu) I was thinking along these lines: Subject: Smoke [5.9.0] 19000 PASS linux - 2.4.18-4GB (i686/1 cpu) Automated smoke report for 5.9.0 patch 19000 (fikkie) Intel(R) Pentium(R) III Mobile CPU 1000MHz (GenuineIntel 996MHz) on linux - 2.4.18-4GB (i686/1 cpu) using gcc version 2.95.3 20010315 (SuSE) > But mabe you want to strip that linux cpu somewhat more That might be an x86 thing (this is gentoo on sparc): $VAR1 = { '_cpu_type' => 'sparc64', '_host' => 'h', '_ncpu' => '1', '_os' => 'Linux 2.4.23-sparc-r1', '_cpu' => 'TI UltraSparc I (SpitFire)' }; [patch snipped, applied! #517] thanks && Good luck, Abe -- NickC> After I've eaten I'll have proper look at the modperl source. Grumble, grumble. What's with all this sleep and eat stuff? I never remember Jarkko having to sleep or eat. -- Yitzchak Scott-Thoennes on p5p @ 2003-10-31