You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/09/11 10:43:58 UTC

[GitHub] [incubator-nuttx-apps] Donny9 opened a new pull request #847: netutils: support rexecd/rexec

Donny9 opened a new pull request #847:
URL: https://github.com/apache/incubator-nuttx-apps/pull/847


   ## Summary
   Support rexecd and rexec to remote execution. They support AF_INET, AF_INET6 and AF_RPMSG.
   
   ## Impact
   Remote command execution is more efficient
   ## Testing
   * test1: rexec by AF_INET(localhost+port:512)
   ```
   server> rexecd &
   rexecd [6:100]
   server> rexec -H localhost ls
   /:
    dev/
    proc/
   ```
   * test2: rexec by AF_RPMSG(remoteproc_name+port:512) on rpproxy and rpserver project
   ```
   proxy> rexecd -r &
   rexecd [4:100]
   proxy> server>
   server> rexec -H proxy -r ps
     PID GROUP PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK   STACK COMMAND
       0         0 FIFO     Kthread N-- Ready              00000000 004064 Idle Task
       1       224 FIFO     Kthread --- Waiting  Semaphore 00000000 065504 hpwork 0x566a83fc
       2       100 FIFO     Task    --- Waiting  Semaphore 00000000 065520 init
       3       224 FIFO     Kthread --- Waiting  Semaphore 00000000 065488 rptun server 0xf3da23e0
       4       100 FIFO     Task    --- Waiting  Semaphore 00000000 065504 rexecd -r
       5       100 FIFO     pthread --- Ready              00000000 065536 pt-0x56681098 0x4
       7       100 FIFO     Task    --- Running            00000000 065504 popen -c ps
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx-apps] Donny9 commented on pull request #847: netutils: support rexecd/rexec

Posted by GitBox <gi...@apache.org>.
Donny9 commented on pull request #847:
URL: https://github.com/apache/incubator-nuttx-apps/pull/847#issuecomment-917386472


   we need to merge PR https://github.com/apache/incubator-nuttx/pull/4513 first, and trigger this PR again.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx-apps] xiaoxiang781216 merged pull request #847: netutils: support rexecd/rexec

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #847:
URL: https://github.com/apache/incubator-nuttx-apps/pull/847


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org