码迷,mamicode.com
首页 >  
搜索关键字:commands    ( 1138个结果
采集容器内存并写到excel
1 # coding=utf-8 2 import os 3 import commands 4 import re 5 from pyExcelerator import * 6 7 8 def execute(cmd): 9 status, output = commands.getstatus... ...
分类:其他好文   时间:2018-10-30 17:29:14    阅读次数:143
Hadoop/HDFS/MapReduce
Hadoop中文手册:http://hadoop.apache.org/docs/r1.0.4/cn/commands_manual.html 英文手册:http://hadoop.apache.org/docs/stable/hadoop project dist/hadoop common/Co ...
分类:其他好文   时间:2018-10-27 22:35:32    阅读次数:200
kubernetes应用入门
一、kubernetes资源对象 pod serivce replicaset deployment statefulet daemonset job cronjob node 二、kubectl命令 Basic Commands Deploy Commands Cluster Management ...
分类:Web程序   时间:2018-10-25 00:20:17    阅读次数:195
scrapy之自定制命令
写好自己的爬虫项目之后,可以自己定制爬虫运行的命令。 一、单爬虫 在项目的根目录下新建一个py文件,如命名为start.py,写入如下代码: 运行start.py即可。 二、多爬虫运行 1、在spiders的同级目录创建文件夹,如commands; 2、在这个新建的文件夹下创建一个py文件,如命名为 ...
分类:其他好文   时间:2018-10-24 15:16:37    阅读次数:199
Bash基础——内置命令
参考:列出所有Bash Shell内置命令的方法示例 Shell Builtin Commands 前言 Shell有很多内置在其源代码中的命令。由于命令是内置的,所以Shell不必到磁盘上搜索它们。内置命令执行速度更快,不同的Shell内置命令有所不同。 内置命令的类型 Bourne Shell ...
分类:其他好文   时间:2018-10-22 16:40:27    阅读次数:112
install MariaDB 10.2 on Ubuntu 18
Here are the commands to run to install MariaDB 10.2 from the MariaDB repository on your Ubuntu system: Once the key is imported and the repository ad ...
分类:数据库   时间:2018-10-21 10:15:07    阅读次数:229
redis启动过程
一. 入口int main(int argc, char **argv) 二. main()处理1. server配制初始化 //各种配制初始化 void initServerConfig(void) //redis命令初始化, server.commands就是在这里初始化的 populateCo ...
分类:其他好文   时间:2018-10-21 01:03:16    阅读次数:164
批量插入
// List<SqlCommand> commands = new ArrayList<SqlCommand>();// // for (Object object : personnran ){// // // }// // SqlPersistence sqlProvider = dao.ge ...
分类:其他好文   时间:2018-10-18 01:12:43    阅读次数:119
(转)Ceph常规操作及常见问题梳理
Ceph集群管理 1 每次用命令启动、重启、停止Ceph守护进程(或整个集群)时,必须指定至少一个选项和一个命令,还可能要指定守护进程类型或具体例程。 **命令格式如 1 {commandline} [options] [commands] [daemons] 常用的commandline为"cep ...
分类:其他好文   时间:2018-10-18 01:01:25    阅读次数:215
模拟ssh、黏包、hashlib模块
一、模拟ssh 1、subprocess模块 subprocess模块是python从2.4版本开始引入的模块。主要用来取代 一些旧的模块方法,如os.system、os.spawn*、os.popen*、commands.*等。subprocess模块可用于产生进程,并连接到进程的输入/输出/错误 ...
分类:其他好文   时间:2018-10-17 16:49:24    阅读次数:201
1138条   上一页 1 ... 21 22 23 24 25 ... 114 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!