[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Request (small) porting help for linuxinfo



Hi,

On Wednesday 08 March 2006 17:38, Helge Kreutzmann wrote:
> I am unsure about the s390 port and would like to improve / update it. 

I run S/390 on the hercules emulator and have given it a try there.
The basic info should be the same to a real machine though.

> b) linuxinfo
> If the output is incorrect, I need

$ linuxinfo
Linux mordor 2.4.27-2-s390 #1 SMP Fri Aug 26 19:19:03 UTC 2005
One IBM/S390 MHz processor, 248.21 total bogomips, 0M RAM
System library 2.3.6

CPU frequency missing? No idea how to get that though.
RAM looks bad.

> c) cat /proc/cpuinfo
vendor_id       : IBM/S390
# processors    : 1
bogomips per cpu: 248.21
processor 0: version = FD,  identification = 002623,  machine = 3090

>    ls -l /proc/kcore
-r-------- 1 root root 67112960 Mar  8 18:22 /proc/kcore

>    ls -l /proc/meminfo
-r--r--r-- 1 root root 0 Mar  8 18:23 /proc/meminfo

Hmm. cat is probably more useful:
/proc/meminfo:
        total:    used:    free:  shared: buffers:  cached:
Mem:  62824448 58621952  4202496        0  1449984 12615680
Swap: 34103296 30969856  3133440
MemTotal:        61352 kB
MemFree:          4104 kB
MemShared:           0 kB
Buffers:          1416 kB
Cached:          10100 kB
SwapCached:       2220 kB
Active:          11736 kB
Inactive:        39144 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:        61352 kB
LowFree:          4104 kB
SwapTotal:       33304 kB
SwapFree:         3060 kB

I have set up the emulator with 1 CPU.

Cheers,
FJP

Attachment: pgp9twnRQ_YbJ.pgp
Description: PGP signature


Reply to: