摘要:
CentOS6无法本地登陆,ssh远程登陆没问题---使用CentOS自带的rsyslog分析调试Apr 21 14:15:27 raccontroller init: tty (/dev/tty1) main process (2048) terminated with status 1Apr 2... 阅读全文
开源、架构、Linux C/C++/python AI BI 运维开发自动化运维。 春风桃李花 秋雨梧桐叶。“力尽不知热 但惜夏日长”。夏不惜,秋不获。@ruiY--秦瑞python爬虫,C编程,嵌入式开发.hadoop大数据,桉树,onenebula云计算架构.linux运维及驱动开发. |
摘要:
CentOS6无法本地登陆,ssh远程登陆没问题---使用CentOS自带的rsyslog分析调试Apr 21 14:15:27 raccontroller init: tty (/dev/tty1) main process (2048) terminated with status 1Apr 2... 阅读全文
摘要:
tomcat 配置log记录及root 目录 阅读全文
摘要:
/usr/local/webserver/tomcat6/logs/logbak/zsxxw.log.2015-03-21.txt:2015-03-22 00:47:26,366 ORA-28002: the password will expire within 3 days/usr/local/... 阅读全文
摘要:
1,kvm bridge br0配置文件内容实例:ifcfg-em1配置文件内容Example:DEVICE=em1Bridge=br0TYPE=Ethernetonboot=yesNM_CONTROLLED=noBOOTPROTO=noneifcfg-br0配置文件内容Example:DEVICE... 阅读全文
摘要:
ntp.sjtu.edu.cn 202.120.2.101 (上海交通大学网络中心NTP服务器地址)s1a.time.edu.cn 北京邮电大学s1b.time.edu.cn 清华大学s1c.time.edu.cn 北京大学s1d.time.edu.cn 东南大学s1e.time.edu.cn 清华... 阅读全文
摘要:
L-value -->标识了一个可以存储结果值的内存存储地址--指针变量 or 普通内存变量;R-value -->数值;指针到达字符串末尾的NULL字节前 '\0';*string++函数调用时传递给它的是一个NULL指针,解引用指针前检测条件;间接访问解除引用;*strings 解除引用间接访问... 阅读全文
摘要:
switch(ch){case '\n': lines += 1; /*fail thru*/case ' ':case '\t': words += 1;default: chars += 1;}右移位: 从左边移入新位分如下两种情况 1. logical shifting特点: 左边移入的为用... 阅读全文
摘要:
1,while((ch = getchar()) != EOF){ putchar(ch);}2,while((ch=getchar()) != EOF){ if(ch '9'){ continue;}} //process only the digits3,while(scanf("%f",&v... 阅读全文
摘要:
1,mysql存储过程--函数库--字符串类mysql中处理字符串,默认第一个字符下标为1,参数position>=1substring(str,position[,length])从str的position开始取length字符 阅读全文
摘要:
1,完整的监控脚本如下#!/bin/bash#web_status_code=`curl -o /dev/null -s -w "http_code:%{http_code}" http://yjszs.nudt.edu.cn/`#1,web_status_code=`curl -o /dev/nu... 阅读全文
|