Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

cpu

What is the correct way to view your CPU speed on Linux?

August 9, 2022 by Magenaut

I found two commands to output information about my CPU: cat /proc/cpuinfo and lscpu. /proc/cpuinfo shows that my CPU speed is 2.1 Ghz, whereas lspcu says it is 3167 Mhz. Which one is correct?

Categories Q&A, Unix & Linux Tags cpu, linux Leave a comment

Determining the particular processor on which a process is running

August 8, 2022 by Magenaut

I have access to an 8-core node of a Linux cluster. When logged in to the node, I can see a list of processors using this command:

Categories Q&A, Unix & Linux Tags cpu, linux, process, top Leave a comment

Why is kworker consuming so many resources on Linux 3.0.0-12-server?

August 8, 2022 by Magenaut

Last Friday I upgraded my Ubuntu server to 11.10, which now runs with a 3.0.0-12-server kernel. Since then the overall performance has dropped dramatically. Before the upgrade the system load was about 0.3, but currently it is at 22-30 on an 8 core CPU system with 16GB of RAM (10GB free, no swap used).

Categories Q&A, Unix & Linux Tags cpu, kernel, load, performance Leave a comment

Understanding top and load average

August 8, 2022 by Magenaut

I’m observing a high load average on a certain machine (about 9) in all three load fields. I understand load as the number of processes in state “run” / currently desiring CPU time. Am I correct at reasoning that if N processes are running on my machine this cannot produce a load greater than N?

Categories Q&A, Unix & Linux Tags cpu, load, process, top Leave a comment

Limiting processes to not exceed more than 10% of CPU usage

August 8, 2022 by Magenaut

I operate a Linux system which has a lot of users but sometimes an abuse occurs; where a user might run a single process that uses up more than 80% of the CPU/Memory.

Categories Q&A, Unix & Linux Tags centos, command-line, cpu, limit Leave a comment

What does an idle CPU process do?

August 7, 2022 by Magenaut

Looking at the source of strace I found the use of the clone flag CLONE_IDLETASK which is described there as:

Categories Q&A, Unix & Linux Tags cpu, linux-kernel Leave a comment

What are Kernel PMU event-s in perf_events list?

August 7, 2022 by Magenaut

Searching for what one can monitor with perf_events on Linux, I cannot find what Kernel PMU event are?
Namely, with perf version 3.13.11-ckt39 the perf list shows events like:

Categories Q&A, Unix & Linux Tags cpu, linux, monitoring, perf-event, performance Leave a comment

How to disable one CPU

August 7, 2022 by Magenaut

I’m trying to disable some CPUs of my server.
I’ve found this link: https://www.cyberciti.biz/faq/debian-rhel-centos-redhat-suse-hotplug-cpu/linux-turn-on-off-cpu-core-commands/, which offers me a method as below:

Categories Q&A, Unix & Linux Tags cpu, cpu-usage, linux, numa, ps Leave a comment

How do I know which processors are physical cores?

August 7, 2022 by Magenaut

I’ve got an Intel i7 2700k here, and I’d like to know how I can tell which processors are physical and which are virtual (ie: hyperthreading). I’m currently running a Conky script to display my CPU temps, frequencies, and loads, but I’m not sure that I’ve done it right:

Categories Q&A, Unix & Linux Tags cpu Leave a comment

How does a CPU know there is IO pending?

August 6, 2022 by Magenaut

I have been looking into the iowait property shown in top utility output as shown below.

Categories Q&A, Unix & Linux Tags cpu, linux, load-average, top Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress