-
linux free 命令
所属栏目:[Linux] 日期:2021-01-27 热度:72
$ -h -s Mem 行(第二行)是内存的使用情况。 Swap 行(第三行)是交换空间的使用情况。 total 列显示系统总的可用物理内存和交换空间大[详细]
-
linux dig 命令
所属栏目:[Linux] 日期:2021-01-27 热度:200
$ dig baidu.com /tr tr tdspan style="font-family: Microsoft YaHei; font-size: 15px"A /td tdspan style="font-family: Microsoft YaHei; font-size: 15px"地址记录,用来指定域名的 IPv4 地址,如果需要将域名指向一个 IP 地址,就需要添加 A 记录。 /t[详细]
-
Ubuntu 中登录相关的日志
所属栏目:[Linux] 日期:2021-01-27 热度:66
$ nick@myserver $ vim /var/log/auth.log $ -f /var/log/btmp $ $ -f /var/log/wtmp. $ reboot $[详细]
-
linux sed 命令
所属栏目:[Linux] 日期:2021-01-27 热度:54
aabbcc Hello world! Hello Jack!Hello China!Hello Nick! $ test.txt # 删除第二行到最后一行 选项 -i $ -i '1d' test.txt $ test.txt # 在第一行下面新增一行,内容为 test.txt # 在最后一行下面新增一行,内容为 , test.txt # 一次增加多行需要使用换行符[详细]
-
linux kill 命令
所属栏目:[Linux] 日期:2021-01-27 热度:137
[options] span style="color: #000000" […] : 把信号发送给列出的所有进程。 options : - span style="color: #000000" : 指定发送给进程的信号,指定信号的名称或号码都可以。 /span-l : 列出所有信号的名称和号码。/pre $ -l /tr tr tdspan style="font-[详细]
-
TeamCity : 安装 Agent
所属栏目:[Linux] 日期:2021-01-27 热度:60
$ $ $ buildAgent.dist.properties buildAgent.properties name=tcagent1 $ cd /var/local/ -R tcuser:tcuser buildagent/ $ #!/bin/ = span style="color: #0000ff"case span style="color: #800000"" span style="color: #800000"$1 span style="color: #8[详细]
-
TeamCity : 安装 Server
所属栏目:[Linux] 日期:2021-01-27 热度:184
$ -xf TeamCity- . . .gz -C ~/ $ ./teamcity-server. start #!/bin/ /etc/init.d/teamcity - startup script =/usr/lib/jdk1. =${JAVA_HOME}/ =.:${JAVA_HOME}/lib:${JRE_HOME}/ =${JAVA_HOME}/ = =-Djava.awt.headless= $ -stop-daemon --start -c tcuser[详细]
-
Ubuntu14.04安装postgresql9.4
所属栏目:[Linux] 日期:2021-01-27 热度:78
安装前的检查 首先查看是否已经安装了旧版本: dpkg -l | postgresql 如果已经安装了某个版本的postgresql,请先卸载。 安装postgresql 添加postgresql源: /etc/apt/sources.list.d/ vim /etc/apt/sources.list.d/pgdb.list 把下面这行数据添加到pgdb.list[详细]
-
linux 定时任务
所属栏目:[Linux] 日期:2021-01-27 热度:152
p style="margin: 0in; font-size: 11.0pt;" lang="zh-CN"span style="font-family: 'Microsoft YaHei'; font-size: 15px;"习惯了使用span style="font-family: Calibri;" windows span style="font-family: 'Microsoft YaHei';"的计划任务,span style="fon[详细]
-
Handling of asynchronous events---reference
所属栏目:[Linux] 日期:2021-01-25 热度:96
http://www.win.tue.nl/~aeb/linux/lk/lk-12.html 12.?Handling of asynchronous events One wants to be notified of various events,like data that has become available,files that have changed,and signals that have been raised. FreeBSD has the ni[详细]
-
Sed - An Introduction and Tutorial by Bruce Barnett
所属栏目:[Linux] 日期:2021-01-25 热度:80
http://www.grymoire.com/unix/sed.html Quick Links - NEW table border="1" tr Sed Pattern Flags /tr tr td a href="http://www.grymoire.com/unix/Sed.html#uh-6"gt;/g?- Global/td /tr tr td a href="http://www.grymoire.com/unix/Sed.html#uh-10a"gt;[详细]
-
Boost application performance using asynchronous I/O-ref
所属栏目:[Linux] 日期:2021-01-25 热度:105
Linux asynchronous I/O is a relatively recent addition to the Linux kernel. It's a standard feature of the 2.6 kernel,but you can find patches for 2.4. The basic idea behind AIO is to allow a process to initiate a number of I/O operations[详细]
-
Linux定时增量更新文件--转
所属栏目:[Linux] 日期:2021-01-25 热度:145
http://my.oschina.net/immk/blog/193926 动机与需求:现在有两台服务器A和B,由于A的存储随时会挂(某些原因),所以需要B机器上有A的备份,并且能够与A同步更新 一、crontab定时任务 发现了crontab这个东西 简单实践了一下,把使用的过程写到下面: 首先是[详细]
-
Getting over the dangers of rm command in Linux---reference
所属栏目:[Linux] 日期:2021-01-25 热度:193
reference:http://www.coolcoder.in/2014/01/getting-over-dangers-of-rm-command-in.html When we want to delete a directory and everything in it,we normally usually use rm -rf . However,this? is a bad habit to get into. If you make a mistake,[详细]
-
Linux 线程实现机制分析--转
所属栏目:[Linux] 日期:2021-01-25 热度:128
div class="ibm-columns" div class="ibm-col-1-1" 按照教科书上的定义,进程是资源管理的最小单位,线程是程序执行的最小单位。在操作系统设计上,从进程演化出线程,最主要的目的就是更好的支持SMP以及减小(进程/线程)上下文切换开销。 无论按照怎样的分[详细]
-
Linux下Makefile的automake生成全攻略--转
所属栏目:[Linux] 日期:2021-01-24 热度:176
http://www.yesky.com/120/1865620.shtml 作为Linux下的程序开发人员,大家一定都遇到过Makefile,用make命令来编译自己写的程序确实是很方便。一般情况下,大家都是手工写一个简单Makefile,如果要想写出一个符合自由软件惯例的Makefile就不那么容易了。?[详细]
-
Basic Data Structures and Algorithms in the Linux Kernel--re
所属栏目:[Linux] 日期:2021-01-24 热度:192
http://luisbg.blogalia.com/historias/74062 Links based on?: ,?,?. ?with comments telling you what you can't find in the textbooks. ?used for?,?,etc. ?are??are used for scheduling,virtual memory management,to track file descriptors and dire[详细]
-
Linux服务器性能评估与优化--转
所属栏目:[Linux] 日期:2021-01-24 热度:182
http://www.itlearner.com/article/4553 一、影响Linux服务器性能的因素 ? 操作系统级 CPU 内存 磁盘 带宽 网络 带宽 程序 应用级 二、系统性能评估标准 table style="width: 571px;" border="1" cellspacing="0" cellpadding="0" tr td rowspan="2" width="[详细]
-
awk - Unix, Linux Command---reference
所属栏目:[Linux] 日期:2021-01-24 热度:152
http://www.tutorialspoint.com/unix_commands/awk.htm gawk - pattern scanning and processing language gawk ?[? POSIX ?or? GNU ?style options ]? -f ? program-file ?[? -- ?] file ...? gawk ?[? POSIX ?or? GNU ?style options ] [? -- ?]? program-[详细]
-
NMAP - A Stealth Port Scanner--reference
所属栏目:[Linux] 日期:2021-01-24 热度:143
http://nmap.org/bennieston-tutorial/ Nmap is a free,open-source port scanner available for both UNIX and Windows. It has an optional graphical front-end,NmapFE,and supports a wide variety of scan types,each one with different benefits and[详细]
-
linux文件操作命令--转
所属栏目:[Linux] 日期:2021-01-24 热度:160
引用地址:http://bbsunchen.iteye.com/blog/1010993 想自己一开始处理文件的时候,看文件有多少行,都要写个perl脚本,好不麻烦啊...以此文纪念自己傻逼的科研生活 linux 文本操作命令 1. cat 查看文件中的内容, -n 查看时为每一行加编号; -b 和-n类似,只[详细]
-
centos6.4使用man查找命令时,报错No manual entry for xxxx
所属栏目:[Linux] 日期:2021-01-24 热度:196
前提:安装man的命令 yum -y install man 使用man报错 [root@localhost objs]# man fcntlNo manual entry for fcntl[root@localhost objs]# cd [root@localhost ~]# man fcntlNo manual entry for fcntl[root@localhost ~]# which man/usr/bin/man 解决报错[详细]
-
linux man使用方法 和centos安装中文man包 --转
所属栏目:[Linux] 日期:2021-01-24 热度:170
http://blog.chinaunix.net/uid-25100840-id-302308.html 中的异步通知,其中有一个fcntl()函数,就是找不到,很气愤,在网上搜,也没有好的解决办法, 1.手册页(Man Pages)对于Linux初学者,不能将手册页当教程,因为它只是简明的参考资料.在你需要了解某一命[详细]
-
centos复制到另外一台电脑连不上网
所属栏目:[Linux] 日期:2021-01-24 热度:126
http://snow-berry.iteye.com/blog/1991754 从一台电脑virtual box克隆出来的centos.vdi复制到另外一台电脑,找不到网卡,提示 Device eth0 does? not seem to be present 故障现象: service network restart Shutting down loopback insterface:??????????[详细]
-
18 Command Line Tools to Monitor Linux Performance
所属栏目:[Linux] 日期:2021-01-24 热度:93
By? ?Under:? ,? ?On:? December 26,2013 It’s really very tough job for every? System ?or? Network ?administrator to monitor and debug Linux System Performance ?problems every day. After being a? Linux Administrator ?for? 5 years ?in? IT in[详细]