General :: Understand Cpu Family/model/stepping Fields In /proc/cpuinfo?
Feb 26, 2011I have following in cpuinfo:
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
[code]....
I have following in cpuinfo:
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
[code]....
Is there a simple way to determine the CPU socket from the output of /proc/cpuinfo. Determining the type of processor is simple enough, but the processor I have (Celeron) has two different possible sockets. The output of /proc/cpuinfo is:
processor : 0
vendor_id : GenuineIntel
cpu family : 15
[Code]...
I've looked on the Intel processor finder web site with appropriate filters, but the stepping values do not appear to match anything.
My CPU has 2 cores, so I can see two parts in /proc/cpuinfo.But, I want to know if CPUs that support Hyper-Threading (or similar tech), will /proc/cpuinfo give CPU info per core or per thread (or call it sibling)?I only know that Windows Task Manager will give CPU usage statistics per thread if the CPU supports HT.
View 2 Replies View RelatedThere is a computer with two "Xeon(R) CPU X5550 @ 2.67GHz" CPU. The Hyper-threading is enabled, so it looks like 16-core system, but really there is only 8 physical cores.
I know that when hyperthreading is enabled, each physical core is splitted into two virtual cores. I want to know, which pair of virtual cores shares a physical core and which are not. Or, how (in what order) will Linux enumerate HT-cores comparing to real cores. (enumerating is done for sched_setaffinity and taskset masks).
I have a dump of /proc/cpuinfo file from the system.
I think there are possible:
CPU0-CPU7 are not sharing phys. core. CPU8-CPU15 too. But sharing is in pairs CPU0+CPU8, CPU(i)+CPU(i+8) and so on. or CPU0+CPU1 are from single physical, CPU2+CPU3, CPU(2*i)+CPU(2*i+1). or exotic CPU0+CPU15 sharing, CPU1+CPU14 ... or random?
The hard moment in this case is that there are 2 physical dies of CPU (two sockets), and usual recommendation of using "physical id:" field can't help
The cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU X5550 @ 2.67GHz
[Code].....
I have fedora 14 installed and wish to use/learn kvm. I installed via groupinstall the virtualization group. I see vmx in /proc/cpuinfo. but when I start virt-manager I get a message that kvm is not installed or cannot be leaded into the kernel (to make a long message short). I am at a loss here as to what to do. I run cat /proc/modules and see "kvm 257420 0 - Live 0xffffffffa022a000". also after running modprobe kvm I run [root@fed14 ~]# lsmod | grep -i kvmkvm 257420 0 and see kvm there.
View 3 Replies View RelatedI recently built a new computer. For CPU, I am using AMD Athlon II X2 @ 2.8GHz... However, when I do cat /proc/cpuinfo, I get the following:
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 6
model name : AMD Athlon(tm) II X2 240 Processor
stepping : 2
cpu MHz : 800.000
cache size : 1024 KB
and same thing for processor: 1 Notice that for cpu MHz, it says 800.000. However, that is not correct... Shouldn't it say 2800? Is this a bug? Am I looking at this wrong?
I'm trying to retrieve a single string or value from /proc/cpuinfo, but when I try to extract the model (not the model name) the model name comes with it, also it likes to print it twice...
Code:
model="`cat /proc/cpuinfo | grep model | cut -d: -f2 | cut -c1-3`"
echo $model
All i want this to do is spit out the model number once. (I need to pass it to another script)
Only lately I notice that my CentOS 5.2
(Linux centos52-64-fuj 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux)
does not detect a second core according to /proc/cpuinfo
Quote:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
[Code]....
I have just bought new PC (Intel mother board "Intel DP43TF ATX" and Processor "Intel Core 2 Quad Q9550"). and I have installed centos 5.3 32 bit.
NOTE: All cores are enabled in BIOS.
When I issue below command, it shows only one core (not 4 cores): what could be reason!
# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
[Code].....
My cpu is set via Gnome-power manager to automatically speedstep under demand....
the thing is i have a few nice level 19 processes running most the time that eat up all the idle time, this forces my clock speed up and as such makes the fan noisy and uses more power...
basically what i would like to do is to ignore process load with a nice over a certian level when determining weather to speed step.
I've got the F13 LiveCD that I was able to boot and use using the "nomodeset" boot option. From the desktop I'm trying to perform an Install to Hard Drive. I've read the Install from LiveCD post regarding the creation of a /boot partition and a / root partition. I've tried creating them without the LVM group and with. But every time I appempt to install I get...
An error occurred mounting device proc as /proc: mount failed: (9, None). This is a fatal error and the install cannot continue.
Hardware is a Sager 8887 (P4, 3.06HT, 60GB HDD, Radeon 9000 graphics adapter)
What is different between BSD family and linux? i see bsd have some distro like freebsd, openbsd,pcbsd and etc.linux is popular or bsd?in bsd can i compile and run linux program?for example execute rpm file.i see yahoo server use freebsd,but why not use linux?what bsd use environment? kde or gnome?
View 10 Replies View RelatedCompiling a kernel on this machine first time and get upset with which processor family/type/options to select for my Intel Pentim Dual Core T2390.Does sombody know how to configure kernel better for this processor?
View 5 Replies View RelatedI have a file1:
Code:
$ cat PF(1).out
Tmp39 PF10271.3 423 ENSP00000326063 488 1.2e-201 41-478
Tmp39 PF10271.3 423 ENSP00000338165 492 1.9e-200 46-479
[code].....
In the beginning there is MBR. MBR looks for the active partition and tranfers control to the VBR of the active partition. MBR is where grub may be installed. which allows the user to choose an OS(a VBR) I am not sure what the program in the VBR does,but it manages to loads the OS. What am I trying to do: Backup. I ma tired of losign my partitions my bootloaders. I want to backup them all! partitions/MBR /VBR everything short of creating an disk image.
My questions:
1. say the ubuntu partition is formatted, will grub still load? if not is there a bootloader that would?am I making sense? i hope so...
2. what exactly does the VBR contain ?
2. How do I go about backing up? The mbr and the partiton table are backed up with a simple dd command. Then what else needs to be backed ? VBR's of every partition?
I have taken putty session of a server from two separate machines namely HOST1(3 sessions) and HOST2(1 Session) . However w command says there are 5 users
Code:
# w
09:29:36 up 34 days, 15:48, 5 users, load average: 0.62, 4.33, 8.16
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/17 HOST1 09:18 4:26 0.01s 0.01s -bash
root pts/18 HOST1 09:27 1:21 0.00s 0.00s -bash
root pts/21 HOST2 09:29 0.00s 0.00s 0.00s w
root pts/20 HOST1 09:29 1:39 0.00s 0.00s -bash
I'm trying to use awk to remove rows that are duplicates based on 3 fields, and I want to keep the on that has the higher value in another field. I'm working in C-Shell. For example the below is greped out of a larger data set to use in here as example:
Input (Field separator is a comma:
Code:
4180,-6999,MA,BARNSTABLE,BOURNE,1,1.7,1700,PM,1/26
4180,-6999,MA,BARNSTABLE,BOURNE,1,3.5,2025,PM,1/26
4180,-6999,MA,BARNSTABLE,BOURNE,1,1.0,1511,PM,1/26
4180,-6999,MA,BARNSTABLE,BOURNE,1,5.7,0540,AM,1/27
[Cpde]....
I'm writing a script that picks out the time offset in a string, but am trying to figure out a way to print a field based on a match (likely needs to be regex).
Here are some sample fields:
09.900. Either add -12:-1: 0 to existing offset, or restart the slicer with no offset or with offset=00
09.900. Either add -12:-1:30 to existing offset, or restart the slicer with no offset or with offset=00
09.900. Either add -10: 0:-47 to existing offset, or restart the slicer with no offset or with offset=00
What I need would be "-12:-1: 0" from the first line, for example. I was just using "awk '{print $4}'" originally but because of the damn space in the 1st and 3rd lines by the 0, that doesn't work for me. How to grab those fields correctly for all cases?
I'm looking for a way to dynamically modify a fied in the SQL file.
Example,
INSERT INTO `TABLE` VALUES(1AADFDF,DFF33D,10023,SOMEDATA, SOMEDATA);
INSERT INTO `TABLE` VALUES(1AADFDF,DFF33D,10098,SOMEDATA, SOMEDATA);
[code]....
The third field in this SQL file is what needs to change to n+1
"10023" needs to change to "1"
"10098" needs to change to "2"
"10123" needs to change to "3"
"10983" needs to change to "4"
etc...
I tried with awk and sed, but since both require the usage of ' (single quote), my variable fails to get updated. I know i can use cut and recreate the sql statememnt, but i believe there should be easier way using sed or awk. Would anyone know of any creative way to get this to work in one-liner? This needs to be a part of the script preferable without making call to external file.
For example: file a:Tom:blackLily:pinkfile b:Tom:bigKate:smallAnd, the result:join -t: a1 a ot:Tom:black:bigLily:pinkBut what I want is:Tom:black:bigLily::pink
View 2 Replies View RelatedI have a couple of MP3s that have duplicate fields in their ID3 tags. Let me show you what I mean: This is causing problems with some media players. Is there a tool that can automatically fix these MP3s in batch? I'd prefer a free Windows or Linux program. I'm not afraid to work on the command line if necessary.
View 2 Replies View RelatedMy computer acts strange - sometimes reboots spontanousely, sometimes does not want to boot. When I isse command "mcelog", I receive such info:
[Code]..
How can I read and understand it? Could somebody point me to some documentation?
I am trying to remove the space between the 2nd and 3rd fields but just cannot work out how to do it. I've considered sed, cut, awk...I know with sed you can replace all instances within a file but can you also specify to remove, say, the 2nd instance of a space in each line (this would be perfect for me)?
DAAE 60 402 Bejaia Algeria 1 36-43N 005-04E 36-43N 005-04E 2 2 P
DAAG 60 390 Dar-El-Beida Algeria 1 36-43N 003-15E 36-43N 003-15E 25 25 P
DAAJ 60 670 Djanet Algeria 1 24-33N 009-28E 24-33N 009-28E 1054 1054 P
[code]...
python can get anylink or any tutorials which is having few basic eg. and could help as a guide too. bcaz whatever now i have like "byte of python" which i feel difficult bcaz it lack in having eg. for modules of xml.so please help me by providing any better options
View 1 Replies View RelatedMy Centos disk was full. when I remove all the big files, df and du command not show right size. I reboot my server and in to rescue mode, it alert "you don't have any linux partitions".How do I fix it?I not use LVM.my server mount:
/dev/sda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
[code]....
i have install a new qlogic hba card, but i dont know its model
View 1 Replies View RelatedI am working on a traffic surveillance project which performs various image processing tasks with a number of visual sensors and a computing platform. My basic task in the project is the power optimization/management. I am using a ZOTAC-IONITX computing platform (Intel ATOM CPU + NVIDIA ION GPU). The problems that I am currently facing are:
I am unable to model the power consumption of various components e.g., processor, GPU, hard drive, memory etc, since there seems to be no way to measure the power consumption of individual system components. Since I don't have a power consumption model, I cannot come up with a power optimization algorithm. I am currently working on Linux. Is there any way to measure/model the power consumption of individual system component?
I have already checked powertop. It doesn't tells the power (watts) consumed by a component (e.g., microprocessor). It just gives information about the power state the processor is in (However there is no way to change the power state by the user) and the processors that cause processor to wakeup.
An error occured when I install my r8101 dirver. I have got the message:
/home/driver/r8101/src/r8101_n.c:1: error: code model 'kernel' not supported in the 32 bit mode
/home/driver/r8101/src/r8101_n.c:1: sorry, unimplemented: 64-bit mode not compiled in
make[3]: *** [/home/driver/r8101/src/r8101_n.o] Error 1
[Code]......
the difference between /proc and /sys? Also, When enabling public-key authentication using SSH, what file on the remote machine must be modified and how?
View 1 Replies View Relatedtoday i install centos x86_64 in my server, but /proc/cpuinfo display 2000Mhz . My processor model name : Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz, before the server had centos i386 and display 2800Mhz.
View 3 Replies View Related