1.定时任务 crontab -e s m h d month w cmd 2.任务后台执行 command & 3.查看进程 ps -ef|grep prcss 4.杀死进程 kill -9 pid 5.服务状态 service prcss_name status|start|stop|resta ...
分类:
系统相关 时间:
2021-03-01 14:17:23
阅读次数:
0
InfluxDB操作 1. 显示数据库 > show databases > create database test > drop database test 2. 显示说有表 > show measurements InfluxDB数据备份和恢复 备份元数据 1、influxd backup - ...
分类:
数据库 时间:
2021-03-01 13:29:57
阅读次数:
0
Docker 环境部署的oracle #查询oracle 实例 docker ps -a #进入实例 docker exec -it 58aca4848691 /bin/bash #切换oracle用户 su - oracle #设置oracle 环境变量 export ORACLE_HOME=/u ...
分类:
数据库 时间:
2021-02-25 11:52:18
阅读次数:
0
This article is the continuation of our ongoing series about Linux Top Tools, in this series we will introduce you most famous open source tools for L ...
分类:
系统相关 时间:
2021-02-24 13:22:40
阅读次数:
0
一、简单用法 挂载 $ mount /dev/hda2 /home 第一个叁数是与包括文件系统的磁盘或分区相关的设备文件。 第二个叁数是要mount到的目录。 卸载挂载点 $ umount /dev/hda2 $ umount /usr 参数可以是设备文件或安装点。 二、mount详细介绍 如果想在 ...
分类:
系统相关 时间:
2021-02-22 11:53:11
阅读次数:
0
see https://www.cnpython.com/qa/221588 key point: run('docker ps -a | grep {} | awk "{print $1}"'.format(container_name)) KeyError: 'print $1'solution ...
分类:
编程语言 时间:
2021-02-22 11:52:53
阅读次数:
0
\1. 查看Linux启动的服务 . 代码如下: chkconfig --list 查询出所有当前运行的服务 chkconfig --list atd 查询atd服务的当前状态 2.停止所有服务并且在下次系统启动时不再启动,如下所示: . 代码如下: chkconfig --levels 12345 ...
分类:
系统相关 时间:
2021-02-22 11:50:57
阅读次数:
0
#include<stdio.h> #include<string.h> int main(void){ char ch,stro[1001],stack[1001]; int numstack[1001]; int top=-1,head=-1; /************************ ...
分类:
编程语言 时间:
2021-02-20 12:11:32
阅读次数:
0
tomcat 启动tomcat cd /usr/tomcat/apache-tomcat-7.0.57/bin/ ./startup.sh 停止tomcat ./shutdown.sh 查看tomcat日志信息 tail -200f /usr/tomcat/apache-tomcat-7.0.57/ ...
分类:
其他好文 时间:
2021-02-20 11:58:57
阅读次数:
0
线上故障主要包括cpu 磁盘 内存 网络等问题 依次排查 1.cpu 1) 先用ps找到进程pid 2) top -H -p pid 找到cpu占用高的线程 3)printf '%x\n' pid 获得16进制的nid 4) jstack pid |grep 'nid' -C5 -color 显示堆 ...
分类:
其他好文 时间:
2021-02-20 11:45:56
阅读次数:
0