ECS资源概况
{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "datasource", "uid": "grafana" }, "enable": true, "hide"...
{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "datasource", "uid": "grafana" }, "enable": true, "hide"...
{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "datasource", "uid": "grafana" }, "enable": true, "hide"...
{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "datasource", "uid": "grafana" }, "enable": true, "hide"...
1.安装epel-release源 yum install epel-release -y 2.常用工具 有些软件安装不上需要执行第一步 yum -y install htop vim wget curl net-tools lsof zip unzip ifconfig iftop lrzsz bind-utils git jq iptables iptables-services...
导出所有数据 pg_dumpall -h localhost -p 5432 -U postgres -W -f alldata.sql 导入数据 psql -h localhost -p 5432 -U postgres -W -f alldata.sql 导出整个数据库(结构+数据) # 基础命令 pg_dump -U <用户名> -h <主机> -d &l...
自定义pipline 1. 进入Stack Management > Ingest Node Pipelines > Create a pipeline 1.1 k8s-freeswitch [ { "script": { "lang": "painless", "source": "ctx.message = ctx.message.subs...
#!/bin/bash pycmdbCli_file="$( cd $(dirname $0); pwd )/pycmdbCli.py" #: ' # get_inst_info echo "============================| get_inst_info |============================" python3 $pycmdbCli_file ...
import json import builtins import time import subprocess import site from sys import argv from argparse import ArgumentParser ## 安装 cmdb-sdk-python #shell_script = """ #if [ -z "$( pip3 list | gr...
登录 psql -h hostname -d dbname -U username 成功连接后,你将看到类似以下的提示符,表示你已经连接到数据库: dbname=> 列出所有库 \l 切换数据库 \c your_database_name 列出所有表 \dt 列出当前数据库中的所有表 \dt schema_name.* 查询所有数据库存储大小 select da...
"" 手动安装插件配置 set nocompatible " 去掉vi的一致性" filetype off set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'VundleVim/Vundle.vim' Plugin 'mattn/vim-goimports' Plugin 'mattn/v...