On Thursday 14 December 2006 08:50, [EMAIL PROTECTED] wrote: > > Since dapper, the Ubuntu kernels have automagically handled SMP/UP where > > appropriate, too. :-) > > And still - is there a good way to find out the exact cpu information in a > useful way for a script? Something a-la the script used by gcc's source > code to automatically decide which architecture it should build for? (it's > been ages since I last built GCC so maybe it's different now). > > Solaris has some programs to identify the exact Sparc CPU it's running on > and list the most suitable architecture to use in order of descending > priority, (maybe it's called "hinv"?) something like this for linux would > be great.
Ummmm cat /proc/cpuinfo do what you like James -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
