码迷,mamicode.com
首页 >  
搜索关键字:cat    ( 24058个结果
CDLinux su: must be suid to work properly错误
系统内核版本:cat /proc/version Linux version 2.6.33-cdl (root@Phenom) (gcc version 3.4.6) #1 SMP PREEMPT Fri Apr 2 01:04:03 EDT 2010嵌入式文件系统一般用户执行su root切换根用户提示错误:su: must be suid to work properly解决方法:修改busy...
分类:系统相关   时间:2014-09-13 15:56:25    阅读次数:267
POJ - 2752 Seek the Name, Seek the Fame (KMP的next[]应用)
Description The little cat is so famous, that many couples tramp over hill and dale to Byteland, and asked the little cat to give names to their newly-born babies. They seek the name, and at the sa...
分类:其他好文   时间:2014-09-13 10:40:55    阅读次数:197
Linux 文件系统IO性能优化
对于LINUX SA来说,服务器性能是需要我们特别关注的,包括CPU、IO、内存等等系统的优化变得至关重要,这里转载一篇非常不错的关于IO优化的文章,供大家参考和学习:一、关于页面缓存的信息,可以用cat /proc/meminfo看到。其中的Cached 指用于pagecache的内存大小(dis...
分类:系统相关   时间:2014-09-12 20:39:04    阅读次数:377
linux下查看串口信息
rs232串口通信接口:当通信距离较近时(/dev/ttyS0查看串口名称使用 ls -l /dev/ttyS*一般情况下串口的名称全部在dev下面,如果你没有外插串口卡的话默认是dev下的ttyS*,一般ttyS0对应com1,ttyS1对应com2,当然也不一定是必然的;查看串口驱动:cat /...
分类:系统相关   时间:2014-09-12 14:48:33    阅读次数:260
【读书笔记】Linux源码注释
第二章 大概的内部组成 IO端口寻址: 统一寻址: 就是把地址归入存储器寻址范围. 独立寻址: 跟存储器分开,专门的寻址空间 没怎么理解, PC机一般都是采用独立寻址, 见下图 在linux里,可以在 cat /proc/ioports 查看 访问控制: 循环/中断/DMA 循环消耗CPU时间 所以...
分类:系统相关   时间:2014-09-12 13:10:13    阅读次数:217
直接拿来用!最火的iOS开源项目(三)
41.DCIntrospectIntrospect是由来自澳大利亚的Domestic Cat Software工作室在GitHub上发起的一个开源项目。Introspect是一个很小的工具集,主要用于帮助开发者调试使用UIKit框架构建的iOS用户界面,堪称是iOS界面调试神器。Introspect...
分类:移动开发   时间:2014-09-11 13:42:51    阅读次数:248
启动apache服务出现Job failed. See system logs and 'systemctl status' for details. .
启动apache服务出现Jobfailed.Seesystemlogsand‘systemctlstatus‘fordetails.查看错误提示看日志cat/var/log/messages|grephttpd原来是编辑httpd.conf文件时候第196行出错vi/etc/httpd/conf/httpd.confsystemctlstarthttpd.service解决
分类:其他好文   时间:2014-09-10 19:37:51    阅读次数:494
ping hosts文件各个配置项
#!/bin/bash #pingall cat /etc/hosts | grep -v ‘^$‘ | grep -v ‘^#‘ | while read IP DOMAINS do for DOMAIN in $DOMAINS do ping -c1 $DOMAIN > /dev/null 2>&1 #echo $DOMAIN "("$IP")" "["$?"]" printf "%-5...
分类:其他好文   时间:2014-09-10 17:57:41    阅读次数:171
linux--shell脚本笔记之一。
shell脚本(1)Shell脚本是一个特殊的应用程序,负责接收用户输入的操作命令并进行解释,将需要执行的操作传递给内核执行,并输出执行结果。可以在/etc/shells文件查看当前系统所支持的shell种类。[root@localhost~]#cat/etc/shells/bin/sh/bin/bash/sbin/nologin/bin/tcsh/bin..
分类:系统相关   时间:2014-09-10 14:21:11    阅读次数:331
Linux CentOS 6.5服务器上安装pip,requests库
今天在服务器上部署Python程序,发现服务器上缺Requests库,于是设法装上,CentOS版本怎么安装Python的pip,我之前给出的Ubuntu下apt-get的方法 首先看下服务器系统版本 # cat /etc/issue CentOS release 6.5 (Final) Kernel \r on an \m 首先需要先安装下pip yum install py...
分类:系统相关   时间:2014-09-10 10:50:50    阅读次数:351
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!