free命令:Display amount of free and used memory in the system显示系统空闲与使用的内存语法:free [-b | -k | -m] [-o] [-s delay ] [-t] [-l] [-V]选项:-b 以Bytes显示-k 以kb为单位显示-m 以mb未单位显示-o 不显示缓冲区-s + 秒数 持续查看内存信息实例
分类:
其他好文 时间:
2018-07-27 12:04:38
阅读次数:
138
Time Limit: 2 sec / Memory Limit: 1024 MB Score : 200200 points Problem Statement Takahashi lives in another world. There are slimes (creatures) of 10 ...
分类:
其他好文 时间:
2018-07-26 23:38:26
阅读次数:
262
www.cnblogs.com/shaokele/ bzoj2306: [Ctsc2011]幸福路径 Time Limit: 10 Sec Memory Limit: 256 MB Description 有向图 G有n个顶点 1, 2, …, n,点i 的权值为 w(i)。现在有一只蚂蚁,从给定的 ...
分类:
其他好文 时间:
2018-07-26 21:22:15
阅读次数:
176
centos 安装jdk1.81、下载jdk http://www.oracle.com/technetwork/java/javase/downloads/index.html Linux x64 182.05 MB jdk-8u171-linux-x64.tar.gz2、解压jdk tar -x... ...
分类:
其他好文 时间:
2018-07-26 18:48:34
阅读次数:
159
一、Spring 概述 1.概述 Spring 框架是一个开源的 Java 平台,它最初是由 Rod Johnson 编写的,并且于 2003 年 6 月首次在 Apache 2.0 许可下发布。 Spring是最受欢迎的企业级java应用程序开发框架。是轻量级框架,其基础版本只有 2 MB 左右的 ...
分类:
编程语言 时间:
2018-07-26 13:12:25
阅读次数:
166
yum使用中被锁定 yum Loaded plugins: fastestmirror, langpacks
Existing lock /var/run/yum.pid: another copy is running as pid 3593.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 109 M RSS (447 MB VSZ)
Started: Thu Jul 26 18:25:02 2018 - 02:00 ago
State : Sleeping, pid: 3593
分类:
其他好文 时间:
2018-07-26 11:34:00
阅读次数:
284
这里我们拉取官方的镜像,标签为5.6
runoob@runoob:~/mysql$ docker pull mysql:5.6
等待下载完成后,我们就可以在本地镜像列表里查到REPOSITORY为mysql,标签为5.6的镜像。
runoob@runoob:~/mysql$ docker images |grep mysql
mysql 5.6 2c0964ec182a 3 weeks ago 329 MB
方法二、通过 Dockerfile构建
创建Dockerfile
首先,创建目录mysql,用于存放后面的相关东西。
runoob@runoob:~$ mkdir -p ~/mysql/data ~/mysql/logs ~/mysql/conf
data目录将映射为mysql容器配置的数据文件存放路径
logs目录将映射为mysql容器的日志目录
conf目录里的配置文件将映射为mysql容器的配置文件
进入创建的mysql目录,创建Dockerfile
FROM debia
分类:
数据库 时间:
2018-07-25 12:46:18
阅读次数:
327
https://beta.atcoder.jp/contests/abc103 A - Task Scheduling Problem Time Limit: 2 sec / Memory Limit: 1024 MB Score : 100100 points Problem Statement ...
分类:
其他好文 时间:
2018-07-24 17:55:10
阅读次数:
144
www.cnblogs.com/shaokele/ bzoj1040: [ZJOI2008]骑士 Time Limit: 10 Sec Memory Limit: 162 MB Description Z国的骑士团是一个很有势力的组织,帮会中汇聚了来自各地的精英。他们劫富济贫,惩恶扬善,受到社会各界 ...
分类:
其他好文 时间:
2018-07-23 14:40:51
阅读次数:
150
问题 A: 【高精度】加法天才 时间限制: 1 Sec 内存限制: 64 MB提交: 14 解决: 10[提交] [状态] [讨论版] [命题人:]<!--StartMarkForVirtualJudge--> 题目描述 贝贝是一个聪明的小孩,他总喜欢玩数字加法的游戏。一天,他的数学老师为了考一考他 ...
分类:
其他好文 时间:
2018-07-22 17:12:11
阅读次数:
392