码迷,mamicode.com
首页 >  
搜索关键字:linux基本命令—— cat more w who pwd    ( 37061个结果
One TextView More Style
String w = "The quick fox jumps over the lazy dog"; int start = w.indexOf('q'); int end = w.indexOf('k') + 1; Spannab...
分类:其他好文   时间:2014-06-27 15:13:07    阅读次数:257
存储过程与SQL的结合使用
--1调用存储过程exec 存储过程名 参数openrowset方法使用:select * from openrowset('sqlncli', 'server=192.168.247.64;uid=sa;pwd=123;', 'exec dbo.process ''参数值''') as tmp;-...
分类:数据库   时间:2014-06-27 14:49:43    阅读次数:248
《ruby编程语言》笔记 1
赋值:ruby支持并行赋值,即允许在赋值表达式中出现多余一个值和多于一个的变量:x,y=1,2a,b=b,ax,y,z=[1,2,3](python同样可以正常上面的语句)。Methods in Ruby are allowed to return more than one value, and ...
分类:编程语言   时间:2014-06-27 13:30:46    阅读次数:225
ios网络学习------2 用非代理方法实现异步post请求
#pragma mark - 这是私有方法,尽量不要再方法中直接使用属性,因为一般来说属性都是和界面关联的,我们可以通过参数的方式来使用属性 #pragma mark post登录方法 -(void)loginWithPostWithName:(NSString *)userName pwd:(NSString *)pwd { //1确定地址NSURL NSString *url...
分类:移动开发   时间:2014-06-27 07:42:35    阅读次数:287
Cacti监控磁盘IO(rhel)
1、检查net-snmp是否支持IO监控snmpwalk-v1-c public监控机的IPUCD|more执行如上命令,如果返回类似如下数据,则表示支持disk io的监控,否则需要重新编译增加diskio-module模块。1.UCD-DISKIO-MIB::diskIOIndex.1=INTEGER: 12.UCD-DISKIO-MIB::diskIOIndex.2=INTEGER:23.UCD-D..
分类:其他好文   时间:2014-06-27 06:42:20    阅读次数:396
linux+php5.4+nginx+支持redis安装部署
系统环境[root@localhost~]#cat/etc/redhat-releaseCentOSrelease6.5(Final)[root@localhost~]#uname-aLinuxlocalhost.localdomain2.6.32-431.el6.x86_64#1SMPFriNov2203:15:09UTC2013x86_64x86_64x86_64GNU/Linuxphp5.4yum源rpm-Uvhhttp://mirror.webtatic.com/yum/el6/latest..
分类:Web程序   时间:2014-06-27 06:39:44    阅读次数:666
初始saltstack在之CentOS6上安装Saltstack
系统环境:[root@salt_serverhome]#ifconfigeth0|grep"inetaddr:"|awk-F:‘{print$2}‘|awk‘{print$1}‘ 192.168.100.228 [root@salt_serverhome]#cat/etc/redhat-release CentOSrelease6.3(Final) [root@salt_serverhome]#uname-r 2.6.32-279.el6.x86_64 [root@salt_serverhome]#..
分类:其他好文   时间:2014-06-27 06:12:03    阅读次数:311
zabbix 安装和基础监控
Zabbix安装和监控系统环境[root@zabbix~]#cat/etc/redhat-releaseCentOSrelease6.3(Final)[root@zabbix~]#uname-aLinuxzabbix2.6.32-279.el6.x86_64#1SMPFriJun2212:19:21UTC2012x86_64x86_64x86_64GNU/LinuxYum安装nginx、php、mysql配置nginxyum源,php和mysql默认就用centos..
分类:其他好文   时间:2014-06-27 06:05:01    阅读次数:528
python的工作记录A
马上进入工作自动化:[root@localhost ~]# cat svn_bbs.py import os,sys,commands,subprocess import re,timesvnUrl = "svn://xxx"svnExportCmdPre = "svn export svn://....
分类:编程语言   时间:2014-06-26 14:41:11    阅读次数:227
通过命令行对CPU负载做压力测试
无意间在51首页上看到一篇关于“通过命令行制造CPU负载或压力”的文章,感觉不错,先记录下来,为将来的使用做好笔记记录!很简单,就一个命令:#cat/dev/urandom|md5sum然后通过top观察,cpu的值果然很高,说明测试成功!有图有真相^_^
分类:其他好文   时间:2014-06-26 06:27:02    阅读次数:546
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!