LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-02-2016, 03:13 PM   #1
steelheat
Member
 
Registered: Jun 2006
Location: Western US of A
Distribution: Kubuntu20.04,Debian 9,10,11,#419541 wRegistered user ith the Linux Counter
Posts: 86

Rep: Reputation: 7
Something just takes control of my system and I can do nothing about it!


I am using Kubuntu 1404 LTD

Is there an application that will tell me what is using up all my system resources?

Why I need such a program:
This dose not happen everyday but, two to three days a week, when it starts then it will completely stop for awhile, I can't figure out what's going on!

What happens is, I'll boot up the system and everything is fine, give it about 5 minutes. and bam, it just comes to a stop. I click on something and about three or four minutes later what I clicked starts to work, maybe, or starts then stops like everything else. The entire time the lights
on the modem/router are going full bore.

Sometimes, it starts after I open the FireFox browser, this seems to trigger it more often than not, and it just sits there and wont do
anything. I have to use the reset button to stop it down!

I have tried to use Htop, but I don't understand what it's telling me, another reason to find another program that can check the system at any given time and finding out what is going on.

Thanks, any help will be appreciated!
 
Old 05-02-2016, 03:38 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Well, I was going to recommend htop and use F6 and choose to sort by CPU% or MEM%. This will tell you which application(s) are hogging your resources if that's what your problem is. Of course, it might be your hardware. For all we know, you're using a 386 machine with 256MB of RAM.
 
Old 05-02-2016, 03:44 PM   #3
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,781

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
You can also use KDE's System Monitor in GUI or "ps aux" in terminal. It would also be good to use a search engine for "Linux what processes I need" or something like that to inform you of commonly needed running processes for the way you use your PC, such as Home Desktop.
 
1 members found this post helpful.
Old 05-03-2016, 11:59 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,137

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Could this be the abominable Baloo?
https://community.kde.org/Baloo/Configuration
http://ubuntuforums.org/showthread.php?t=2217434
 
Old 05-03-2016, 02:57 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Might look at command line tool, top.

If someone is really remotely using or some malware is taking over then you may not easily find the issue. Clean install from known good sources and apply as many best practices as you can to avoid this issue.
 
Old 05-03-2016, 04:42 PM   #6
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,781

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
You can easily determine if anyone has control by using the "who" command and/or "lsof" and comparing that to how you are logged in and what you are running. Programs like "htop" and "ps aux" will reveal who owns what processes. That said, takeover of Linux boxes is extremely, EXTREMELY rare, though often suspected by those who don't check these things.

Malware in Linux is both a joke and extremely serious. It is a joke in that the most common sort of Malware, data mining, is all but impossible in a properly administered Linux install. People, in fact very heavy hitters and entire organizations, have tried for years and only last year someone finally was able to insert a malware app in Linux, but it was unable to operate. It just sat there.

The serious side is that if someone(s) is skilled enough (and that's REALLY skilled) to get root in a properly administered Linux system, they are very unlikely to waste time messing with your abilities to use the system or even continuously run an app in your system (though "rkhunter" would reveal that). They are far more likely to infect Firmware, way below the level of an OpSys and own your box without you ever knowing or even having any reason for suspecting. Don't panic. This is also exceedingly rare. The odds are miniscule.

To Steelheat (OP) - It is quite common that those attracted to Ubuntu are newcomers and that you are unaware of system monitoring commands makes me suspect this is true with you. There is zero shame in that. Everyone must begin as a beginner. It is similarly likely that you prefer GUI to CLI so I'm going to recommend that you use KDE System Monitor or, better, install GKrellm which is a docked app like an instrument panel that will monitor CPU and RAM usage as well as number of running processes fulltime and in realtime. It will also monitor all logins. With this you can easily see what is going on at all times. Later, as you learn the value of knowing code, you might replace GKrellm with Conky and have complete control over what is monitored, and how.

Most Importantly There seems to be either a bug or just a problem in Browsers (possibly only Mozilla-based) or YouTube, or Flash and/or html 5 that causes occasional lockups. Some people think nVidia drivers play a part but that is unconfirmed.

The bottom line is DO NOT HIT THE RESET BUTTON. First try Alt-Tab to switch between open apps (assuming you have more than one open, and I recommend you do exactly for this workaround)) and the mouse will free up and return to normal. There does seem to be some connection with rendering sound on streaming content, so check that out if that applies to you.
 
2 members found this post helpful.
Old 05-03-2016, 09:07 PM   #7
steelheat
Member
 
Registered: Jun 2006
Location: Western US of A
Distribution: Kubuntu20.04,Debian 9,10,11,#419541 wRegistered user ith the Linux Counter
Posts: 86

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by weibullguy View Post
Well, I was going to recommend htop and use F6 and choose to sort by CPU% or MEM%. This will tell you which application(s) are hogging your resources if that's what your problem is. Of course, it might be your hardware. For all we know, you're using a 386 machine with 256MB of RAM.
Thanks weibullguy, I now realise the need to know these things and my system is a x86_64 and memory is 8175712 kB.
 
Old 05-03-2016, 09:10 PM   #8
steelheat
Member
 
