<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/allanscyan" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/allanscyan" type="application/rss+xml"></fs:self_link><lastBuildDate>Wed, 29 Jun 2011 04:30:00 GMT</lastBuildDate><title>allanyan的开发网络</title><description>开发---应该是具有开创性的劳动</description><link>http://blog.csdn.net/blogrss.aspx?username=allanscyan</link><item><title>IBM/AIX下找到占用指定端口的进程并杀死它</title><link>http://blog.csdn.net/allanscyan/archive/2011/06/29/6574635.aspx</link><description> IBM/AIX 下找到占用指定端口的进程并杀死它

零、Windows下的方法
&gt; netstat -ano | find &quot;1521&quot;TCP    0.0.0.0:1521           0.0.0.0:0              LISTENING       2024&gt; taskkill /pid 2024
一、相关方法的参考资料（装载）
1:首先根据端口号
# netstat -A | grep 1099
返回
f1000089c27a2358 tcp4 0 0 *.389 *.* LISTEN 
2：移除sock
# rmsock f100089c27a2358 tcpcb
The socket 0x702f6800 is being held by proccess 4986 (java).
3:杀死进程
# kill 4986

二、功能脚本（原创）
##功能：找到端口所在进程的pid并选择是否杀死此进程
##参数$1 = 端口
!/bin/ksh
function kpd
{
 ##&lt;img src=&quot;http://www1.feedsky.com/t1/528841519/allanscyan/csdn.net/s.gif?r=http://blog.csdn.net/allanscyan/archive/2011/06/29/6574635.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><pubDate>Wed, 29 Jun 2011 12:30:00 +0800</pubDate><author>allanyan</author><guid isPermaLink="false">http://blog.csdn.net/allanscyan/archive/2011/06/29/6574635.aspx</guid><dc:creator>allanyan</dc:creator><fs:srclink>http://blog.csdn.net/allanscyan/archive/2011/06/29/6574635.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/allanscyan/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/allanscyan/~6149690/528841519/4257640</fs:itemid></item><item><title>两个(Unix/AIX下)ksh日志显示和维护脚本</title><link>http://blog.csdn.net/allanscyan/archive/2011/06/24/6566714.aspx</link><description>### 每5秒显示日志最后10行的命令
### 1、创建别名
echo 'alias rtlog=&quot;while true;do tail -10 /users/RtService/log.log &amp;&amp; sleep 5;done&quot;' &gt;&gt;/etc/profile
echo 'alias feplog=&quot;while true;do tail -10 /users/FepAdapter/log.log &amp;&amp; sleep 5;done&quot;' &gt;&gt;/etc/profile
### 2、使用别名
rtlog
feplog ### 每天22:00自动删除log4j默认日志的历史数据
### 1、创建删除历史日志的脚本
echo &quot;rm -f /users/RtService/log.log.*&quot; &gt;  /users/rmlog.sh;
echo &quot;rm -f /users/FepAdapter/log.log.*&quot; &gt;&gt;  /users/rmlog.sh;
chmod +x /users/rmlog.sh;
### 2、修改crontab执行计划任务
e&lt;img src=&quot;http://www1.feedsky.com/t1/527120235/allanscyan/csdn.net/s.gif?r=http://blog.csdn.net/allanscyan/archive/2011/06/24/6566714.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><pubDate>Fri, 24 Jun 2011 22:50:00 +0800</pubDate><author>allanyan</author><guid isPermaLink="false">http://blog.csdn.net/allanscyan/archive/2011/06/24/6566714.aspx</guid><dc:creator>allanyan</dc:creator><fs:srclink>http://blog.csdn.net/allanscyan/archive/2011/06/24/6566714.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/allanscyan/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/allanscyan/~6149690/527120235/4257640</fs:itemid></item><item><title>Unix[IBM/AIX|集群情况]下Oralce10g常用维护命令</title><link>http://blog.csdn.net/allanscyan/archive/2011/06/24/6566709.aspx</link><description>### 以此注释后面的内容在系统shell中运行
--- 以此注释后面的内容在Sqlplus中运行
[code]
### 1、取得oracle用户的环境
su - oracle
cd /oracle
source .cshrc
### 显示当前Oracle10gRAC/crs运行情况
crs_stat -t

### 2、关闭Oracle，注意 dbser1 为AIX主机名称
### 连接 Oracle
sqlplus /nolog
conn /as sysdba
--- 关闭实例
shutdown immediate
input &quot;press to continue...&quot;
exit
### 3、关闭节点
srvctl stop nodeapps -n dbser1
crs_stat -t
exit
### 关闭crs
/etc/init.crs stop
### 完成关闭

--- 4、在sqlplus中启动或关闭实例
--- 关闭实例
shutdown immediate;
--- 启动实例
startup;&lt;img src=&quot;http://www1.feedsky.com/t1/527118944/allanscyan/csdn.net/s.gif?r=http://blog.csdn.net/allanscyan/archive/2011/06/24/6566709.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><pubDate>Fri, 24 Jun 2011 22:48:00 +0800</pubDate><author>allanyan</author><guid isPermaLink="false">http://blog.csdn.net/allanscyan/archive/2011/06/24/6566709.aspx</guid><dc:creator>allanyan</dc:creator><fs:srclink>http://blog.csdn.net/allanscyan/archive/2011/06/24/6566709.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/allanscyan/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/allanscyan/~6149690/527118944/4257640</fs:itemid></item><item><title>关于工程项目开发和实施的几点看法</title><link>http://blog.csdn.net/allanscyan/archive/2010/03/12/5373248.aspx</link><description>就本人具体两个工程的管理经验来看，提出关于工程项目开发和实施的几点看法。//应付领导写的点东西，呵呵，请拍砖&lt;img src=&quot;http://www1.feedsky.com/t1/527118945/allanscyan/csdn.net/s.gif?r=http://blog.csdn.net/allanscyan/archive/2010/03/12/5373248.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><pubDate>Fri, 12 Mar 2010 11:22:00 +0800</pubDate><author>allanyan</author><guid isPermaLink="false">http://blog.csdn.net/allanscyan/archive/2010/03/12/5373248.aspx</guid><dc:creator>allanyan</dc:creator><fs:srclink>http://blog.csdn.net/allanscyan/archive/2010/03/12/5373248.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/allanscyan/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/allanscyan/~6149690/527118945/4257640</fs:itemid></item><item><title>X86上4系统的安装</title><link>http://blog.csdn.net/allanscyan/archive/2008/11/21/3345427.aspx</link><description>X86上4系统(Windows/Linux/MacOSX/Solaris)的安装作者：Allan S.C. Yan  2008年概要：实现4系统(Windows/Linux/MacOSX/Solaris)在同一X86 PC的安装版权：GNU Free Document License v2.0 or above for this document     说明：本文档只为交流所有，出发点为学术性的，所显示的内容已实现；0.X86 PC 配置:  CPU(P4 2GHz)/RAM(1GB)/HDD(IDE:120GB)/NIC(RT8139)/Video(i865G)/Sound(AC97) ...</description><pubDate>Fri, 21 Nov 2008 13:45:00 +0800</pubDate><author>allanyan</author><guid isPermaLink="false">http://blog.csdn.net/allanscyan/archive/2008/11/21/3345427.aspx</guid><dc:creator>allanyan</dc:creator><fs:srclink>http://blog.csdn.net/allanscyan/archive/2008/11/21/3345427.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/allanscyan/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/allanscyan/~6149690/527118946/4257640</fs:itemid></item></channel></rss>
