← Back to team overview

sslug-teknik team mailing list archive

Re: Vi og linienummer

 

On 15/11/2007, Poul Kristensen <bcc5226@xxxxxxxxx> wrote:
> Hej !
>

En one-liner perl:

mm@sirius:~$  perl -pe 'print "$. "' < /proc/cpuinfo

1 processor     : 0
2 vendor_id     : GenuineIntel
3 cpu family    : 15
4 model         : 4
5 model name    : Intel(R) Xeon(TM) CPU 2.80GHz
6 stepping      : 3
7 cpu MHz               : 2800.365
8 cache size    : 2048 KB
9 fdiv_bug      : no
10 hlt_bug              : no
11 f00f_bug     : no
12 coma_bug     : no
13 fpu          : yes
14 fpu_exception        : yes
15 cpuid level  : 5
16 wp           : yes
17 flags                : fpu vme de pse tsc msr pae mce cx8 apic sep
mtrr pge m                                            ca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant
                                         _tsc pni monitor ds_cpl cid
cx16 xtpr
18 bogomips     : 5603.76
19

Mvh
Martin


Follow ups

References