Registered: Jun 2006
Location: Western US of A
Distribution: Kubuntu20.04,Debian 9,10,11,#419541 wRegistered user ith the Linux Counter
Posts: 86

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by enorbet View Post
You can also use KDE's System Monitor in GUI or "ps aux" in terminal. It would also be good to use a search engine for "Linux what processes I need" or something like that to inform you of commonly needed running processes for the way you use your PC, such as Home Desktop.
Thanks enorbet, Thanks for pointing these things out to me, I can see their importance to know. Now I'm armed up with "ps aux" I'll most likely be back for more help. Thanks again!
P.S. I also just found this command will help too: $ cat /proc/meminfo
 
Old 05-03-2016, 09:10 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
http://www.linuxtopia.org/online_boo...Detection.html

I don't believe that any OS that is connected to the internet is also immune to attack. Every day we read about security issues. Every day we have to update because of critical issues. Every day we have to learn and use new skills to prevent data issues.
 
Old 05-03-2016, 09:15 PM   #10
steelheat
Member
 
Registered: Jun 2006
Location: Western US of A
Distribution: Kubuntu20.04,Debian 9,10,11,#419541 wRegistered user ith the Linux Counter
Posts: 86

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by DavidMcCann View Post
Thanks DavidMcCann, hopefully with "cat /proc/meminfo" and "ps aux" I'll be able to locate the system hog. And if it Baloo that I never heard of with your URL's I'll be able to tame it! Thanks again!
 
Old 05-03-2016, 09:26 PM   #11
steelheat
Member
 
Registered: Jun 2006
Location: Western US of A
Distribution: Kubuntu20.04,Debian 9,10,11,#419541 wRegistered user ith the Linux Counter
Posts: 86

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by jefro View Post
http://www.linuxtopia.org/online_boo...Detection.html

I don't believe that any OS that is connected to the internet is also immune to attack. Every day we read about security issues. Every day we have to update because of critical issues. Every day we have to learn and use new skills to prevent data issues.
Thank you jefro, in checking out your URL it looked like all the tools they mention are to be used on a network, my system is just a desktop PC.
Correct me if I've misread it! I did bookmark the site tho, they have a lot of things worth reading up on.
 
Old 05-03-2016, 09:54 PM   #12
steelheat
Member
 
Registered: Jun 2006
Location: Western US of A
Distribution: Kubuntu20.04,Debian 9,10,11,#419541 wRegistered user ith the Linux Counter
Posts: 86

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by enorbet View Post
You can easily determine if anyone has control by using the "who" command and/or "lsof" and comparing that to how you are logged in and what you are running. Programs like "htop" and "ps aux" will reveal who owns what processes. That said, takeover of Linux boxes is extremely, EXTREMELY rare, though often suspected by those who don't check these things.

Malware in Linux is both a joke and extremely serious. It is a joke in that the most common sort of Malware, data mining, is all but impossible in a properly administered Linux install. People, in fact very heavy hitters and entire organizations, have tried for years and only last year someone finally was able to insert a malware app in Linux, but it was unable to operate. It just sat there.

The serious side is that if someone(s) is skilled enough (and that's REALLY skilled) to get root in a properly administered Linux system, they are very unlikely to waste time messing with your abilities to use the system or even continuously run an app in your system (though "rkhunter" would reveal that). They are far more likely to infect Firmware, way below the level of an OpSys and own your box without you ever knowing or even having any reason for suspecting. Don't panic. This is also exceedingly rare. The odds are miniscule.

To Steelheat (OP) - It is quite common that those attracted to Ubuntu are newcomers and that you are unaware of system monitoring commands makes me suspect this is true with you. There is zero shame in that. Everyone must begin as a beginner. It is similarly likely that you prefer GUI to CLI so I'm going to recommend that you use KDE System Monitor or, better, install GKrellm which is a docked app like an instrument panel that will monitor CPU and RAM usage as well as number of running processes fulltime and in realtime. It will also monitor all logins. With this you can easily see what is going on at all times. Later, as you learn the value of knowing code, you might replace GKrellm with Conky and have complete control over what is monitored, and how.

Most Importantly There seems to be either a bug or just a problem in Browsers (possibly only Mozilla-based) or YouTube, or Flash and/or html 5 that causes occasional lockups. Some people think nVidia drivers play a part but that is unconfirmed.

The bottom line is DO NOT HIT THE RESET BUTTON. First try Alt-Tab to switch between open apps (assuming you have more than one open, and I recommend you do exactly for this workaround)) and the mouse will free up and return to normal. There does seem to be some connection with rendering sound on streaming content, so check that out if that applies to you.


Thanks again enorbet, for taking the time to help me out! I've installed both GKrellm and Conky, thanks for the heads-up. I'll be checking them both out. Thanks again!
 
Old 05-04-2016, 04:21 PM   #13
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Not sure you are being attacked, could be just a bad mouse or some issue with window manager.

It's hard to be totally secure. The link I posted is just some idea of the tools available. Some may be in your package manager.

The term "best practices" at skills and programs and settings that you can learn and use to make a more secure system. The more you learn and use the more likely that your data will be safe.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
If X Window System is not used what takes it's place? theKbStockpiler Linux - General 6 03-22-2011 11:07 PM
HighPoint Rocketraid takes over full control of HDs? Pearlseattle Linux - Hardware 2 02-03-2008 02:57 AM
what takes longer? system() or connect() (C/C++) Thinking Programming 6 03-03-2006 09:54 PM
Suddenly my system takes twice the memory Imerion Linux - General 5 12-21-2005 06:19 PM
Sendmail takes too mush system resources executor Linux - Software 0 12-14-2005 05:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration