Sponsored Content
Operating Systems Linux SuSE Post Your /proc/cpuinfo here! Post 58301 by PxT on Wednesday 17th of November 2004 03:23:04 PM
Old 11-17-2004
Here's a fun one. Some big iron from IBM (no, I don't own this machine)

Code:
$ uname -a
Linux raptor 2.6.8-1-s390x #1 SMP Wed Sep 15 15:36:34 CEST 2004 s390x GNU/Linux


$ cat /proc/cpuinfo
vendor_id       : IBM/S390
# processors    : 6
bogomips per cpu: 838.86
processor 0: version = FF,  identification = 000000,  machine = 2064
processor 1: version = FF,  identification = 010101,  machine = 2064
processor 2: version = FF,  identification = 020202,  machine = 2064
processor 3: version = FF,  identification = 030303,  machine = 2064
processor 4: version = FF,  identification = 040404,  machine = 2064
processor 5: version = FF,  identification = 050505,  machine = 2064


I sold my Sega Dreamcast a while ago, but that one booted Linux too:
Code:
# cat cpuinfo
machine         : Sega Dreamcast
processor       : 0
cpu family      : sh4
cpu type        : SH7750
cache size      : 8K-bytes/16K-bytes
bogomips        : 19.71
cpu clock       : 199.49MHz
bus clock       : 99.74MHz
module clock    : 49.87MHz

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

about /proc

hi, we all know /proc is about the information of active process, I have just read an artical which said you can use /proc/cpuinfo, /proc/net./proc/meminfo etc. to know about some hardware information .But I want to know how to use with command line? (1 Reply)
Discussion started by: fuqiang1976
1 Replies

2. UNIX for Advanced & Expert Users

/proc

/proc is filing up my root filesystem. Can you delete any of the4 ID numbers out of /proc. Please help me. (3 Replies)
Discussion started by: aojmoj
3 Replies

3. UNIX for Dummies Questions & Answers

proc directory

I did a search on this, but didn't find exactly the answer I'm looking for. What exactly is the proc directory for? Showing processes spawned by users? I ask because I have some very large files in that directory by multiple users and its affecting my disk usage. Can you limit how many... (2 Replies)
Discussion started by: kymberm
2 Replies

4. UNIX for Dummies Questions & Answers

proc

Hi, What are the various way's to fix /proc folder in redhat linux 7.2 and how to verify /proc folder is proper or croupted? Thank in advance Bache Gowda (7 Replies)
Discussion started by: bache_gowda
7 Replies

5. Programming

Need help ! SQL and Proc *C

:) hi all ! Please help me When I select data from oracle with proc * C prog. I count the number of rows For example the total rows is 1000000 but the number of result return is a limit number 5000 for ex So How can I know this limit (5 Replies)
Discussion started by: iwbasts
5 Replies

6. UNIX for Dummies Questions & Answers

Dummy question about /proc/cpuinfo

Perhaps this is a very dummy question but sorry I don't know other place to do it. We just buy a new cluster of Xeon machines but there is something I don't understand and perhaps someone can help me. The more /proc/cpuinfo produces the following output (just part of it). processor : 0... (1 Reply)
Discussion started by: jhc
1 Replies

7. UNIX for Dummies Questions & Answers

_/proc/stat vs /proc/uptime

Hi, I am trying to calculate the CPU Usage by getting the difference between the idle time reported by /proc/stat at 2 different intervals. Now the 4th entry in the first line of /proc/stat will give me the 'idle time'. But I also came across /proc/uptime that gives me 2 entries : 1st one as the... (0 Replies)
Discussion started by: coderd
0 Replies

8. UNIX for Dummies Questions & Answers

Definition of "siblings" in /proc/cpuinfo

So, I'm looking over /proc/cpuinfo and have a question... I've read that "siblings" refers to hyperthreading, but that seems odd considering the contents of cpuinfo. Here's a part: model name : Intel(R) Xeon(R) CPU E5410 @ 2.33GHz physical id : 0 siblings : 4 core... (1 Reply)
Discussion started by: treesloth
1 Replies

9. UNIX for Dummies Questions & Answers

Regarding /proc

If you are adding the kernel module without any module parameter passing, it should print out following information to info1 file so that user can make read access to info1 file (via, for example, cat /proc/info1): • Processor type • Kernel version • Total number of the processes currently... (1 Reply)
Discussion started by: shekhar.huded
1 Replies

10. Red Hat

Question on /proc/cpuinfo

Hi, I wanted to understand what exactly /proc/cpuinfo shows? We have a machine with following specification... (2x) Intel Xeon 6-core processors So, ideally it shouls have 12processors, but the output on /proc/cpuinfo shows 24 processors. Can someone please explain how this is... (3 Replies)
Discussion started by: shrshah64
3 Replies
CPU_NEED_RESCHED(9)					   BSD Kernel Developer's Manual				       CPU_NEED_RESCHED(9)

NAME
cpu_need_resched -- context switch notification SYNOPSIS
#include <sys/cpu.h> void cpu_need_resched(struct cpu_info *ci, int flags); DESCRIPTION
The cpu_need_resched() function is the machine-independent interface for the scheduler to notify machine-dependent code that a context switch from the current LWP, on the cpu ci, is required. This event may occur if a higher priority LWP appears on the run queue or if the current LWP has exceeded its time slice. If RESCHED_KPREEMPT flag is specified in flags and __HAVE_PREEMPTION C pre-processor macro is defined in <machine/intr.h>, machine-dependent code should make a context switch happen as soon as possible even if the cpu is running the kernel code. If RESCHED_IMMED flag is specified in flags, machine-dependent code should make a context switch happen as soon as possible. In that case, for example, if ci is not the current processor, cpu_need_resched() typically issues an inter processor call to the processor to make it notice the need of a context switch as soon as possible. Typically, the cpu_need_resched() function will perform the following operations: o Set a per-processor flag which is checked by userret(9) when returning to user-mode execution. o Post an asynchronous software trap (AST). o Send an inter processor interrupt to wake up cpu_idle(9). SEE ALSO
sched_4bsd(9), userret(9) BSD
July 31, 2010 BSD
All times are GMT -4. The time now is 12:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy