Author Topic: ok a real fun one pt III (SOLVED)  (Read 533 times)

Offline GOTHBITES

  • Hero Member
  • *****
  • Posts: 749
  • Oh I get it now. Windows 8 is a Bigger Sham
ok a real fun one pt III (SOLVED)
« on: March 18, 2010, 02:52:01 PM »
hello yall

This is simple.  My computer is lagging i can tell especially when i go to a website as told before i open up konsole and type "top"

and here are the results
Quote
top - 14:36:32 up  3:57,  1 user,  load average: 1.53, 1.64, 1.60
Tasks: 109 total,   3 running, 106 sleeping,   0 stopped,   0 zombie
Cpu(s): 77.3%us, 22.7%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   2075988k total,   807700k used,  1268288k free,    47772k buffers
Swap:  4739132k total,        0k used,  4739132k free,   481800k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 2384 lp        20   0 11500 2552 1924 R 52.3  0.1 126:01.49 hpcups
 2284 root      20   0  8620 3000 2344 S 23.6  0.1  53:36.46 cupsd
 2167 root      20   0  1848  648  528 S 20.0  0.0  45:59.77 syslogd
 4183 root      20   0 47280  21m 5680 S  0.7  1.0   0:14.54 python
20124 root      20   0  155m 102m  13m S  0.7  5.1   0:14.58 X
20293 zack      20   0 38532  16m  13m S  0.7  0.8   0:06.84 kded

so i cross reference with KSysguard and got my this as the culprit now so how do i kill it as i can't from KSysguard also who is the user lp because the only one that should be logged in is  Zack 


[attachment deleted by admin]
« Last Edit: March 19, 2010, 01:56:49 PM by GOTHBITES »
UPDATED!! ASUS U52F Notebook i5 CPU,  4Gb ram, 640Gb Hard drive Dual-Boot Win 7Pro/KDE 4 3.2.18-pclos2.bfs

ASUS U50F notebook i3 4Gb Ram. 500 GB hard drive dual-boot Win 7/ KDE 3.2.18-pclos2.pae.bfs    Of course thats just my opinion I could wrong

Offline cyrwyn

  • Hero Member
  • *****
  • Posts: 832
Re: ok a real fun one pt III
« Reply #1 on: March 19, 2010, 09:45:17 AM »
lp is your printer; looks like hpcups is using resources for some reason. What happens when you try to kill the process in KSysGuard? That can only be done in root. Does it not open up a dialog box asking for your root password?
Using Linux for over 18 years and still counting.

Offline GOTHBITES

  • Hero Member
  • *****
  • Posts: 749
  • Oh I get it now. Windows 8 is a Bigger Sham
Re: ok a real fun one pt III
« Reply #2 on: March 19, 2010, 10:17:40 AM »
lp is your printer; looks like hpcups is using resources for some reason. What happens when you try to kill the process in KSysGuard? That can only be done in root. Does it not open up a dialog box asking for your root password?

OK thanks the good to know about lp being my printer.  As for your second question No it doesn't bring up a dialog box
UPDATED!! ASUS U52F Notebook i5 CPU,  4Gb ram, 640Gb Hard drive Dual-Boot Win 7Pro/KDE 4 3.2.18-pclos2.bfs

ASUS U50F notebook i3 4Gb Ram. 500 GB hard drive dual-boot Win 7/ KDE 3.2.18-pclos2.pae.bfs    Of course thats just my opinion I could wrong

Offline jaydot

  • Administrator
  • Super Villain
  • *****
  • Posts: 15564
  • there is no limitation on imagination
Re: ok a real fun one pt III
« Reply #3 on: March 19, 2010, 10:52:56 AM »
you'll see the pid for lp.  use kill pid # in the console.  that may not be quite accurate, but it's along those lines.
PCLinuxOS  Get it?  Got it?  Good!!   8)

We don't have any millionare angels or corporate backers paying the bills here, PLEASE DONATE.
http://pclinuxos.com/?page_id=7

Offline GOTHBITES

  • Hero Member
  • *****
  • Posts: 749
  • Oh I get it now. Windows 8 is a Bigger Sham
Re: ok a real fun one pt III (SOLVED)
« Reply #4 on: March 19, 2010, 01:56:12 PM »
you'll see the pid for lp.  use kill pid # in the console.  that may not be quite accurate, but it's along those lines.

WHOA!!! Thanks for that. another cli command i must master lol   

Update!!!   
I have done what Jaydot instructed me to do and that help sorta. I type in konsole it worked but gave me this error

Quote
[zack@localhost ~]$ kill pid 2384
bash: kill: pid: arguments must be process or job IDs


After which  i went into PCC to uninstall my printer,because of what cyrwyn had mentioned earlier in this post
 
lp is your printer; looks like hpcups is using resources for some reason.

then I reinstalled  the printer again and did a test print to watch my cpu usage with the "top" command so far no issues as in lagging and the web works well now

thanks again

So mark this post BUSTED  I mean Solved

my sincere apologies to the Mythbusters
UPDATED!! ASUS U52F Notebook i5 CPU,  4Gb ram, 640Gb Hard drive Dual-Boot Win 7Pro/KDE 4 3.2.18-pclos2.bfs

ASUS U50F notebook i3 4Gb Ram. 500 GB hard drive dual-boot Win 7/ KDE 3.2.18-pclos2.pae.bfs    Of course thats just my opinion I could wrong