oracle查看表空间使用情况
sql如下: select a.a1 表空间名称, c.c2 类型, c.c3 区管理, b.b2/1024/1024/1024 表空间大小G, b.b2 a.a2 /1024/1024/1024 已使用G, substr b.b2 a.a2 /b.b2 100,1,5 已利用率, round 100 substr b.b2 a.a2 /b.b2 100,1,5 , 3 剩余
sql如下: select a.a1 表空间名称, c.c2 类型, c.c3 区管理, b.b2/1024/1024/1024 表空间大小G, b.b2 a.a2 /1024/1024/1024 已使用G, substr b.b2 a.a2 /b.b2 100,1,5 已利用率, round 100 substr b.b2 a.a2 /b.b2 100,1,5 , 3 剩余
代码的作用是按照对应的循环次数,每次给当前系统时间加上5秒。 import time import datetime import os for num in range 1,50 : aftertime = datetime.datetime.now + datetime.timedelta seconds=5 .strftime "%Y %m %d %H:%M:%S" pri
脚本作用是从接口获取json数据并提取时间。 import requests import json url = 'http://192.168.0.5:8992/api/datetime' ret = requests.get url rs = json.loads ret.text 'result' 'datetime' print rs 推荐python3运行该脚
将epel源文件中的https转为http。 epel也正好支持http+https两种方式。 sed i 's https:// http:// g' /etc/yum.repos.d/epel repo 问题解决了。
pip安装软件时出现: Command "python setup.py egg info" failed with error code 1 in /tmp/pip build 其中×与要安装的软件有关 比如安装pip install pyparsing==1.5.7出现以下错误: Command "python setup.py egg info" failed
讯景rx590gme矿卡蓝屏死机、游戏闪退的解决办法有以下几种: 1.如果是win7系统,直接安装amd19年的驱动,可以解决这个问题。 2.如果是win10、win11系统,需要打开显卡驱动中的自动超频。 以上两个方法都没法完美解决问题。 最终我的解决办法如下: 用蓝宝石RX580 8G满血矿卡的bios刷这块显卡,然后安装amd最新驱动。
centos6使用yum安装软件报错: Peer cert cannot be verified or peer cert invalid 解决办法: echo "sslverify=false" /etc/yum.conf 重新安装软件,错误消失。