On Thu, Apr 13, 2017 at 1:46 PM, bruce <badouglas(a)gmail.com> wrote:
Hey guys/gals!
Got a test that I'm running. The test has a remote box running an app
on a sep box (box2). Box2 has a screen session running so you can
access box2 and do a
"screen -r Session1"
to access the running output.
All of this works as expected. However, when I examine the "top"
function in box2 I get the following. As you can see, it shows the
screen session running at 99% of CPU!!!
So, my question I guess how can I resolve this!
The process/app running in the screen is essentially looping through
the lines in a file, and doing some processing... For the 1st 2K lines
or so the cpu doesn't appear to be doing anything weird.. in fact the
cpu data isn't even shown in the top process...
Thoughts/comments are welcome..
Thanks
oops...
the screen output!!
[crawl_user@client-crawl-10d-dec-17-16-ssh-1gb-1 ~]$ top
top - 13:24:04 up 1 day, 9:50, 3 users, load average: 1.00, 1.00, 1.00
Tasks: 89 total, 3 running, 86 sleeping, 0 stopped, 0 zombie
Cpu(s): 99.7%us, 0.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 1020128k total, 899064k used, 121064k free, 83380k buffers
Swap: 0k total, 0k used, 0k free, 726792k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
12300 crawl_us 20 0 115m 1552 868 R 99.1 0.2 116:09.62 screen
<<<<<<<<<
7 root 20 0 0 0 0 R 0.7 0.0 8:29.61 events/0
22041 crawl_us 20 0 99.7m 1936 944 S 0.3 0.2 0:00.01 sshd
1 root 20 0 19360 1412 1116 S 0.0 0.1 0:02.41 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kthreadd
3 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0