Manjaro Linux Forum

Technical Issues and Assistance => Kernel & Hardware => Topic started by: aaditya on 29. September 2013, 12:03:57

Title: [HowTo] get and post your System Info
Post by: aaditya on 29. September 2013, 12:03:57
The following commands will get you some basic details about your setup.These commands can be typed in a terminal.
When debugging hardware problems, information about one's system is needed.
Here is how some needed system info can be gathered.

Whenever posting about hardware issues, try to list this information where relevant, by Posting it inside the code blocks (button symbol: # ).


1.Brief System Info
Code: [Select]
inxi -Fxz
2.Kernels currently installed
Code: [Select]
mhwd-kernel -li
3.GPU (Graphics) in use
Code: [Select]
mhwd -li
4.USB Devices info
Code: [Select]
lsusb
5.CPU information
Code: [Select]
lscpu
6.Kernel messages
Code: [Select]
dmesg
7.Partitions info
Code: [Select]
sudo fdisk -l
Code: [Select]
lsblk -f
8.System log
Code: [Select]
journalctl -f(for full journal dont give -f option)

9.XServer logs
Code: [Select]
cat /var/log/Xorg.0.log
Code: [Select]
cat /var/log/Xorg.1.log
Code: [Select]
cat /var/log/Xorg.2.log
According to the graphics configuration, the files found in /etc/X11/xorg.conf.d and /etc/X11/mhwd.d
may also be useful.


10.Kernel Modules loaded
Code: [Select]
lsmod
11.Network devices
Code: [Select]
ip addr
rfkill list

12.Input Devices
Code: [Select]
xinput
13.PCI Devices (like Graphics/DRAM controller & network interfaces) in detail
Code: [Select]
lspci -v
14.Sound Devices
Code: [Select]
aplay -l
15.Real Time System Info (like CPU processes, RAM usage)
Code: [Select]
top(Or
Code: [Select]
htopif you have it installed and want a ncurses interface)

16.Kernel and System Info
Code: [Select]
uname -a
Note-
You can suggest more commands you think can be added here.
Thanks to the people who gave suggestions.

P.S.
Here is a link where you can Post your hardware you are running Manjaro on (http://forum.manjaro.org/index.php?topic=3066.0).
Title: Re: [HowTo] How to post your System Info?
Post by: cumali on 29. September 2013, 13:04:42
Was a nice tutorial. Thank you @aaditya ;)
Title: Re: [HowTo] How to post your System Info?
Post by: aaditya on 29. September 2013, 13:25:02
Thank you Cumali :)
Title: Re: [HowTo] How to post your System Info?
Post by: aaditya on 01. October 2013, 18:32:31
To check your memory usage-
Code: [Select]
free -m(This command is somewhat subjective and should be used for reference only!)

To check which processes are running and CPU load,
Code: [Select]
top
A graphical way to check this information is through the Task Manager/ System Monitor.
They are found in Applications -> System (varies according to the desktop environment)

A graphical view to view the system  load is htop
Install it with
Code: [Select]
sudo pacman -S htopIt would also be probably found in Applications -> System -> Htop
Title: Re: [HowTo] How to post your System Info?
Post by: Zileene on 01. October 2013, 19:47:21
To see who's logged on, what they're running + current time, system uptime and CPU load average:
Code: [Select]
w
A quick temperature check:
Code: [Select]
sensors(needs lm_sensors package)
Title: Re: [HowTo] How to post your System Info?
Post by: mips on 01. October 2013, 20:09:50
To check your memory usage-
Code: [Select]
free -m(This command is somewhat subjective and should be used for reference only!)


free sucks as far as I'm concerned, if you want to check accurate memory usage by application/process try ps_mem.py


This will download the script, copy it to sbin and rename it to mem (less to type out) and change rights:
Code: [Select]
wget https://raw.github.com/pixelb/ps_mem/master/ps_mem.py
sudo cp ps_mem.py /usr/local/sbin/mem && sudo chmod 755 /usr/local/sbin/mem

[Post corrected at forum member's request - carl]

To execute the command simply do:
Code: [Select]
sudo mem
Title: Re: [HowTo] How to post your System Info?
Post by: amboyguy on 01. October 2013, 22:07:54
Somehow the && between the commands went missing in mips post.

Code: [Select]
sudo cp ps_mem.py /usr/local/sbin/mem && sudo chmod 755 /usr/local/sbin/mem
Title: Re: [HowTo] How to post your System Info?
Post by: flashboy on 01. October 2013, 23:27:54
How about video acceleration???

I want to active videoacceleration but I did't finde eny INFO about.  :(

I use this comande like in UBUNTU : glxgears    The result was :

Quote
[booboo@booboo ~]$ glxgears
302 frames in 5.0 seconds = 60.398 FPS
300 frames in 5.0 seconds = 59.954 FPS
300 frames in 5.0 seconds = 59.954 FPS
300 frames in 5.0 seconds = 59.954 FPS
300 frames in 5.0 seconds = 59.955 FPS
300 frames in 5.0 seconds = 59.955 FPS
300 frames in 5.0 seconds = 59.954 FPS

In UBUNTU I was like this :

Quote
19948 frames in 5.0 seconds = 3987.691 FPS
19040 frames in 5.0 seconds = 3804.944 FPS
19660 frames in 5.0 seconds = 3928.221 FPS
18775 frames in 5.0 seconds = 3751.409 FPS
19472 frames in 5.0 seconds = 3893.304 FPS
18800 frames in 5.0 seconds = 3759.677 FPS

I think the acceleration is not actived in Manjaro. I have the last updates but I think I need to active video acceleration. But what command do I need to do that?
Title: Re: [HowTo] How to post your System Info?
Post by: aaditya on 02. October 2013, 06:52:00
@flippy, open a new thread for any problems, this thread only illustrates the commands to perform.

Quote
$glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.

302 frames in 5.0 seconds = 60.390 FPS
299 frames in 5.0 seconds = 59.762 FPS

Perhaps you have a hybrid graphics card, in which you need to specify which card you have to use for applications. For nvidia its optirun glxgears.

Read the topics in the forums with similar issues, and if you have problems, open a new thread.

Edit-
I forgot to mention, glxgears is not a benchmark!
http://wiki.cchtml.com/index.php/Glxgears_is_not_a_Benchmark (http://wiki.cchtml.com/index.php/Glxgears_is_not_a_Benchmark)
Title: Re: [HowTo] How to post your System Info?
Post by: Esclapion on 02. October 2013, 11:20:05
 :)

