CPU

MCE hardware error cpu 0

1.0 Error While running Ubuntu 18.04.1 on a laptop, the following errors were observed. mce: hardware error cpu 0 machine check 0 bank 6 ae0000000040110a mce: hardware error tsc 0 addr ffb07540 misc 238a0000086 mce: hardware error processor 0:40651 time 1540082330 socket 0 Apic 0 microcode 24 ipmi dmi invalid offset 0 The system would …

MCE hardware error cpu 0 Read More »

sar command in Linux

The sar command under Linux and Unix systems gives the system activity reports. As the system works, a record of activities is kept in certain counters in the kernel. The sar command gives statistics regarding the CPU, I/O, paging, devices, memory, swap space, network, run queue length and load average, interrupts and power management. At …

sar command in Linux Read More »

pidstat

The best way to use pidstat is to pass a list of process ids with the -p parameter. The -u option reports CPU utilization. The -l parameter displays the process command name and its arguments. And we can optionally put time interval in seconds for the interval between reports and again, optionally, a count for …

pidstat Read More »

mpstat

The mpstat command in a Linux or Unix system gives the processor related statistics. mpstat is a part of the sysstat package for performance monitoring under Linux. The mpstat command gives the CPU utilization report and the hardware and software interrupts per second for each processor. By default, the CPU utilization report is printed. For …

mpstat Read More »

iostat

The iostat command is for getting the CPU and input-output devices' statistics for Linux and Unix systems. For example, $ iostat Linux 3.0.0-14-generic (hostname) Wednesday 06 June 2012 _i686_ (2 CPU) avg-cpu: %user %nice %system %iowait %steal %idle 17.38 0.13 3.13 1.63 0.00 77.74 Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn sda 11.78 111.65 69.79 11663838 …

iostat Read More »