From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EZT6Q-0007gV-Tz for garchives@archives.gentoo.org; Tue, 08 Nov 2005 13:01:31 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jA8D0ZvQ010295; Tue, 8 Nov 2005 13:00:35 GMT Received: from mirus.exceedtech.net (ftp.crawdat.com [65.116.46.21]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jA8CuiC6029110 for ; Tue, 8 Nov 2005 12:56:45 GMT Received: from [209.205.161.24] (nosp1-209-205-161-24.i-55.com [209.205.161.24]) by mirus.exceedtech.net (8.12.8/8.12.8) with ESMTP id jA8D8cV1016656 for ; Tue, 8 Nov 2005 07:08:39 -0600 Message-ID: <4370A087.9050609@exceedtech.net> Date: Tue, 08 Nov 2005 06:56:39 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051104 X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Screen is being a CPU hog, big time!!! Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 7a4ee363-9b67-4fa0-87db-528729fa1b61 X-Archives-Hash: 16a9491358c45bb97a11f1c4c3e55e7b Hi all, it is me again. LOL I run folding on all my rigs and noticed something strange. It uses screen so I can detach, logout and etc. Check this out though: > top - 06:27:32 up 19:34, 4 users, load average: 2.08, 0.76, 0.26 > Tasks: 103 total, 3 running, 100 sleeping, 0 stopped, 0 zombie > Cpu(s): 25.2% us, 72.4% sy, 2.3% ni, 0.0% id, 0.0% wa, 0.0% hi, > 0.0% si > Mem: 1034548k total, 937264k used, 97284k free, 257980k buffers > Swap: 488336k total, 188k used, 488148k free, 287116k cached > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 1781 root 25 0 59760 1196 568 R 49.2 0.1 0:44.51 > FAH502-Linux.ex > 1713 root 16 0 2676 1232 892 S 44.6 0.1 0:39.55 screen > 8649 root 15 0 191m 60m 4644 S 3.3 6.0 32:26.83 X > 1800 root 35 19 43728 32m 472 R 2.0 3.3 0:00.11 > FahCore_78.exe > 1 root 16 0 1464 492 428 S 0.0 0.0 0:00.20 init > 2 root 34 19 0 0 0 S 0.0 0.0 0:00.04 ksoftirqd/0 > 3 root 10 -5 0 0 0 S 0.0 0.0 0:00.06 events/0 > 4 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 khelper > 5 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 kthread Now so you will know, this rig has a AMD 2500+ CPU. This is not one of my very slow rigs. Why is screen taking up so much CPU time? Almost 45%. O_O What I have done so far, re-emerged screen and done a etc-update, almost hit the tab key after etc-. :/ Habit I guess. LOL I did a env-update and even logged out and back in. Nothing but more smoke. What is up with this? It was working fine the other day. I have gotten to where I use it a lot. I'm still trying to figure out screen but I am making progress with it. This is what it looks like on my AMD 800 MHz rig: > top - 07:01:15 up 12:28, 1 user, load average: 1.00, 1.00, 1.00 > Tasks: 38 total, 3 running, 35 sleeping, 0 stopped, 0 zombie > Cpu(s): 0.3% us, 0.0% sy, 99.7% ni, 0.0% id, 0.0% wa, 0.0% hi, > 0.0% si > Mem: 125004k total, 122484k used, 2520k free, 79124k buffers > Swap: 193496k total, 88k used, 193408k free, 7340k cached > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 6168 root 39 19 15712 7524 1064 R 99.8 6.0 427:21.84 > FahCore_78.exe > 1 root 16 0 1440 484 428 S 0.0 0.4 0:00.17 init > <<>> > 5852 root 16 0 2740 1484 952 S 0.0 1.2 0:04.43 screen > 5853 root 25 0 10732 1072 792 S 0.0 0.9 0:06.01 > FAH502-Linux.ex > 5907 root 16 0 10732 1072 792 S 0.0 0.9 0:00.00 > FAH502-Linux.ex > 5908 root 15 0 10732 1072 792 S 0.0 0.9 0:05.88 > FAH502-Linux.ex > 5909 root 16 0 10732 1072 792 S 0.0 0.9 0:00.00 > FAH502-Linux.ex > 6165 root 15 0 10732 1072 792 S 0.0 0.9 0:00.00 > FAH502-Linux.ex > 6166 root 34 19 15712 7524 1064 S 0.0 6.0 0:00.23 > FahCore_78.exe > 6167 root 34 19 15712 7524 1064 S 0.0 6.0 0:00.00 > FahCore_78.exe > 6169 root 34 19 15712 7524 1064 S 0.0 6.0 0:00.00 > FahCore_78.exe > 7369 root 16 0 6336 1928 1548 R 0.0 1.5 0:00.05 sshd > 7375 root 16 0 2292 1344 1096 S 0.0 1.1 0:00.02 bash > 7381 root 16 0 2028 1052 828 R 0.0 0.8 0:00.06 top Do I need to back up a version and mask it for a while? If so, how do I get the previous version info? I assume it is equery something. I know how to emerge it I think but they changed how to get a list of what versions are in portage since I used it last time. This is the uncommented bit of screenrc: >autodetach on >startup_message off >crlf off >multiuser off >defscrollback 1000 >silencewait 15 >bufferfile $HOME/.screen_exchange >shell -$SHELL >pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended." >termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l >terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l >termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l >termcapinfo xterm* OL=100 >termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l' >termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~' >termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~' >termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' >termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l' >termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337' >termcapinfo xterm* be >termcapinfo xterm|xterms|xs ti@:te=\E[2J >termcapinfo wy75-42 xo:hs@ >termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J >termcapinfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@' >termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC >terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC >termcapinfo linux C8 > ><<< left out the bindings >>> > >register [ "\033:se noai\015a" >register ] "\033:se ai\015a" >bind ^] paste [.] > > Thanks, I hope someone knows how to fix this. I may copy my config file from one of my other rigs and try it. Sort of chicken though. My lady is supposed to call, so I will check in when I can. Dial-up user here. Dale :-) gentoo-user list, check. I'm trying to stay out of the gentoo-dev list OK. LOL -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list