What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Dropbear around 50% CPU normal?

LukeH

Occasional Visitor
Hi,
On my AC56U with merlin 378.65_2 I just noticed this:
Code:
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
18232 29338 admin    R     1172  0.4   0 49.2 dropbear -p [XXX] -s -j -k
Where [XXX] is the port I use as SSH service port. Is it normal that %CPU as it never seem to go under 45?
Thanks
 
Is this while you are logged in? If so, maybe.

The application you are using to view the CPU usage, over what time-span is the average CPU usage calculated? The larger the time-span the more I would be concerned, and vice versa.
 
Well, using top I was connected.
Attached is a picture from the administration GUI (I don't know how I could see CPU% other then logged in).
Around the red line (on pic) I killed the ssh client and it doesn't seem to improve.
But also while I was connected top didn't reflect the close to 100% (edit: 110-115 actually) usage summed on both cores as the web GUI seem to show.
I'm running OwnCloud and Transmission via chrouted debian.

EDIT:
Using 2 SSH session won't make top show higher value and from debian top shows

Code:
  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
18232 root      20   0    1172    208    168 R  98.0  0.1 494:35.89 dropbear
 

Attachments

  • router_cpu.png
    router_cpu.png
    15.8 KB · Views: 417
Last edited:
Forget about "%CPU" (which is the average CPU usage during top's configured refresh interval) and configure top to display "TIME" or "TIME+", which displays the total CPU time since the task began, which is the most likely the measurement you want.
http://man7.org/linux/man-pages/man1/top.1.html

Personally I would install "htop" (via entware), rather than use "top".



Disregarding these measurements, are you having any noticeable network problems?
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top