Chan Chen Coding...

Linux

top命令的Load average 含义及性能参考基值
     摘要: 系统平均负载被定义为在特定时间间隔内运行队列中的平均进程树。如果一个进程满足以下条件则其就会位于运行队列中:
它没有在等待I/O操作的结果
它没有主动进入等待状态(也就是没有调用'wait')
没有被停止(例如:等待终止)
上面的输出,load average后面分别是1分钟、5分钟、15分钟的负载情况。数据是每隔5秒钟检查一次活跃的进程数,然后根据这个数值算出来的。如果这个数除以CPU 的数目,结果高于5的时候就表明系统在超负荷运转了。  阅读全文

posted @ 2013-05-23 17:47 Chan Chen 阅读(309) | 评论 (0)  编辑

Curl命令使用整理

posted @ 2013-05-09 11:52 Chan Chen 阅读(362) | 评论 (0)  编辑

Java Web Application 远程调试
     摘要: 最近在开发java web application的时候,因为很多原因,无法对自己开发的项目在本地进行调试,常常需要进行远程调试,之前一直通过打logger的方式进行,每次都要重新部署,相当的痛苦,今天下午研究了以下,如果进行远程调试。  阅读全文

posted @ 2013-05-05 16:49 Chan Chen 阅读(1604) | 评论 (0)  编辑

Memcache服务器端的安装
     摘要: 服务器端主要是安装memcache服务器端  阅读全文

posted @ 2013-03-21 14:06 Chan Chen 阅读(194) | 评论 (0)  编辑

FTP Server
     摘要: FTP works on a client/server model. The server component is called an FTP daemon. It continuously listens for FTP requests from remote clients. When a request is received, it manages the login and sets up the connection. For the duration of the session it executes any of commands sent by the FTP client.  阅读全文

posted @ 2013-02-28 16:43 Chan Chen 阅读(727) | 评论 (0)  编辑

set up ssh server on ubuntu server 12.04 edition
     摘要: SSH stands for “secure shell”, and it is a network protocol that allows you to securely send commands to a remote machine. The “secure” part comes from the fact that the connection is encrypted, which means that an attacker cannot eavesdrop on the connection, or intercept and replace your commands with his own midway through transit. SSH is pretty reliable and secure, and is commonly used in the Linux world. Administrators often use it to remotely manage machines – it’s usually more comfortable   阅读全文

posted @ 2013-02-24 01:18 Chan Chen 阅读(509) | 评论 (0)  编辑

Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu
     摘要: LAMP stack is a group of open source software used to get web servers up and running. The acronym stands for Linux, Apache, MySQL, and PHP. Since the virtual private server is already running Ubuntu, the linux part is taken care of. Here is how to install the rest.  阅读全文

posted @ 2013-02-23 13:27 Chan Chen 阅读(284) | 评论 (0)  编辑

Split Large File in Linux

posted @ 2012-10-22 14:03 Chan Chen 阅读(500) | 评论 (0)  编辑

Linux Increase The Maximum Number Of Open Files / File Descriptors

posted @ 2012-08-21 12:51 Chan Chen 阅读(1400) | 评论 (0)  编辑

A tips to remove cache

posted @ 2012-06-19 02:27 Chan Chen 阅读(223) | 评论 (0)  编辑

xargs: How To Control and Use Command Line Arguments

posted @ 2012-06-19 02:08 Chan Chen 阅读(268) | 评论 (0)  编辑

Understand sudo

posted @ 2012-06-12 02:04 Chan Chen 阅读(143) | 评论 (0)  编辑

symbolic and hard link

posted @ 2012-05-23 04:31 Chan Chen 阅读(816) | 评论 (0)  编辑

Redirect stderr To stdout

posted @ 2012-05-18 07:40 Chan Chen 阅读(364) | 评论 (0)  编辑

Perl Print Duplicate Line

posted @ 2012-04-26 11:01 Chan Chen 阅读(283) | 评论 (0)  编辑

正则中的括号

posted @ 2012-04-26 10:41 Chan Chen 阅读(155) | 评论 (0)  编辑

Install and Setup Ramdisk under Linux (CentOS, RHEL, Fedora)

posted @ 2012-04-25 16:35 Chan Chen 阅读(1170) | 评论 (0)  编辑

A good reference of bladelogic network shell

posted @ 2012-04-23 11:45 Chan Chen 阅读(231) | 评论 (0)  编辑

JBOSS 4.3.0 EAP Clustering with multiple instances running on Same machine balanced with Apache HTTP Server 2.2.11

posted @ 2012-03-21 13:22 Chan Chen 阅读(787) | 评论 (0)  编辑

How to kill defunct process

posted @ 2012-03-20 16:58 Chan Chen 阅读(713) | 评论 (0)  编辑

find -exec

posted @ 2012-03-19 13:59 Chan Chen 阅读(640) | 评论 (0)  编辑

Perl调用外部命令的方式和区别

posted @ 2012-03-08 09:43 Chan Chen 阅读(401) | 评论 (0)  编辑

Passing arguments to a shell script

posted @ 2012-02-29 21:58 Chan Chen 阅读(179) | 评论 (0)  编辑

Use Sed in Multi-Files Text Processing

posted @ 2012-02-18 15:49 Chan Chen 阅读(218) | 评论 (0)  编辑

VIM Configure File for Backup Purpose
     摘要: vim config  阅读全文

posted @ 2011-08-13 02:08 Chan Chen 阅读(262) | 评论 (0)  编辑

Seven Habit of Effective Text Editing (Transfer)

posted @ 2011-08-13 01:40 Chan Chen 阅读(279) | 评论 (0)  编辑