更新时间:2021-03-18 GMT+08:00
分享

日志重启

  1. 输入如下命令查找slogd和IDE-daemon-host进程ID:

    HwHiAiUser@test-2288H-V5:/var/dlog$ ps aux | grep slogd
    HwHiAiU+    667  0.0  0.0 237652  4952 ?        Ssl  15:37   0:00 ./slogd
    syslog     1732  0.0  0.0 256400  4320 ?        Ssl  Aug14   0:11 /usr/sbin/rsyslogd -n
    HwHiAiU+  44956  0.0  0.0  21292   944 pts/14   S+   15:51   0:00 grep --color=auto slogd
    HwHiAiUser@test-2288H-V5:/var/dlog$ ps -aux | grep IDE
    HwHiAiUser       2885  0.1  0.0 1270180 18556 ?       Ssl  Aug21   4:20 ./IDE-daemon-host
    HwHiAiUser      26567  0.0  0.0  21292   924 pts/8    S+   10:47   0:00 grep --color=auto IDE

  2. 执行如下命令将用户切换为该进程的所属用户(HwHiAiUser)。

    su HwHiAiUser

  3. 执行如下命令结束slogd和IDE-daemon-host进程。

    kill 667

    kill 2885

  4. 执行如下命令重新启动这两个进程,重新启动后即生效。

    cd /usr/local/HiAI/driver/tools

    ./slogd

    ./IDE-daemon-host

分享:

    相关文档

    相关产品