From: Dale <dalek@exceedtech.net>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Screen is being a CPU hog, big time!!!
Date: Tue, 08 Nov 2005 06:56:39 -0600 [thread overview]
Message-ID: <4370A087.9050609@exceedtech.net> (raw)
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
> <<<snip big time>>>
> 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
next reply other threads:[~2005-11-08 13:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-08 12:56 Dale [this message]
2005-11-08 13:08 ` [gentoo-user] Screen is being a CPU hog, big time!!! Dale
2005-11-08 13:19 ` Dale
2005-11-08 19:35 ` Dale
2005-11-08 22:13 ` Willie Wong
2005-11-09 0:25 ` Dale
2005-11-09 2:18 ` Willie Wong
2005-11-09 4:07 ` Dale
2005-11-09 5:15 ` Nick Rout
2005-11-09 6:09 ` Willie Wong
2005-11-09 6:36 ` Dale
2005-11-09 6:25 ` Willie Wong
2005-11-09 6:44 ` Dale
2005-11-09 16:38 ` Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4370A087.9050609@exceedtech.net \
--to=dalek@exceedtech.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox