LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-12-2020, 07:14 AM   #1
seamore
Member
 
Registered: Sep 2009
Posts: 83

Rep: Reputation: 1
Getting Hardware Info


Is there a way to get hardware information such as CPU specs?
Have an old server don't have record of specs.
 
Old 09-12-2020, 07:18 AM   #2
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,027

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
This might help - https://www.binarytides.com/linux-co...hardware-info/
 
2 members found this post helpful.
Old 09-12-2020, 07:34 AM   #3
thirdm
Member
 
Registered: May 2013
Location: Massachusetts
Distribution: Slackware, NetBSD, Debian, 9front
Posts: 326

Rep: Reputation: Disabled
There's a script called neofetch that will show basic hardware info. slackbuilds.org packages it (how much you need packaging to run a shell script I don't know). There's another like it in current maybe that's become more popular, I forget the name.

Output from neofetch:

Code:
$ /usr/bin/neofetch 
                  :::::::                      herring@ware.sea
            :::::::::::::::::::                ----------------------- 
         :::::::::::::::::::::::::             OS: Slackware 14.2 x86_64 
       ::::::::cllcccccllllllll::::::          Host: HP EliteBook 8440p 
    :::::::::lc               dc:::::::        Kernel: 4.4.227 
   ::::::::cl   clllccllll    oc:::::::::      Uptime: 12 mins 
  :::::::::o   lc::::::::co   oc::::::::::     Packages: 111 (pkg_info), 1419 ( 
 ::::::::::o    cccclc:::::clcc::::::::::::    Shell: ksh Version AJM 93u+ 2012 
 :::::::::::lc        cclccclc:::::::::::::    Resolution: 1366x768 
::::::::::::::lcclcc          lc::::::::::::   Theme: GTK+ [GTK2], Adwaita [GTK 
::::::::::cclcc:::::lccclc     oc:::::::::::   Icons: Adwaita [GTK3] 
::::::::::o    l::::::::::l    lc:::::::::::   Terminal: xterm 
 :::::cll:o     clcllcccll     o:::::::::::    CPU: Intel i5 M 520 (4) @ 2.400G 
 :::::occ:o                  clc:::::::::::    GPU: NVIDIA NVS 3100M 
  ::::ocl:ccslclccclclccclclc:::::::::::::     Memory: 405MiB / 3812MiB 
   :::oclcccccccccccccllllllllllllll:::::
    ::lcc1lcccccccccccccccccccccccco::::                               
      ::::::::::::::::::::::::::::::::                                 
        ::::::::::::::::::::::::::::
           ::::::::::::::::::::::
                ::::::::::::
The theme output is unreliable. It has nothing to do with what I'm running that I can see.

If you want more info read through your dmesg or look at files under /proc and /sys.
 
1 members found this post helpful.
Old 09-12-2020, 07:47 AM   #4
Uncle Lumpy
Member
 
Registered: Feb 2010
Posts: 63

Rep: Reputation: 48
I run "dmidecode" to get a bunch of hardware info from my Slackware boxen.

Lumpy
 
1 members found this post helpful.
Old 09-12-2020, 07:50 AM   #5
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Try dmidecode. See "man dmidecode" for details.
 
Old 09-12-2020, 10:02 AM   #6
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
inxi is a handy script for this:
Code:
# basic info (same as inxi -v 2)
inxi -b
The -v option goes from 0 (minimal) up to 8 (everything).
 
1 members found this post helpful.
Old 09-12-2020, 10:41 AM   #7
seamore
Member
 
Registered: Sep 2009
Posts: 83

Original Poster
Rep: Reputation: 1
Wow! This is a great forum. Thank you for the quick responce. Have not been here in a while. Stay safe everyone.
 
Old 09-12-2020, 11:07 AM   #8
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by seamore View Post
Is there a way to get hardware information such as CPU specs?
Have an old server don't have record of specs.
Hi,
If you don't mind installing it you can get lshw from SBo. I find that it does a great job
 
1 members found this post helpful.
Old 09-12-2020, 11:43 AM   #9
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,730

Rep: Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393
hwinfo is another good program
https://slackbuilds.org/repository/1...?search=hwinfo
 
1 members found this post helpful.
Old 09-12-2020, 04:46 PM   #10
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,318

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
Originally Posted by drgibbon View Post
inxi is a handy script for this:
Code:
# basic info (same as inxi -v 2)
inxi -b
The -v option goes from 0 (minimal) up to 8 (everything).
apparently does weather too
 
1 members found this post helpful.
Old 09-13-2020, 07:05 PM   #11
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Rep: Reputation: Disabled
Quote:
Originally Posted by seamore View Post
Is there a way to get hardware information such as CPU specs?
Seeing people suggesting third party tools for this is slightly confusing me.

Doesn't anybody do just

Code:
cat /proc/cpuinfo
anymore nowadays?

Sure I understand and agree that those recommended third party tools allow gathering data about all hardware, not just the CPU.
 
Old 09-13-2020, 07:58 PM   #12
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,385
Blog Entries: 28

Rep: Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164
Included with KDE is the KInfoCenter, which works very nicely.
 
1 members found this post helpful.
Old 09-13-2020, 07:58 PM   #13
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by thirdm View Post
There's a script called neofetch that will show basic hardware info. slackbuilds.org packages it (how much you need packaging to run a shell script I don't know). There's another like it in current maybe that's become more popular, I forget the name.[/CODE]
neofetch is included in current. screenfetch is rather similar but is available on SBo
 
Old 09-14-2020, 08:37 PM   #14
thirdm
Member
 
Registered: May 2013
Location: Massachusetts
Distribution: Slackware, NetBSD, Debian, 9front
Posts: 326

Rep: Reputation: Disabled
Quote:
Originally Posted by FlinchX View Post
Seeing people suggesting third party tools for this is slightly confusing me.
This forum taught me the existence of neofetch, and I wanted to pass it on. It's neat for having ascii art for different systems. Try --ascii_distro with each of the distros mentioned in the man page to see all of it. The art for some systems is really nice.

And it gives the top level most important info, the name of your cpu, your chipset and your video card. You can find all that elsewhere obviously, but it's a nice summary. For me the video card name is especially helpful. When I look for that in dmesges or Xorg.log I'm not sure which names for nvidia are the gpu chipset and which the card name.

I'd be the first to avoid extraneous packages, but it's only a shell script and a man page.
 
Old 09-14-2020, 09:05 PM   #15
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Get your fish and tips here.

Find most your answers there: www.duckduckgo.com/ ...
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: hwinfo (Hardware Info) – A Nifty Tool To Detect System Hardware Information On Linux LXer Syndicated Linux News 0 08-31-2017 04:15 PM
getting cpu info, system info thru system calls naveenisback Programming 7 06-11-2010 02:06 PM
Convert an info file(bash.info.gz) to a single html file Darwish Linux - Software 2 09-24-2005 06:51 AM
dhcpcd getting IP, but not getting ns info tisource Linux - Networking 0 05-25-2005 10:16 AM
man or info, info or man?! Tuttle Linux - General 2 12-12-2004 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration