Instructional tutorials he's written have been linked to by organizations like The New York Times, Wirecutter, Lifehacker, the BBC, CNET, Ars Technica, and John Gruber's Daring Fireball. The news he's broken has been covered by outlets like the BBC, The Verge, Slate, Gizmodo, Engadget, TechCrunch, Digital Trends, ZDNet, The Next Web, and Techmeme. Beyond the column, he wrote about everything from Windows to tech travel tips. He founded PCWorld's "World Beyond Windows" column, which covered the latest developments in open-source operating systems like Linux and Chrome OS. He also wrote the USA's most-saved article of 2021, according to Pocket.Ĭhris was a PCWorld columnist for two years. ![]() Beyond the web, his work has appeared in the print edition of The New York Times (September 9, 2019) and in PCWorld's print magazines, specifically in the August 2013 and July 2013 editions, where his story was on the cover. With over a decade of writing experience in the field of technology, Chris has written for a variety of publications including The New York Times, Reader's Digest, IDG's PCWorld, Digital Trends, and MakeUseOf. Chris has personally written over 2,000 articles that have been read more than one billion times-and that's just here at How-To Geek. This may also be useful: How to Find CPU Processor Information in Solaris (Doc ID 1444358.Chris Hoffman is the former Editor-in-Chief of How-To Geek. Let linenum=2for ((i = 1 i Physical Processor 1 (chip id: 1024): # now derive the vcpu-to-core mapping based on above information #Įcho -e "\n** Socket-Core-vCPU mapping **" Speedinghz=`echo "scale=2 $speedinmhz/1000" | bc`Įcho "Total number of physical processors: $nproc"Įcho "Number of virtual processors: $vproc"Įcho "Number of cores per physical processor: $ncoresperproc"Įcho "Number of hardware threads (strands or vCPUs) per core: $nstrandspercore"Įcho "Processor speed: $speedinmhz MHz ($speedinghz GHz)" Nproc=`(grep chip_id /var/tmp/cpu_info.log | awk '' | sort -u)` usr/bin/kstat -m cpu_info | egrep "chip_id|core_id|module: cpu_info" > /var/tmp/cpu_info.log However, the formatting of the page seems a little messed up, so here is the script and example output: The script can be executed by any OS user. Since it is just a shell script, tweak the code as you like. Due to the changes in the output of cpu_info over the years, it is possible that the script may return incorrect information in some cases. This script showed valid output on recent T-series, M-series hardware as well as on some older hardware - Sun Fire 4800, x4600. ![]() The user must know few details about the underlying hardware and run multiple commands to figure out the exact number of physical processors, cores etc.,įor the benefit of our customers, here is a simple shell script that displays the number of physical processors, cores, virtual processors, cores per physical processor, number of hardware threads (vCPUs) per core and the virtual CPU mapping for all physical processors and cores on a Solaris system (SPARC or x86/圆4). ![]() However for some reason it ain't the case as of today. It should be easy to find this information just by running an OS command. I believe that this is the link now: Oracle Solaris: Show Me the CPU, vCPU, Core Counts and the Socket-Core-vCPU Mapping, which states: Improving upon vikkp's answer for Solaris CPU usage, as the link seems to have died.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |