|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
run:
dmesg | less -Steven |
|
#3
|
|||
|
|||
|
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?
|
|
#4
|
||||
|
||||
|
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 |
|
#5
|
|||
|
|||
|
Quote:
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? |
|
#6
|
|||
|
|||
|
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 |
|
#7
|
||||
|
||||
|
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 |
|
#8
|
|||
|
|||
|
Quote:
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. |
|
#9
|
||||
|
||||
|
read this section: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html
|
|
#10
|
|||
|
|||
|
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 |
|
#11
|
||||
|
||||
|
Quote:
Maybe this article could come in handy: http://www.ddj.com/documents/s=955/ddj9611n/9611n.htm Happy hackin' |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > sysctl cpu model value & hardware check |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|