Solved

processor info 6 months ago

Posted on 2006-06-23
6
269 Views
Last Modified: 2013-12-06
I need to do some detective work!

I know that you can see how many processors a linux machine has by running the command "less /proc/cpuinfo | grep processor".
Is there anyway to see how many processors a machine had at some point in the past?  E.g. an archived cpuinfo file or anything like that?

The machine in question is running Red Hat Enterprise Server 3.0 BTW.

Many thanks
0
Comment
Question by:u9707118
6 Comments
 
LVL 15

Assisted Solution

by:DonConsolio
DonConsolio earned 20 total points
ID: 16969731
you can browse old "/var/log/messages" files

0
 

Author Comment

by:u9707118
ID: 16969927
Hi,

I can only see four versions of this file.  Only the most recent has any information.  The rest just tell you that the system was rebooted.

0
 
LVL 22

Accepted Solution

by:
pjedmond earned 20 total points
ID: 16970469
The files that you see are the logs as left by the log daemon - It swaps around logs and deletes old ones, so if you wand to look at further back than the dates of the logs, then you cannot do it.

However, what might be useful to you is dedermining whether the system has changed from being a single CPU to a SMP (multiple cpu)?

You may be able to glean some information relating to this by looking at the files in /boot and looking at the dates on the files there. SMP files will probably have SMP in their name?

(   (()
(`-' _\
 ''  ''
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 88

Assisted Solution

by:rindi
rindi earned 20 total points
ID: 16970878
If you have good backups you can restore old /var/log/messages files...
0
 
LVL 27

Assisted Solution

by:Nopius
Nopius earned 20 total points
ID: 16981557
You may try to grep root mail for periodic kernel log messages, like:

grep -i processor /var/spool/mail/root
0
 

Author Comment

by:u9707118
ID: 16990026
Thanks for trying guy's but unfortunately none of these suggestions have helped me.
I don't think I will be able to get the information I am looking for.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question