查看最大线程数:
cat /proc/sys/kernel/threads-max
本日志由 flyinweb 于 2010-08-27 09:48:50 发表到 Linux 中,目前已经被浏览 109 次,评论 0 次;
作者添加了以下标签: process and thread;
首页只显示了部分日志内容,要查看日志的全部内容请阅读全文;
BASH
Section: User Commands (1)
Updated: 2006 September 28
IndexReturn to Main Contents
Bash is Copyright (C) 1989-2005 by the Free Software Foundation, Inc.
Bash is an sh-compatible command language interpreter that executes commands read from the standard input or from a file. Bash also incorporates useful features from the Korn and C shells (ksh and csh).
Bash is intended to be a conformant implementation of the Shell and Utilities portion of the IEEE POSIX specification (IEEE Standard 1003.1). Bash can be configured to be POSIX-conformant by default.
一段时间启动vi时,总出现vi没有响应的情况。 现象是输入vi命令后,vi窗口显示不出来,并且此时终端也没有响应,不能输入任何命令。只能用ssh再登录一个终端,在新登录终端上使用kill命令杀死此vi进程,此时运行vi的终端中显示如下信息:
*** info [lib/liblow.c(329)]: /dev/gpmctl: Interrupted system call *** err [lib/liblow.c(336)]: /dev/gpmctl: No such device or address Vim: Caught deadly signal TERM Vim: Finished. Terminated
本日志由 flyinweb 于 2010-08-13 14:28:33 发表到 Linux 中,目前已经被浏览 120 次,评论 0 次;
作者添加了以下标签: phpize,php extension;
首页只显示了部分日志内容,要查看日志的全部内容请阅读全文;
将LINUX系统下的一个分区/dev/sda6划给linux的LVM使用,具体操作如下:
1.用 fdisk /dev/sda分区
2.pvcreate /dev/sda6
3.vgextend VolGroup00 /dev/sda6
4.lvextend -L +10G /dev/VolGroup/LogGroup02
5.e2fsck -f /dev/VolGroup/LogGroup02
6.resize2fs /dev/VolGroup/LogGroup02
这就好了,第6步是让扩展的空间生效,要不你会发现df后磁盘的空间并没有扩大。
17 March 2010
| Revision History | ||
|---|---|---|
| Revision 6.0 | 23 Mar 2009 | Revised by: mc |
| 'THIMBLEBERRY' release: Major Update. | ||
| Revision 6.1 | 30 Sep 2009 | Revised by: mc |
| 'BUFFALOBERRY' release: Minor Update. | ||
| Revision 6.2 | 17 Mar 2010 | Revised by: mc |
| 'ROWANBERRY' release | ||
This tutorial assumes no previous knowledge of scripting or programming, but progresses rapidly toward an intermediate/advanced level of instruction . . . all the while sneaking in little nuggets of UNIX® wisdom and lore. It serves as a textbook, a manual for self-study, and a reference and source of knowledge on shell scripting techniques. The exercises and heavily-commented examples invite active reader participation, under the premise that the only way to really learn scripting is to write scripts.
This book is suitable for classroom use as a general introduction to programming concepts.
As my last post, I had built a more healthy load balancer. But it is still not practical. Because if the linux director fails, the system will not work. The high availability should be considered. In this post, I list my steps to implement HA function.
本日志由 flyinweb 于 2010-07-31 11:20:52 发表到 Linux 中,目前已经被浏览 136 次,评论 0 次;
作者添加了以下标签: LVS+Heartbeat+Ldirectord;
首页只显示了部分日志内容,要查看日志的全部内容请阅读全文;
To: jconsole不能打开,大概两种可能: 1 没有启用独占模式,如O
两个实例分别放在不同的 datadir 里面,会方便很多
今天遇到了“Cleanup failed to process the following paths:-
谢谢分享.有帮助.
根据inotify + rsync的思路,现在有了个c++版本的同步程序,只需指
真是有耐心呀。我做了个pdf 文件 在上面的网站可以下载