code macname@localhost Desktop % cat content fox jumps over the lazy dog. fox jumps over the lazy dog. fox jumps over the lazy dog. fox jumps over the ...
分类:
系统相关 时间:
2020-12-01 12:32:52
阅读次数:
24
1.打开shell终端,输入 sudo vi /etc/rc.local 2.在编辑器里面输入自己要启动的脚本 #!/bin/bash echo "run incar ai program..." cd /opt/robot nohup bash autorobot.sh & 2>/dev/null ...
分类:
系统相关 时间:
2020-12-01 12:15:17
阅读次数:
12
1.linux常用命令 1.1 系统命令 runlevel # 查看当前的运行级别systemctl status sshd # 开启网络服务功能 stop # 关闭 restart # 重启 reload # 重载reboot # 重启halt # 关机poweroff # 关机 1.2 查看文件 ...
分类:
系统相关 时间:
2020-12-01 11:56:19
阅读次数:
30
ELK集群配置安装初始化iptables关闭selinux关闭配置hosts解析[root@localhostelasticsearch]#cat/etc/hosts127.0.0.1localhostlocalhost.localdomainlocalhost4localhost4.localdomain4::1localhostlocalhost.localdomainlocalhost6lo
分类:
其他好文 时间:
2020-12-01 11:46:16
阅读次数:
2
1准备工作安装好Linux操作系统,这里选择的是Linux7:[root@localehost~]#cat/etc/redhat-releaseRedHatEnterpriseLinuxServerrelease7.6(Maipo)关闭防火墙和Selinux:[root@localehost~]#systemctlstopfirewalld[root@localehost~]#systemctld
分类:
系统相关 时间:
2020-12-01 11:45:15
阅读次数:
10
code macname@localhost Desktop % cat test.sh while read line;do echo $line; done < a.txt macname@localhost Desktop % macname@localhost Desktop % cat a ...
分类:
系统相关 时间:
2020-11-30 16:14:46
阅读次数:
16
code macname@localhost Desktop % echo `uname -a` Darwin localhost 19.6.0 Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141 ...
分类:
系统相关 时间:
2020-11-30 16:12:29
阅读次数:
12
Nginx日志常用分析命令示范(注:日志的格式不同,awk取的项不同。下面命令针对上面日志格式执行) 1)总请求数 wc -l access.log |awk '{print $1}' 2)独立IP数 awk '{print $1}' access.log|sort |uniq |wc -l 3)每 ...
分类:
其他好文 时间:
2020-11-30 16:08:07
阅读次数:
8
一、loss、acc提取 有时候我们需要查看每个batch训练时候的损失loss与准确率acc,这样可以帮助我们挑选合适的epoch以及查看模型是否收敛。 Model.fit()在调用时会返回一个History类,这个类的一个属性Historty.history是一个字典,里面就包含了每一个batc ...
分类:
其他好文 时间:
2020-11-30 16:04:44
阅读次数:
7
在写shell命令之前,首先要知道为什么要使用Shell脚本。使用Shell脚本能够轻易处理文件和目录之类的对象,相对于其他编程语言,Shell脚本执行起来更快,而且他也是个UNIX系统之间通用的功能,下面就让我们看一下Shell脚本的一些简单的命令。 以下如果是命令用$表示,在输入的时候不需要加, ...
分类:
系统相关 时间:
2020-11-30 15:57:34
阅读次数:
12