linux Linux shell脚本启动 停止 重启服务(jar)

 注意:window编辑的shell文件,通过WinSCP上传的Linux服务器,需要改变文件的格式(查看文件格式,vim编辑后输入 :set ff) #!/bin/bashexport JAVA_HOME=/usr/lib/jvm/java-1.8export...

2022-12-10 389 阅读

如何给shell脚本传参数

  用java写了一个压力测试的小程序(其实就是用java的信号量实现),可传递并发数之类的入参,放到Linux环境上运行,编写了一个小小的shell脚本,可以传入并发数的入参,网上参考这文章,特...

2022-12-10 295 阅读

spring Linux编辑启动停止重启springboot jar包脚本

 springboot的配置文件中,配置文件的名字都有各自的意义跟用途 dev 开发环境 prod 生产环境(默认) test 测试环境 加载指定配置文件 --spring.profiles.active=p...

2022-12-10 320 阅读

linux linux 系统 可视化工具实时监控_【干货】系统管理员必备,服务器监控工具汇总...

服务器监控工具对于IT基础架构性能、可视化和系统稳定至关重要。合适的工具能够帮助系统管理员面对服务器故障、应用缓慢、停机、内存泄露和配置依赖等挑战。 Nagios、Zabbix等工具是用于监控...

2022-12-10 684 阅读

spring Springboot的监控

Spring Boot有个子项目Spring Boot Actuator,它为应用提供了强大的监控能力。从Spring Boot 2.0开始,Actuator将底层改为Micrometer,提供了更强、更灵活的监控能力。本次便利用Micrometer...

2022-12-10 397 阅读

js 获取昨天,今天,本周,上周,季度等时间范围

Date.prototype.format = function (format) { var o = { "M+": this.getMonth() + 1, //month "d+": this.getDate(), //day "h+": this.getHours(), ...

2022-12-10 366 阅读

vue动态绑定class的最常用几种方式

vue动态绑定class的最常用几种方式:  第一种:(最简单的绑定) 1.绑定单个class  html部分: <div :class="{'active':isActive}"></div>  js部分:判断是否...

2022-12-10 218 阅读

VUE 动态添加style样式

【对象】 html :style="{ color: activeColor, fontSize: fontSize + 'px' }" html :style="{color:(index==0?conFontColor:'#000')}" 【数组】 html :style="" html :style="" 【三...

2022-12-10 369 阅读

vue @click 使用三目运算(实现动态更换绑定的函数)

转载:https://www.jianshu.com/p/ea4471c9f333 @click 错误写法 @click="dialogStatus=='create'?createData:updateData" 正确写法 @click="dialogStatus=='create'?createData():update...

2022-12-10 392 阅读

Invalid prop: type check failed for prop “span“. Expected Number with value 8, got String with value

之所以出现这个问题是因为少一个冒号,span之前有一个冒号。 <el-col :span=8> —————————————&mdash...

2022-12-10 253 阅读