Click here to Skip to main content
15,886,873 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Please confirm... Pin
Richard MacCutchan1-Mar-23 22:38
mveRichard MacCutchan1-Mar-23 22:38 
GeneralRe: Please confirm... Pin
trønderen2-Mar-23 9:13
trønderen2-Mar-23 9:13 
GeneralRe: Please confirm... Pin
theoldfool2-Mar-23 2:10
professionaltheoldfool2-Mar-23 2:10 
GeneralRe: Please confirm... Pin
dandy722-Mar-23 3:30
dandy722-Mar-23 3:30 
GeneralRe: Please confirm... Pin
theoldfool2-Mar-23 7:48
professionaltheoldfool2-Mar-23 7:48 
GeneralRe: Please confirm... Pin
dandy722-Mar-23 12:28
dandy722-Mar-23 12:28 
GeneralRe: Please confirm... Pin
Gerry Schmitz2-Mar-23 4:36
mveGerry Schmitz2-Mar-23 4:36 
GeneralRe: Please confirm... Pin
k50542-Mar-23 6:27
mvek50542-Mar-23 6:27 
Member 14968771 wrote:
What makes the CPU to run 100% or more ? Assembly language ??

Ultimately, yes, sorta, kinda, maybe, in that everything eventually gets down to machine code. Even things running in a JVM or CLI environment have to, at some point, run on the host CPU.

But that's a lot of overhead, especially if you're seeing it constantly. I'm looking at my Ubuntu 21.10 VmWare instance with 2 CPU and 2 G of ram and top shows 99.7 % idle. I am using about 1.0 G of ram, but 600MB of that is buffered/cache so it's essentially available for program use. That's with the system otherwise idle - only a single GUI login and a terminal running top.
What tools are you using to get your CPU usage? Maybe take a look at atop or glances, both of which provide more detail than top or htop.
Keep Calm and Carry On

GeneralMessage Closed Pin
2-Mar-23 8:16
Member 149687712-Mar-23 8:16 
GeneralRe: Please confirm... Pin
k50542-Mar-23 9:46
mvek50542-Mar-23 9:46 
GeneralRe: Please confirm... Pin
trønderen2-Mar-23 9:44
trønderen2-Mar-23 9:44 
GeneralThe Solution to COVID Pin
BernardIE53171-Mar-23 12:46
BernardIE53171-Mar-23 12:46 
GeneralRe: The Solution to COVID Pin
dandy723-Mar-23 3:39
dandy723-Mar-23 3:39 
GeneralHow does StarLink work? Pin
Marc Clifton1-Mar-23 11:38
mvaMarc Clifton1-Mar-23 11:38 
GeneralRe: How does StarLink work? Pin
PIEBALDconsult1-Mar-23 12:40
mvePIEBALDconsult1-Mar-23 12:40 
GeneralRe: How does StarLink work? Pin
BernardIE53171-Mar-23 13:25
BernardIE53171-Mar-23 13:25 
GeneralRe: How does StarLink work? Pin
theoldfool2-Mar-23 2:21
professionaltheoldfool2-Mar-23 2:21 
GeneralRe: How does StarLink work? Pin
Single Step Debugger2-Mar-23 2:56
Single Step Debugger2-Mar-23 2:56 
GeneralRe: How does StarLink work? Pin
raddevus1-Mar-23 14:53
mvaraddevus1-Mar-23 14:53 
GeneralDid you see the movie about a database query? Pin
Single Step Debugger1-Mar-23 8:53
Single Step Debugger1-Mar-23 8:53 
GeneralRe: Did you see the movie about a database query? Pin
jmaida1-Mar-23 13:57
jmaida1-Mar-23 13:57 
GeneralRe: Did you see the movie about a database query? Pin
PIEBALDconsult1-Mar-23 14:38
mvePIEBALDconsult1-Mar-23 14:38 
GeneralRe: Did you see the movie about a database query? Pin
megaadam2-Mar-23 0:23
professionalmegaadam2-Mar-23 0:23 
GeneralRe: Did you see the movie about a database query? Pin
DerekT-P2-Mar-23 1:22
professionalDerekT-P2-Mar-23 1:22 
GeneralRe: Did you see the movie about a database query? Pin
theoldfool2-Mar-23 2:18
professionaltheoldfool2-Mar-23 2:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.