problem with both of my cpu1 and cpu2.

Asked by will

i've been running ubuntu on my laptop for months now and both of my cpu's are becoming to be slow and i never had this problem a week ago. can anyone give me advice on what to do about this?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Tom
Solved:
Last query:
Last reply:
Revision history for this message
Steven Danna (ssd7) said :
#1

Can you clarify what you mean by "both of my cpu's are becoming to be slow?" Are you experiencing general system performance problems?

Also, could you copy and paste the output of the following commands (by running them in the terminal (Applications->Accessories->Terminal):

lsb_release -r

ps -eo pmem,pid,user,args | sort -r | head -5

ps -eo pcpu,pid,user,args | sort -r | head -5

The first will report what version of Ubuntu you are running, the second will report the top 5 processes sorted by memory usage and the third will report the top 5 processes by cpu usage. You can run these commands by opening a terminal (Applications->Accessories->Terminal), and either using copy & paste or typing each command individually and pressing <Enter>

Revision history for this message
Tom (tom6) said :
#2

Hi :)

Is your system a dual-boot with Windows? When you are booting up do you get just one option for booting into Ubuntu or do you get several and a "memtest" option? The memtest takes ages and just checks ram, i know almost no-one that has bothered using this and it's not relevant here, i think :) The 2nd Ubuntu option should say "Recovery mode" near the end of it's line. This is well worth exploring. The options to "Clear more space", "Fix broken packages" and "fsck check partition" are well worth running about once a month. The "fix x-server" tends to reset your graphics and eye-candy back to default settings so don't try this one unless you need to fix a graphics problem. Note that after using a few of these options the top (default) option is to "Continue with normal boot" :) As i say, its good to run through this about once a month :)

Good luck and regards from
Tom :)

Revision history for this message
will (drummer4mds) said :
#3

hi tom, no my computer is not a dual boot computer with windows. Steven Danna what i mean is that my cpu1 and cpu2 is getting slower every day and it wasn't like this a week ago. i need info on how to free up more of my cpu's percentage.

Revision history for this message
will (drummer4mds) said :
#4

to add to my last message!!! both of my cpu's keep on going up and down and a week ago both of my cpu's stayed at less than 10% now bot cpu's jump up and down. also to let others know that this didn't happen when i had ubuntu 8.10. now i run ubuntu 9.04 till two days ago i screwed up the operating system and i reinstalled ubuntu 9.04 and still have the same problem.

Revision history for this message
will (drummer4mds) said :
#5

to add to my last message!!! both of my cpu's keep on going up and down and a week ago both of my cpu's stayed at less than 10% now both cpu's jump up and down. also to let others know that this didn't happen when i had ubuntu 8.10. now i run ubuntu 9.04 till two days ago i screwed up the operating system and i reinstalled ubuntu 9.04 and still have the same problem.

Revision history for this message
Tom (tom6) said :
#6

Hmmm, can you edit menu.lst or press Escape at the appropriate moment during boot-u to get the boot-menu with lots of options for Ubuntu, or even edit the menu.lst to boot straight into recovery mode? I'm not sure this will help with the problem you are facing but does sometimes seem to be a 'magic cure-all'. Menu.lst is in /boot/grub so on a commmand-line

cd /boot/grub
ls
sudo cp menu.lst menu.lst.170609
ls
sudo gedit menu.lst

and then scroll down just a few lines to change the "default = 0" to "default = 1" This should boot you into the second item on the boot menu so you'll need to change it back once you get back into Ubuntu. The "ls" is a lower-case "LS" of course and just shows you that the "cp" command has created a back-up of the currently working menu.lst, just in case it all goes wrong, or for when you want to reinstate it. Normally "cp" doesn't need to be "sudo"ed but the /boot folder is a system folder so it's protected against accidental accidents (not against "Dohh"s tho ;( ) lol.

Good luck with this
Regards from
Tom :)

Revision history for this message
Best Tom (tom6) said :
#7

Err i should mention that it's worth making sure you have a cd of some distro you can use as a LiveCd before messing around with menu.lst and rebooting, so that you can boot into the Cd and repair/replace menu.lst with the copy that works! The normal Ubuntu Cd is good for this but if you've not got one then maybe try downloading Wolvix Hunter 1.1.0 to use that instead. it's a bit lighter so downloads and burns faster
http://distrowatch.com/table.php?distribution=wolvix
It's a good cd to have around for odd little fixes and has some nice retro arcade games too.

Good luck with all this, it should be pretty smooth
Regards from
Tom :)

Revision history for this message
will (drummer4mds) said :
#8

Thanks Tom, that solved my question.

Revision history for this message
Tom (tom6) said :
#9

Lol, i wasn't suggesting installing Wolvix (although i often do have a dual/multi-boot on my own machines). Was it the housekeeping "recovery mode" that helped solve it?

Thanks and regards from
Tom :)