- 博客(10)
- 收藏
- 关注
转载 The Top command【Detail explain to each item】
Top command is certainly there in every system admins’ frequently used command list. As the man page says, “Thetop program provides a dynamic real-time view of a running system. Itcan display syst
2009-11-29 15:52:00 1049
原创 Linux virtual server【LVS】
1. Two methods to construct the cluster of servers (1). DNS based load balancing cluster DNS load balancing is probably the simplest method to build networkservice cluster. It uses Domain Na
2009-11-29 13:47:00 606
原创 Calculating the Range of Addresses on Your Network
If someone gives you an IP address of 97.158.253.28 and a subnetmask of 255.255.255.248, how do you determine the network address andthe broadcast address, in other words the boundaries, of your
2009-11-28 00:51:00 640
原创 How TCP Establishes A Connection
TCP Is a Connection-Oriented Protocol TCP opens up a virtual connection between the client and serverprograms running on separate computers so that multiple and/or sporadicstreams of data ca
2009-11-27 23:45:00 770
原创 Oracle Advanced Queuing
1. What Is Advanced Queuing?When Web-based business applications communicate witheach other, producer applications enqueue messages and consumerapplications dequeue messages. Advanced Queuing
2009-11-26 23:48:00 900
原创 通过SO_BINDTODEVICE实现interface绑定
一般服务器端程序会通过socket => bind => listen来监听一个特定的端口,但通常绑定的地址是INADDR_ANY, 这样只要是请求连接到当前主机端口的或者是发送到当前主机端口的数据包都会被接受,当然了,你可以绑定一个特定的ip地址,这样server端只会接受指定IP的数据包,不过有的时候这个也不是你想要的,比如你想让server可以接受指定interface(eth8)的数据包,
2009-11-25 22:37:00 9941 2
原创 perl中recv介绍
今天才发现perl中的recv函数竟然不会因为没有满足指定长度而阻塞!这要是在C中,必须将socket设置成了non-block以后,才会在没有满足指定数据长度也会返回,通过fcntl可以判断在recv前后,socket描述符前后都是block状态的, 所以应该是perl在封装recv的时候,将socket先设置成non-block, 返回数据之前又将socket设置成block,而且socket
2009-11-16 23:44:00 2059
原创 ioctl {SIOCGIFCONF}
#include #include #include #include #include #include #include #define MAX_IFS 64int main(int argc, char **argv) { struct ifreq *ifr, *ifend; struct ifreq ifreq; st
2009-11-09 19:02:00 7030 2
转载 ssh, scp without password to remote host (Look Ma, no Password !)
Here Im, back again on SSH stuff, as you can see from my previous posts (search blogger name = "ben") OpenSSL and SSH stuff is very interesting and useful for me, so I wrote down a lot of notes on t
2009-11-05 12:52:00 2712
转载 用Eclipse+gcc编译器开始你的旅程
Eclipse(http://www.eclipse.org/)Eclipse是一个由IBM公司牵头开发的一个自由软件,后来IBM公司为了让更多的公司积极参与进来而不至于让它们因为这是一个由IBM主导的软件而导致软件开发者们拒之门外,Eclipse的身份则转为由一个固定员工的组织所维护的非营利组织。它和所有的自由软件一样,被免费地提供给所有热爱开源事业的人们,通过集体的智慧将它进行完善。
2009-11-04 16:35:00 18081
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人