SunQuest
           BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old July 24th, 2004, 03:36 AM
phi95aly phi95aly is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 65 phi95aly User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 5 m 55 sec
Reputation Power: 5
sysctl cpu model value & hardware check

on our server running freebsd 4.7, <sysctl hw.model> returns "Pentium 4" However, we are paying our isp for a Xeon. How accurate is this information from sysctl, that is, where does it get its signature? Anybody with an Intel Xeon care to check if this is indeed the value? also, is there another way of verifying the cpu and cpu speed (hw.cpufrequency seems not supported). and since i'm now awfully suspicious ( ), any way to check if we are in fact using a 3x RAID?? thks.

Reply With Quote
  #2  
Old July 24th, 2004, 08:54 AM
stevengs stevengs is offline
Permanently Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: Germany
Posts: 394 stevengs User rank is Lance Corporal (50 - 100 Reputation Level)stevengs User rank is Lance Corporal (50 - 100 Reputation Level)stevengs User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 4 h 36 m 24 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
run:

dmesg | less


-Steven

Reply With Quote
  #3  
Old July 24th, 2004, 07:10 PM
phi95aly phi95aly is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 65 phi95aly User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 5 m 55 sec
Reputation Power: 5
dmesg doesnt seem to be available on this system. "command not found" did a find on the root and only manpages came up? could it be, my isp disabled it?

Reply With Quote
  #4  
Old July 25th, 2004, 06:39 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,442 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 h 55 m 33 sec
Reputation Power: 797
How about:
less /var/run/dmesg.boot
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne

Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month

Reply With Quote
  #5  
Old July 26th, 2004, 04:00 AM
phi95aly phi95aly is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 65 phi95aly User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 5 m 55 sec
Reputation Power: 5
Quote:
Originally Posted by Scorpions4ever
How about:
less /var/run/dmesg.boot

not there. did a find on everything dmesg and nada... is it possible that xeon is registerd as pentium 4? what 'bout the 3-disk raid configuration. how can i confirm this?

Reply With Quote
  #6  
Old July 26th, 2004, 11:08 AM
stevengs stevengs is offline
Permanently Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: Germany
Posts: 394 stevengs User rank is Lance Corporal (50 - 100 Reputation Level)stevengs User rank is Lance Corporal (50 - 100 Reputation Level)stevengs User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 4 h 36 m 24 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
the dmesg binary is part of the base system, so if it is there it should be in /sbin/. The logs are in /var/log, and as Scorpions said, in /var/run.

Are you on dedicated hardware, or a virtual server?

If you can't find the dmesg , then I would recommend trying to use the cpuid function. This requires a bit of programming ( assembler, c etc. ) so you're best bet would be to find a ready coded proggy. I'll have a look myself...

-Steven

Reply With Quote
  #7  
Old July 27th, 2004, 03:00 PM
John5788's Avatar
John5788 John5788 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: 127.0.0.1
Posts: 442 John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 10 m 16 sec
Reputation Power: 7
Send a message via ICQ to John5788 Send a message via AIM to John5788 Send a message via Yahoo to John5788
if dmesg isnt there, couldnt u just rebuild world and make it there again?
__________________
John5788
EMail: john5788@x5788.net
URL: http://www.x5788.net
AIM: John57881, John57883
ICQ: 74077537
MSN: John@5788.zzn.com
YIM: John5788

Reply With Quote
  #8  
Old July 27th, 2004, 06:14 PM
phi95aly phi95aly is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 65 phi95aly User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 5 m 55 sec
Reputation Power: 5
Quote:
Originally Posted by stevengs
Are you on dedicated hardware, or a virtual server?


It's a hybrid, really. they call it Managed Private Server, basically a dedicated server that still runs some form of VPS simulation (imagine a vps where they move off everybody else...). i'm still trying to figure out what real limitation/differences there are to stand-alone dedicated FreeBSD access. since this is a late incarnation with full root access etc. from what i'm reading (Lehey - The Complete FreeBSD) i currently dont see any difference to a dedicated machine. could the absence of dmesg bootlogs be realted to this though? also, John5788, i'm sorry but could you please clarify "rebuild world". thank you.

Reply With Quote
  #9  
Old July 27th, 2004, 06:17 PM
John5788's Avatar
John5788 John5788 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: 127.0.0.1
Posts: 442 John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level)John5788 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 10 m 16 sec
Reputation Power: 7
Send a message via ICQ to John5788 Send a message via AIM to John5788 Send a message via Yahoo to John5788
read this section: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html

Reply With Quote
  #10  
Old July 27th, 2004, 06:34 PM
stevengs stevengs is offline
Permanently Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: Germany
Posts: 394 stevengs User rank is Lance Corporal (50 - 100 Reputation Level)stevengs User rank is Lance Corporal (50 - 100 Reputation Level)stevengs User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 4 h 36 m 24 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
well, I am pessimistic by nature, so when tools that to some extent indicate the underlying hardware specs are missing, bells start goin' off (have they possibly something to hide??). I guess that just comes from inherently expecting salesmen to lie (the best salesmen are the most believable, so if it sounds good, I know I'm gettin' screwed). But don't let my beliefs ruin your day. It is quite possible that your salesman is a good guy, and I am just too cynical.

I am still working on that c/assembler program to check the cpu id.. but I haven't much time lately, so I can't promise I'll get it done this week.

-Steven

Reply With Quote
  #11  
Old July 27th, 2004, 07:25 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,442 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 h 55 m 33 sec
Reputation Power: 797
Quote:
Originally Posted by stevengs
I am still working on that c/assembler program to check the cpu id..

Maybe this article could come in handy:
http://www.ddj.com/documents/s=955/ddj9611n/9611n.htm
Happy hackin'

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > sysctl cpu model value & hardware check


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |