查看最大线程数:

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


 

NAME

bash - GNU Bourne-Again SHell  

SYNOPSIS

bash [options] [file]  

COPYRIGHT

Bash is Copyright (C) 1989-2005 by the Free Software Foundation, Inc.  

DESCRIPTION

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.  

本日志由 flyinweb 于 2010-08-26 10:42:43 发表到 Linux 中,目前已经被浏览 50 次,评论 0 次;

作者添加了以下标签: bash

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

一段时间启动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 17:46:44 发表到 Linux 中,目前已经被浏览 106 次,评论 0 次;

作者添加了以下标签: vivim

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

服务器运行一段时间后,可能突然会需求添加某个扩展,这就需要在不重新编译PHP的情况下独立添加扩展。

本日志由 flyinweb 于 2010-08-13 14:28:33 发表到 Linux 中,目前已经被浏览 120 次,评论 0 次;

作者添加了以下标签: phpizephp 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后磁盘的空间并没有扩大。

本日志由 flyinweb 于 2010-08-13 09:46:35 发表到 Linux 中,目前已经被浏览 109 次,评论 0 次;

作者添加了以下标签: LVM

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

Advanced Bash-Scripting Guide

An in-depth exploration of the art of shell scripting

Mendel Cooper

6.2

17 March 2010

Revision History
Revision 6.023 Mar 2009Revised by: mc
'THIMBLEBERRY' release: Major Update.
Revision 6.130 Sep 2009Revised by: mc
'BUFFALOBERRY' release: Minor Update.
Revision 6.217 Mar 2010Revised 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.

本日志由 flyinweb 于 2010-08-11 14:41:46 发表到 Linux 中,目前已经被浏览 78 次,评论 0 次;

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

Samba

作者:北南南北,正在增加中... ... 需要您的参与;
来自:LinuxSir.Org
简介:本文只是讲一讲我们最常用的Linux与Windows共享文件,主要是为新手指一指路。如何建立最简单的Samba服务器,并讲述遇到问题应该从何处寻找解决方案;正在更新之中,希望您的参加 ... ... 谢谢;

本日志由 flyinweb 于 2010-08-02 17:32:30 发表到 Linux 中,目前已经被浏览 109 次,评论 0 次;

作者添加了以下标签: Samba

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

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

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

1901/24