Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-06-2004, 11:44 AM
|
#1
|
Member
Registered: Oct 2003
Location: France
Distribution: RH9
Posts: 84
Rep:
|
cpu nearly always at 100%
Hello,
I wonder why my processor is so busy on my dell i5150 laptop, 3Ghz with 512 Mo of RAM, with gnome gui.
I often open an xterm, nautilus, and system mo,itor
I have noticed
~15< gnome-system-monitor < 60
~15< X < ~30
in anacron:
~10 updatadb
and other processus in anacron between 10 and 40%
How can I reduce that ? What goes wrong ?
Cheers, xround
|
|
|
09-06-2004, 12:15 PM
|
#2
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
have you ran the :
command to see if there was anything unusual causing this ?
|
|
|
09-06-2004, 02:37 PM
|
#3
|
Member
Registered: Oct 2003
Location: France
Distribution: RH9
Posts: 84
Original Poster
Rep:
|
Using top, I noticed X process uses at least 20% of cpu.
And there are sometimes updated and kjournald, which are pretty high.
Now cpu uses is more ok, but it still uses between 20 and 40% while I am doing nothing!
Xround
|
|
|
09-06-2004, 03:28 PM
|
#4
|
Member
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 251
Rep:
|
How often is anacron running updatedb?
|
|
|
09-07-2004, 08:18 AM
|
#5
|
Member
Registered: Oct 2003
Location: France
Distribution: RH9
Posts: 84
Original Poster
Rep:
|
Today it is better, but yesterday there were series of peaks every ~10 minutes.
Today I don't find updatedb anymore, a "ps -e | grep update" gives me only a process named "kupdated".
Anyway, I still have some delays when I edit a file for instance with less, in a gnome xterm, while doing nothing special.
Now I've justed started a kernel build, which is long and cpu consuming.
Using top, I have the delay set to default, and I can view cc1 that consumes somtimes 90%, or 50%, or 20%. If I sum the processi when it is for about 20%, the sum doesn't exceed 50%, while idle displays nearly 100%. Is it normal ?
xround.
|
|
|
09-17-2004, 06:29 AM
|
#6
|
Member
Registered: Oct 2003
Location: France
Distribution: RH9
Posts: 84
Original Poster
Rep:
|
uniq, sed, and sort
I have detected, three very heavy processes, that ran for say 5 minutes:
uniq, sed, and sort.
What these process combined rely to ? updatedb, that ran also during this time ?
xround.
|
|
|
09-17-2004, 06:51 AM
|
#7
|
Member
Registered: Sep 2003
Location: Ankara/Turkey
Distribution: Slackware
Posts: 155
Rep:
|
Re: uniq, sed, and sort
Quote:
Originally posted by xround
I have detected, three very heavy processes, that ran for say 5 minutes:
uniq, sed, and sort.
What these process combined rely to ? updatedb, that ran also during this time ?
xround.
|
You can find the process that forks that processes by the command pstree:
Code:
...
|-kdeinit---konsole-+-bash---updatedb-+-frcode
| | |-sort
| | `-updatedb---find
...
There is a -p switch also, which causes pstree to display pids. Also look at the /etc/crontab file for updatedb entries and decrease the update frequency.
|
|
|
All times are GMT -5. The time now is 12:26 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|