Try :

Code: [Select]
export vblank_mode=0
glxgears
Title: Re: [HowTo] How to post your System Info?
Post by: mips on 02. October 2013, 11:31:44
Somehow the && between the commands went missing in mips post.

Code: [Select]
sudo cp ps_mem.py /usr/local/sbin/mem && sudo chmod 755 /usr/local/sbin/mem


Thanks, copy & paste error on my part, I had it on two separate lines but it somehow ended up on one line.


I'll report my post and ask the mods to edit it ;)
Title: Re: [HowTo] How to post your System Info?
Post by: LiberteCzech on 03. November 2013, 12:31:12
Aaditya, very good this listing  :) :)
This will definitely need at work.  ;)
Title: Re: [HowTo] How to post your System Info?
Post by: aaditya on 04. November 2013, 09:02:58
Thanks LiberteCzech ;)

You can add to it also if you think something is missing. :)
Title: Re: [HowTo] get and post your System Info
Post by: VraiChevalier on 27. January 2014, 01:49:00
I've always liked this one; outputs a lot of information.

Code: [Select]
sudo lshw
And this will output it in a nifty html format which is easily read in the web browser;

Code: [Select]
sudo lshw -html > your-file-name.html
This tool <lshw> was not installed by default in my Manjaro Netbook Xfce installation. I had to get it from the community repo.
Title: Re: [HowTo] get and post your System Info
Post by: Zileene on 14. February 2014, 20:51:42
15.Real Time System Info (like CPU processes, RAM usage)
Code: [Select]
top

I never got comfortable with top. My brain simply can't parse it.  ???  :-\
I found htop much more comfortable to use. I'm guessing the ncurses interface has something to do with that...  :P
Title: Re: [HowTo] get and post your System Info
Post by: Esclapion on 14. February 2014, 20:57:31
try "glances" ?
Title: Re: [HowTo] get and post your System Info
Post by: Zileene on 14. February 2014, 21:10:56
try "glances" ?

That won't let me kill any offending/frozen processes.  ;)
But it's nice for monitoring, especially if you have an idling extra monitor connected.  ;D
Title: Re: [HowTo] get and post your System Info
Post by: neonr4in on 19. April 2014, 14:32:35
top is good, but htop is more comfortable to use

anyway great tips, aaditya
Title: Re: [HowTo] get and post your System Info
Post by: Esclapion on 19. April 2014, 14:34:11
I use now qps, not bad at all.
Title: Re: [HowTo] get and post your System Info
Post by: fossiili on 20. April 2014, 06:47:15
Sorry, but what to do when in my old PC those commands does not work as expected:
Code: [Select]
[ukki@melutoosa ~]$ uname -a
Linux melutoosa 3.10.36-1-MANJARO #1 SMP Fri Apr 4 20:10:56 UTC 2014 i686 GNU/Linux
[ukki@melutoosa ~]$ uname -p
unknown
[ukki@melutoosa ~]$ uname -o
GNU/Linux
[ukki@melutoosa ~]$
Some pacman -S ..... needed  ::)

The Linux (distribution) is Manjaro Openbox 0.8.9-i686 and works well  :-*
Title: Re: [HowTo] get and post your System Info
Post by: Zileene on 23. April 2014, 03:53:37
Sorry, but what to do when in my old PC those commands does not work as expected:
Code: [Select]
[ukki@melutoosa ~]$ uname -p
unknown

It is working as expected.
Quote from: coreutils uname info page
'-p'
'--processor'
     Print the processor type (sometimes called the instruction set
     architecture or ISA). Print 'unknown' if the kernel does not make
     this information easily available, as is the case with Linux
     kernels.

Type
Code: [Select]
man uname for info on how to get to that page. ;)

Have Fun! :D
Z.
Title: Re: [HowTo] get and post your System Info
Post by: excalibur1234 on 07. February 2016, 11:16:30
if you want to know, which folders/directories on your hard drive take up the most space, i highly recommend
Code: [Select]
sudo pacman -S ncdu
you can start it in your terminal with "ncdu". by default, it shows all directories and files in your home folder. start it with "ncdu /" to look at your root directory.


if you want detailed information about your cpu, use
Code: [Select]
cat /proc/cpuinfo


if you want detailed information about your ram, use
Code: [Select]
cat /proc/meminfo