- 博客(36)
- 收藏
- 关注
原创 Mq quick profile.
/usr/sbin/groupadd -g 102 mqm/usr/sbin/useradd -u 1002 -g 102 -m -d /export/home/mqm -c "mqm" -s /usr/bin/sh mqmchown -R mqm:mqm /opt/mqmchown -R mqm:mqm /var/mqm .profile# MQSeries LIBRA
2005-02-25 15:20:00
1223
转载 Unix的五条优化的技巧和及时的优化方法 [zt]
主要内容: *五条优化的技巧 *及时的优化方法 及时调整: 有时候,你没有时间去理解一些细节:用户和管理让你喘不过气来,而且你必须马上解决一个问题。或许你是一个后备的系统管理员,那天当你的同事在十个用户冲进你们公用的办公室,要求提高性能之前外出了。或许你是一个定了契约的系统管理员需要一个快捷的目录条记录一些可能的系统错误。或许你已经已经一页一页地读了这本书,在寻找一个简明地参考手册
2005-02-06 16:44:00
1566
转载 SUN常用的诊断命令和工具(简介) [zt]
SUN常用的诊断命令和工具(简介) adb Analyze dumps and a running system. AnswerBook Display online reference manuals in areas of hardware, user, system administration, and other arch Display architecture and kernel
2005-02-06 16:33:00
1211
转载 有用的 Solaris 命令 [zt]
Solaris 中的命令非常之多,以致很难从中分离出那些很酷的命令。例如,有些命令报告程序进行每个系统调用时所要花费的时间,有些命令动态地显示系统活动信息,而且这些命令大部分都同时包含在了 Solaris 8 和 Solaris 9 中。这里,我将重点介绍其中一些命令,您或许会发现它们特别有用。 系统管理员是工具的使用者。通过实践经验,我们掌握了更多工具,并且增强了诊断问题以及实施解决方案的能
2005-02-06 16:32:00
3390
转载 Solaris下的性能与调整[ZT] 作者:C.Arthur
Solaris下的性能与调整[ZT] http://www.chinaunix.net 作者:C.Arthur 发表于:2004-03-19 19:39:20 1. 着手性能问题 2. 性能监测 2.1. 从暴露出来的问题开始 2.2. 知道你的系统在正常情况下会怎样 2.3. 寻找性能瓶颈 3. 一些常见问题和一些建议 3.1. 64位的运算与容量能带来什么 3.2. 空闲内
2005-02-06 16:23:00
1892
原创 一次解决系统性能的日记(Solaris8)
bug id:有一台server(solaris 5.8),使用top测试,发现IDEL的CPU每次都是0%,但是查看各个进程使用的CPU时间百分比,没有一个进程的使用率高!这是怎么回事呢?百思而不解,后来使用vmstat 2查看(一般的,第一行输出都是无用的,错误的),发现us的百分比是30%,而sy的百分比是60%,这就说明cpu时间都是在系统空间耗去的。(我们还有另外两台吃CPU很厉害的机子
2005-01-18 10:49:00
1273
原创 BEA WebLogic Server 8.1 JMS与 IBM MQSeries 集成方案
http://dev2dev.bea.com.cn/bbs/yuanch/ArticleShow.jsp?Id=11
2004-12-16 11:14:00
1367
原创 MQ ERROR CODE
http://publibfp.boulder.ibm.com/epubs/html/amqzao03/amqzao03tfrm.htm
2004-12-16 11:12:00
1589
1
原创 使用 MQ JMS 管理工具(From margin's blog)
管理工具使管理员能定义八种类型的 MQ JMS 对象并把它们存储到 JNDI 名称空间中。然后,JMS 客户机可以通过 JNDI 检索名称空间中的这些受管理对象和使用它们。可以通过使用本工具来管理的 JMS 对象有:1.MQQueueConnectionFactory 2.MQTopicConnectionFactory 3.MQQueue 4.MQTopic 5.MQXA
2004-12-16 11:03:00
2899
原创 TEST MQ
a) 本地队列存取功能测试:在运行MQSeries 的机器上 用指令“crtmqm –q vernus.queue.manager”建立缺省队列管理器MQSeries 返回信息,表示缺省队列管理器已经建立,缺省的MQSeries 对象已经创建 用指令“strmqm”启动缺省队列管理器MQSeries 返回信息,表示队列管理器已经启动 用指令“runmqsc”进入MQSC 命令行MQSerie
2004-12-16 11:00:00
5304
原创 有关WebSphere MQ消息通道管理的几点技巧
From .WebSphere MQ作为IBM软件家族的消息传输中间件产品,以其出色的特性和功能在业界享有盛誉。WebSphere MQ独特的安全机制、简便快速的编程风格、卓越不凡的稳定性、可扩展性和跨平台性,以及强大的消息通讯能力,使得它在银行、电信,还是在交通运输、政府机关等各行各业,赢得了很高的市场份额。在中国,WebSphere MQ同样拥有广泛的用户基础和许许多多的成功案例。它不仅具有
2004-12-16 09:45:00
3536
1
原创 IBM MQSeries使用指南
(来源:http://www.ccw.com.cn) 随着计算机网络和分布式应用的不断发展,远程消息传递越来越成为应用系统中不可缺少的组成部分。商业消息中间件的出现保证了消息传输的可靠性,高效率和安全性,同时也减少了系统的开发周期。目前应用最多的消息中间件产品为IBM MQSeries。本文就针对MQ的基本操作与配置进行详细的阐述,希望对读者有所帮助。
2004-12-16 09:42:00
2584
原创 Resume the deleted files by keywords.
#include #include int main(void){ FILE *fp; char buf[1024]; long i=0; long j=0; long k=0; fp=fopen("/dev/dsk/c0t1d0s7","r"); while(!feof(fp)){ fread(buf,1024,1,fp); for(j=0
2004-11-22 17:44:00
1028
原创 Some guru's code for daemon.
#include #include #include #include #define RUNNING_DIR "/tmp"#define LOCK_FILE "exampled.lock"#define LOG_FILE "exampled.log"void log_message(char *filename,char *message){ FILE *logfile; log
2004-11-22 17:39:00
846
原创 The stream of send() and recev().
1)When i use send() and recev() to manipulate stream, if i send “hello”, and i can got the string which length is 7.2)The sniffer monitor the network, and i use “putty” to telnet a unix server, and wh
2004-11-16 19:20:00
909
原创 A simply client code for that server.
#include #include #include #include #include #define PORT 3490#define MAXDATASIZE 1000int main(int argc,char *argv[]){ char buf[MAXDATASIZE]; int sockfd; int numbytes; struct sockaddr_in t
2004-11-10 15:00:00
1104
原创 A simply server code with c.
#include #include #include #include #include /*#include *//*#include *//*#include */#define MYPORT 3490#define BACKLOG 10 /*how many pending connections queue will hold*/main(void ){ int sockf
2004-11-10 14:58:00
1415
原创 The K Shell Program Guide(1)
1)WildcardMatches?Any single character*Any string of characters[set]Any character in set [!set]Any character not in set2)ExpressionMatches[abc]a,
2004-10-15 14:28:00
1000
转载 java servlet specification v2.2
Table Of Contents Who Should Read This Specification 8 API Reference 8 Other Jav
2004-09-27 17:11:00
2443
原创 AWK 介绍
AWK 介绍 如果要格式化报文或从一个大的文本文件中抽取数据包,那么a w k可以完成这些任务。它 在文本浏览和数据的熟练使用上性能优异。 整体来说, a w k是所有s h e l l过滤工具中最难掌握的,不知道为什么,也许是其复杂的语法 或含义不明确的错误提示信息。在学习a w k语言过程中,就会慢慢掌握诸如Bailing out 和 a w k : c m d . L i n e :等错误信
2004-09-27 09:10:00
2943
原创 awk:the most powerful utility tool in shell world.
1) FORMAT: awk pattern filename awk {action} filename awk pattern {action} filename(a) awk /Sally/ {print $1} filename(b) ls -l |awk $1
2004-09-24 10:15:00
847
原创 split
s p l i t命令一般格式:split -output_file-size input-filename output-filename这里o u t p u t - f i l e - s i z e指的是文本文件被分割的行数。s p l i t查看文件时,o u t p u t - f i l e - s i z e选项指定将文件按每个最多1 0 0 0行分割。如果有个文件有2 8 0 0
2004-09-20 10:58:00
809
原创 cut
cut [options] file1 file2下面介绍其可用选项:-c list 指定剪切字符数。-f field 指定剪切域数。-d 指定与空格和t a b键不同的域分隔符。- c用来指定剪切范围,如下所示:- c 1,5-7 剪切第1个字符,然后是第5到第7个字符。-c1-50 剪切前5 0个字符。-f 格式与- c相同。-f 1,5 剪切第1域,第5域。- f 1,10-12 剪切第1域
2004-09-20 10:56:00
782
原创 join
其一般格式为:join [options] input-file1 input-file2an n 为一数字,用于连接时从文件n中显示不匹配行。例如, - a 1显示第一个文件的不匹配行,- a 2为从第二个文件中显示不匹配行。o n.m n为文件号,m为域号。1 . 3表示只显示文件1第三域,每个n,m必须用逗号分隔,如1 . 3,2 . 1。j n m n为文件号,m为域号。使用其他域
2004-09-20 10:55:00
810
原创 uniq
命令一般格式:uniq -u d c -f inputfile outputfile其选项含义:-u 只显示不重复行。-d 只显示有重复数据行,每种重复行只显示其中一行-c 打印每一重复行出现次数。-f n为数字,前n个域被忽略。一些系统不识别- f选项,这时替代使用- n。
2004-09-20 10:51:00
781
原创 sort
s o r t命令的一般格式为:sort -cmu -o output_file [other options] +pos1 +pos2 input_files下面简要介绍一下s o r t的参数:-c 测试文件是否已经分类。-m 合并两个分类文件。-u 删除所有复制行。-o 存储s o r t结果的输出文件名。其他选项有:-b 使用域进行分类时,忽略第一个空格。-n 指定分类是域上的数字分类
2004-09-20 10:48:00
802
原创 sed, a Streamlined Editor.
preface:Sed is a streamlined noninteractive editor.It can edit a file or data, and it just modify the output, but not modify the originally files.Format of sed: $sed command filename.Command Fun
2004-09-20 10:23:00
891
原创 grep
1)$ grep -n ^south datafile 3:southwest SW Lewis Dalsass 2.72)$ grep -i pat datafile Pat Huang yuanxiao ps: The -i option turns off case se
2004-09-20 10:00:00
827
原创 regular expression
//simple and useful.^ :begainning of a line. :/^love/$ :end of a line. :/love$/;/^$/. :matches one character. :/l..e/* :mat
2004-09-20 09:39:00
1149
原创 The first article of shell.
This Days, i will post some articles for shell tools, as awk... sort... wc... tr... sed... I want to make a db of shells utility tools!And the data are from some books and websites, and every rig
2004-09-19 15:02:00
828
原创 世界编程大赛一等奖作品!!!
据说这个程序(omni.com)是97年的Mekka ’97 4K Intro比赛的一等奖作品,整个程序全长4095字节,其中包含133字节的自解压程序(类RAR压缩),未解压的程序长4782字节。三维场景包含144个立方体,367个面,362个点,15个不同的64*64的纹理…… 把下面的文本保存为 1.txt,再加上下面的内容 然后打开一个DOS窗口,输入 debug 你就得到了一个 1.co
2004-07-18 19:37:00
2819
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人