![]() ![]() Remember the old adage : “ On Linux, everything is a file “? On Linux systems, disk I/O metrics can be monitored from reading a few files on your filesystem. (If you came only for Prometheus & the Node Exporter, head over to the next section!) Finally, we are going to setup a quick Grafana dashboard in order to monitor the metrics we gathered before.We are going to set up the tools, set them as services and run them Then, we will see how Prometheus can help us monitoring our disk usage with the Node exporter.First, we will see how disk I/O monitoring can be done on a Linux system, from the filesystem itself (yes metrics are natively on your machine!) or from external tools such as iotop or iostat.This tutorial is split into three parts, each providing a step towards a complete understanding of our subject. sudo apt-get install hardinfoĪfter the installation is finished, you can run it using the following command in your terminal.We are going to use Prometheus to track those metrics, but we will see that it is not the only way to do it on a Linux system. It is included in the Ubuntu’s default repository and can be installed via the apt-get command like shown below. This gtk based GUI tool pulls information from the files in /proc subdirectory. The hardinfo tool is a graphical tool that shows information about hardware in a user-friendly window. Until now we have done everything from the terminal, is there any gui tool that can help us to find information about our CPU hardware? ![]() ![]() It is very useful for creating a basic idea for your CPU. Architecture: x86_64Īs you guys can see the output of the lscpu command is in a human-readable format and easier to read than the output we pulled manually from the /proc/cpuinfo file, but it does not provide many details for a linux geek. Open a new terminal (CTRL+ALT+T) and run the following command to get information about your cpu hardware details in your linux machine.Īfter running the above command, I get the following output. Unfortunately it does not have many options so there is not much you can do with it. The lscpu tools pulls the information from from sysfs and /proc/cpuinfo file, and prints it in a human-readable format, so everyone can understand it. vendor_id : GenuineIntelĪ very simple and useful command that can be used to gather information on CPU architecture like the like number of CPUs, threads, cores, sockets, NUMA nodes, information about CPU caches, CPU family, model and bogoMIPS is the lscpu utility. I have four processors, so the following is the output I get when running the above command. The following command will help you to get the vendor id of processors without printing the entire content of the /proc/cpuinfo file on your screen. cat /proc/cpuinfo | grep processor | wc -l I did an entire article on how to find the number of processors on your Linux machine. You can also find the number of processors by using the following command. Model name : Intel(R) Core(TM) i3-2350M CPU 2.30GHzįlags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpidĪddress sizes : 36 bits physical, 48 bits virtual ![]()
0 Comments
Leave a Reply. |