`
mylove2060
  • 浏览: 330381 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论
文章列表
sh addr2line.sh /hxapp/hxdata/bin/hxdata_sym hxdata.11259.11251 #!/bin/sh ## bin=./hqserver/bin/hexincs64 file1=./hexincs64.24378.24352 file2=$file1"_bt" ## if [ -f $file2 ];then rm $file2 fi while read line do ch1st=${line:0:1} if [ -z $ch1st ];then echo $ ...
cat user_access_20160519.txt | awk '{print $3'} | sort -nr | uniq -c | sort -k1 -nr | head -20 输出网络层 rec-q 堵包的队列 netstat -nat | grep 8601 | awk '{if ($2 > 0) print $2}'| sort -nr
#! /bin/bash LD_LIBRARY_PATH=/usr/local/lib:/usr/lib export LD_LIBRARY_PATH ROOT=/usr/local/ssel2/ramdisk RAMDIR=$ROOT/dbf RAMDIRNAME=dbf create() { echo $"Checking ramdisk... " mount -l|grep $RAMDIRNAME RETVAL=$? echo $RETVAL echo if [ $RETVAL -ne 0 ] ; t ...
Windows查看端口被占用的程序! "到底是谁占用了80端口,该怎么查,怎么终止它?",这里就简单讲解一下,在windows下如何查看80端口占用情况?是被哪个进程占用?如何终止等.          这里主要是用到windows下的DOS工具,点击"开始"--"运行",输入"cmd"后点击确定按钮,进入DOS窗口,接下来分别运行以下命令:          >netstat -aon | findstr "80"                  Proto   Local Ad ...
摘自http://www.cppblog.com/elva/archive/2010/08/02/121943.html Linux下,多线程程序死循环问题调试 当你的软件在某个时刻停止服务,CPU占用达到100%+,这种问题一个可能的原因是产生了死循环,假设程序某处存在潜在的死循环,并在某种条件下会引发,本文以一个示例来定位出现死循环的位置。 当程序某处存在死循环,通常定位问题及缩小范围的方法是,在可疑的代码处加log,或者注释掉可疑代码,这对于容易重现问题的程序来说还好,但对于“偶尔”才会产生问题程序却很难调试,因为我们很难重现程序故障。本文所述的调试过程正是在这种情况下,假设问题已经出现 ...
1.Ubuntu ubuntu-11.04-server-i386.iso 2.CentOS CentOS-5.6-i386-LiveCD.iso  3.Redhat rhel-server-6.0-i386-dvd.iso 4. Fedora Fedora-15-i386-DVD.iso 5.OpenSuSe openSUSE-11.0-DVD-i386.iso 6.SuSe SLES-11-SP1-DVD-i586-GM-DVD1.iso SLES-11-SP1-DVD-i586-GM-DVD2.iso 7. Gentoo Gentoo-livedvd-x86-amd64-32 ...
#include <stdio.h> #include <numeric> #include <vector> #include <string> #include <map> #include <iostream> #include "windows.h" using namespace std; CRITICAL_SECTION cs1; CRITICAL_SECTION cs2; CRITICAL_SECTION csprint; //初始化关键 ...
#include <stdio.h> #include <numeric> #include <vector> #include <string> #include <map> #include "iostream" #include "windows.h" using namespace std; CRITICAL_SECTION g_cs; int tickets=100; DWORD WINAPI Fun1 (LPVOID lparameter); DWO ...
1.过滤查看进程ps -ef\grep hexindatacollector 2.查看多个进程ps -au 3.解压缩文件 压缩文件 tar -czvf test.tar.gz *.jpg tar -cvvf test.tar.gz folder 解压文件 tar -xzvf test.tar.gz 4.http post请求数据 curl 'http://172.20.0.222:81/stockindex' -d 'method=stockindex&code=600000&datatype=zgb&datetime=16384(20120215-20120 ...

画折线图

<?php //performance.php header('Content-Type: text/xml'); header("Cache-Control: no-cache, must-revalidate"); //A date in the past header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); echo '<?xml version="1.0" encoding="ISO-8859-1"?><items> ...
#!/bin/sh #Section configuration(配置部分) #Task Time ,ex:203000(Time 20:30:00);190000(Time 19:00:00); startTime=170000 #Script File scriptfile=./gen.sh #Section promgram (程序执行部分) perDate=$(date "+%Y%m%d") isNewDay=1 totalSecs=0 isFirstTime=1 echo 'Task schedule Time: ('$st ...
搜索下载文件: fastdelegate.h 下载地址: http://code.google.com/p/code-adintr-com/source/browse/trunk/mylib/aslib/utility/FastDelegate.h?r=4 #include <stdio.h> #include "fastdelegate.h" /////////////////////////////// //被委托绑定的类成员函数 class Calculator { public: int Add(int nA, int nB ...
struct Param { unsigned long A : 8; unsigned long B : 24; Param() { memset(this, 0, sizeof(Param)); } }; Param param; param.A = 0xffffffff; param.B = 0xffffffff; //A为0x000000ff //B为0x00ffffff
#include <string> const char * strchr ( const char * str, int character ); char * strchr (       char * str, int character ); /* strchr example */ #include <stdio.h> #include <string> int main () { char str[] = "This is a sample string"; char * pch; pri ...
转自:http://www.cnblogs.com/zhangchaoyang/articles/2048952.html Linux上安装使用boost入门指导 获得boost boost分布 只需要头文件的库 使用boost建立一个简单的程序 准备使用boost二进制文件库 把你的程序链接到boost库 1.获得boost 下载boost_1_46_1.tar.bz2 解压 2.boost分布 boost_1_46_1.........................boost根目录   boost/........................ ...
Global site tag (gtag.js) - Google Analytics