1 |
Hi all, it is me again. LOL |
2 |
|
3 |
I run folding on all my rigs and noticed something strange. It uses |
4 |
screen so I can detach, logout and etc. Check this out though: |
5 |
|
6 |
> top - 06:27:32 up 19:34, 4 users, load average: 2.08, 0.76, 0.26 |
7 |
> Tasks: 103 total, 3 running, 100 sleeping, 0 stopped, 0 zombie |
8 |
> Cpu(s): 25.2% us, 72.4% sy, 2.3% ni, 0.0% id, 0.0% wa, 0.0% hi, |
9 |
> 0.0% si |
10 |
> Mem: 1034548k total, 937264k used, 97284k free, 257980k buffers |
11 |
> Swap: 488336k total, 188k used, 488148k free, 287116k cached |
12 |
> |
13 |
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND |
14 |
> 1781 root 25 0 59760 1196 568 R 49.2 0.1 0:44.51 |
15 |
> FAH502-Linux.ex |
16 |
> 1713 root 16 0 2676 1232 892 S 44.6 0.1 0:39.55 screen |
17 |
> 8649 root 15 0 191m 60m 4644 S 3.3 6.0 32:26.83 X |
18 |
> 1800 root 35 19 43728 32m 472 R 2.0 3.3 0:00.11 |
19 |
> FahCore_78.exe |
20 |
> 1 root 16 0 1464 492 428 S 0.0 0.0 0:00.20 init |
21 |
> 2 root 34 19 0 0 0 S 0.0 0.0 0:00.04 ksoftirqd/0 |
22 |
> 3 root 10 -5 0 0 0 S 0.0 0.0 0:00.06 events/0 |
23 |
> 4 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 khelper |
24 |
> 5 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 kthread |
25 |
|
26 |
Now so you will know, this rig has a AMD 2500+ CPU. This is not one of |
27 |
my very slow rigs. Why is screen taking up so much CPU time? Almost |
28 |
45%. O_O |
29 |
|
30 |
What I have done so far, re-emerged screen and done a etc-update, almost |
31 |
hit the tab key after etc-. :/ Habit I guess. LOL I did a env-update |
32 |
and even logged out and back in. Nothing but more smoke. |
33 |
|
34 |
What is up with this? It was working fine the other day. I have gotten |
35 |
to where I use it a lot. I'm still trying to figure out screen but I am |
36 |
making progress with it. This is what it looks like on my AMD 800 MHz rig: |
37 |
|
38 |
> top - 07:01:15 up 12:28, 1 user, load average: 1.00, 1.00, 1.00 |
39 |
> Tasks: 38 total, 3 running, 35 sleeping, 0 stopped, 0 zombie |
40 |
> Cpu(s): 0.3% us, 0.0% sy, 99.7% ni, 0.0% id, 0.0% wa, 0.0% hi, |
41 |
> 0.0% si |
42 |
> Mem: 125004k total, 122484k used, 2520k free, 79124k buffers |
43 |
> Swap: 193496k total, 88k used, 193408k free, 7340k cached |
44 |
> |
45 |
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND |
46 |
> 6168 root 39 19 15712 7524 1064 R 99.8 6.0 427:21.84 |
47 |
> FahCore_78.exe |
48 |
> 1 root 16 0 1440 484 428 S 0.0 0.4 0:00.17 init |
49 |
> <<<snip big time>>> |
50 |
> 5852 root 16 0 2740 1484 952 S 0.0 1.2 0:04.43 screen |
51 |
> 5853 root 25 0 10732 1072 792 S 0.0 0.9 0:06.01 |
52 |
> FAH502-Linux.ex |
53 |
> 5907 root 16 0 10732 1072 792 S 0.0 0.9 0:00.00 |
54 |
> FAH502-Linux.ex |
55 |
> 5908 root 15 0 10732 1072 792 S 0.0 0.9 0:05.88 |
56 |
> FAH502-Linux.ex |
57 |
> 5909 root 16 0 10732 1072 792 S 0.0 0.9 0:00.00 |
58 |
> FAH502-Linux.ex |
59 |
> 6165 root 15 0 10732 1072 792 S 0.0 0.9 0:00.00 |
60 |
> FAH502-Linux.ex |
61 |
> 6166 root 34 19 15712 7524 1064 S 0.0 6.0 0:00.23 |
62 |
> FahCore_78.exe |
63 |
> 6167 root 34 19 15712 7524 1064 S 0.0 6.0 0:00.00 |
64 |
> FahCore_78.exe |
65 |
> 6169 root 34 19 15712 7524 1064 S 0.0 6.0 0:00.00 |
66 |
> FahCore_78.exe |
67 |
> 7369 root 16 0 6336 1928 1548 R 0.0 1.5 0:00.05 sshd |
68 |
> 7375 root 16 0 2292 1344 1096 S 0.0 1.1 0:00.02 bash |
69 |
> 7381 root 16 0 2028 1052 828 R 0.0 0.8 0:00.06 top |
70 |
|
71 |
|
72 |
Do I need to back up a version and mask it for a while? If so, how do I |
73 |
get the previous version info? I assume it is equery something. I know |
74 |
how to emerge it I think but they changed how to get a list of what |
75 |
versions are in portage since I used it last time. |
76 |
|
77 |
This is the uncommented bit of screenrc: |
78 |
|
79 |
>autodetach on |
80 |
>startup_message off |
81 |
>crlf off |
82 |
>multiuser off |
83 |
>defscrollback 1000 |
84 |
>silencewait 15 |
85 |
>bufferfile $HOME/.screen_exchange |
86 |
>shell -$SHELL |
87 |
>pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended." |
88 |
>termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l |
89 |
>terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l |
90 |
>termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l |
91 |
>termcapinfo xterm* OL=100 |
92 |
>termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l' |
93 |
>termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~' |
94 |
>termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~' |
95 |
>termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' |
96 |
>termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l' |
97 |
>termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337' |
98 |
>termcapinfo xterm* be |
99 |
>termcapinfo xterm|xterms|xs ti@:te=\E[2J |
100 |
>termcapinfo wy75-42 xo:hs@ |
101 |
>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 |
102 |
>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@' |
103 |
>termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC |
104 |
>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 |
105 |
>termcapinfo linux C8 |
106 |
> |
107 |
><<< left out the bindings >>> |
108 |
> |
109 |
>register [ "\033:se noai\015a" |
110 |
>register ] "\033:se ai\015a" |
111 |
>bind ^] paste [.] |
112 |
> |
113 |
> |
114 |
|
115 |
Thanks, I hope someone knows how to fix this. I may copy my config file |
116 |
from one of my other rigs and try it. Sort of chicken though. |
117 |
|
118 |
My lady is supposed to call, so I will check in when I can. Dial-up |
119 |
user here. |
120 |
|
121 |
Dale |
122 |
:-) |
123 |
|
124 |
gentoo-user list, check. I'm trying to stay out of the gentoo-dev list |
125 |
OK. LOL |
126 |
|
127 |
-- |
128 |
To err is human, I'm most certainly human. |
129 |
|
130 |
|
131 |
|
132 |
-- |
133 |
gentoo-user@g.o mailing list |