<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ATEGPU &#187; Linux</title>
	<atom:link href="http://www.ategpu.com/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ategpu.com</link>
	<description>Embedded GPU With OpenGL ES API</description>
	<lastBuildDate>Thu, 24 Nov 2011 05:46:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>disable usb storage automount</title>
		<link>http://www.ategpu.com/2011/02/25/disable-usb-storage-automount.html</link>
		<comments>http://www.ategpu.com/2011/02/25/disable-usb-storage-automount.html#comments</comments>
		<pubDate>Fri, 25 Feb 2011 04:50:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[automount]]></category>

		<guid isPermaLink="false">http://www.ategpu.com/2011/02/25/disable-usb-storage-automount.html</guid>
		<description><![CDATA[找了很久，发现这个方法可以禁止u disk自动automount，感谢网络！
In file /usr/share/PolicyKit/policy/hal-storage.policy I changed the &#8220;allow_active&#8221; from &#8220;yes&#8221; to &#8220;no&#8221; to not mount the device at all. Code: &#60;action id=&#8221;org.freedesktop.hal.storage.mount-removable&#8221;&#62; &#60;description&#62;Mount file systems from removable drives.&#60;/description&#62; &#60;message&#62;System policy prevents mounting removable media&#60;/message&#62; &#60;defaults&#62; &#60;allow_inactive&#62;no&#60;/allow_inactive&#62; &#60;allow_active&#62;yes&#60;/allow_active&#62; &#60;/defaults&#62; &#60;/action&#62; Other interesting value is &#8220;auth_admin&#8221;. When you insert ANY removable mass storage on the system, a [...]]]></description>
		<wfw:commentRss>http://www.ategpu.com/2011/02/25/disable-usb-storage-automount.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>use ssh and tar to copy files with two pc</title>
		<link>http://www.ategpu.com/2010/05/27/use-ssh-and-tar-to-copy-files-with-two-pc.html</link>
		<comments>http://www.ategpu.com/2010/05/27/use-ssh-and-tar-to-copy-files-with-two-pc.html#comments</comments>
		<pubDate>Thu, 27 May 2010 03:06:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.ategpu.com/2010/05/27/use-ssh-and-tar-to-copy-files-with-two-pc.html</guid>
		<description><![CDATA[tar cf &#8211; files &#124; ssh user@192.168.1.18 &#8220;tar -C /home/jiaojy -xf -&#8221; files为文件，或者目录 -C 后面指定要拷贝的地址， user为192.168.1.18上的用户 
]]></description>
		<wfw:commentRss>http://www.ategpu.com/2010/05/27/use-ssh-and-tar-to-copy-files-with-two-pc.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>inode full , no space on the disk</title>
		<link>http://www.ategpu.com/2010/05/21/inode-full-no-space-on-the-disk.html</link>
		<comments>http://www.ategpu.com/2010/05/21/inode-full-no-space-on-the-disk.html#comments</comments>
		<pubDate>Fri, 21 May 2010 08:05:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.ategpu.com/2010/05/21/inode-full-no-space-on-the-disk.html</guid>
		<description><![CDATA[这几天老是报硬盘满了，查看，还有800多G的空间，太搞了，linux是不是出问题了。今天google一下，发现是inode满了，郁闷，备份所有数据，从新格式化硬盘吧，只能这样了。
mkfs.ext3 -b 4096 -i 8192 -N 18020383 -F /dev/hdd1
用这个命令格式化硬盘，一会儿就死机了，很郁闷。然后用pamagic格式化，则block 和inode分配不合理，现在用pmagic pxe模式格式化，目前一切顺利，希望不要再出问题。pmagic这个东西真不错，我没有想到Linux下也有这么好的格式化工具。推荐使用。
]]></description>
		<wfw:commentRss>http://www.ategpu.com/2010/05/21/inode-full-no-space-on-the-disk.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>set_dont_touch transiton violation</title>
		<link>http://www.ategpu.com/2010/04/22/set_dont_touch-transiton-violation.html</link>
		<comments>http://www.ategpu.com/2010/04/22/set_dont_touch-transiton-violation.html#comments</comments>
		<pubDate>Thu, 22 Apr 2010 09:50:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[eda]]></category>

		<guid isPermaLink="false">http://www.ategpu.com/2010/04/22/set_dont_touch-transiton-violation.html</guid>
		<description><![CDATA[今天用astro pr后发现有几个pin的transiton就是不过去，查了一下timing，报dont_touch信息。难道我设置的dont_touch吗，我没有设置呀。怎么回事，难道还要我手动加buffer，郁闷。google了一下，没有发现太多的有用的信息，但是知道有位哥们也是遇到了同样的问题，看来是set_dont_touch引起了implict dont_touch，原来这东西可以传递，晕。试图用remove_attribute解决，可惜不行。想来想去，那就切断这些路径，不让他们自动传递就可以了。在dc中设定一个black box，解决问题。transition修复成功。
]]></description>
		<wfw:commentRss>http://www.ategpu.com/2010/04/22/set_dont_touch-transiton-violation.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>定时kill calibre产生的cdsServIpc进程</title>
		<link>http://www.ategpu.com/2010/04/22/%e5%ae%9a%e6%97%b6kill-calibre%e4%ba%a7%e7%94%9f%e7%9a%84cdsservipc%e8%bf%9b%e7%a8%8b.html</link>
		<comments>http://www.ategpu.com/2010/04/22/%e5%ae%9a%e6%97%b6kill-calibre%e4%ba%a7%e7%94%9f%e7%9a%84cdsservipc%e8%bf%9b%e7%a8%8b.html#comments</comments>
		<pubDate>Thu, 22 Apr 2010 01:28:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.ategpu.com/2010/04/22/%e5%ae%9a%e6%97%b6kill-icfb%e4%ba%a7%e7%94%9f%e7%9a%84cdsservipc%e8%bf%9b%e7%a8%8b-2.html</guid>
		<description><![CDATA[发现calibre会产生cdsServIpc, 杀掉的话，calibre会不能用了，需要重新开terminal，也就是重新启动calibre，所以决定在大家上班前将这些进程干掉。命令修改如下，其实就是修改了时间。
在crontab中添加如下
30 08 * * * ps -ef &#124; grep cdsServIpc&#124;cut -c 9-15&#124;xargs kill -9
然后 service crond restart .
哈哈，这回应该能正常工作了。
]]></description>
		<wfw:commentRss>http://www.ategpu.com/2010/04/22/%e5%ae%9a%e6%97%b6kill-calibre%e4%ba%a7%e7%94%9f%e7%9a%84cdsservipc%e8%bf%9b%e7%a8%8b.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>定时kill icfb产生的cdsServIpc进程</title>
		<link>http://www.ategpu.com/2010/04/22/%e5%ae%9a%e6%97%b6kill-icfb%e4%ba%a7%e7%94%9f%e7%9a%84cdsservipc%e8%bf%9b%e7%a8%8b.html</link>
		<comments>http://www.ategpu.com/2010/04/22/%e5%ae%9a%e6%97%b6kill-icfb%e4%ba%a7%e7%94%9f%e7%9a%84cdsservipc%e8%bf%9b%e7%a8%8b.html#comments</comments>
		<pubDate>Thu, 22 Apr 2010 01:28:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.ategpu.com/2010/04/22/%e5%ae%9a%e6%97%b6kill-icfb%e4%ba%a7%e7%94%9f%e7%9a%84cdsservipc%e8%bf%9b%e7%a8%8b.html</guid>
		<description><![CDATA[最近发现公司的服务器上，每天早上老是cdsServIpc进程占用cpu 100%，其他任务都不能跑。也不想知道这个东西是什么，就想定时kill掉这些进程。不然我要每个机器来一遍，速度太慢。
搜索了一下，有篇文章很好，很适合我。下面转载至我这了。我的命令如下：
在crontab中添加如下
20 09 * * * ps -ef &#124; grep cdsServIpc&#124;cut -c 9-15&#124;xargs kill -9
然后 service crond restart .
哈哈，又省了点事。
转载如下：
Linux kill多个指定进程指令
公司服务器上的进程由于长期的不正确退出，已经累计了上千条死进程，车间的系统打不开了，冯师傅让我前半年的死进程都删掉，可是太多了，又不能一条条的删……于是经万能的推特提醒，又上网查了些资料，终于搞定啦~
ps -ef&#124;grep tcxt&#124;grep Dec&#124;cut -c 9-15&#124;xargs kill -9
1、ps 参数
-e 显示所有进程
-f 全格式
a 显示现行终端机下的所有程序，包括其他用户
u 以用户为主的格式来显示程序状况
x 显示没有控制终端的进程
f 用ASCII字符显示树状结构，表达程序间的相互关系
最常用的方法是ps -aux 或者ps -ef，然后再利用一个管道符号导向到grep去查找特定的进程，再对特定的进程进行操作。
2、管道符&#8221;&#124;&#8221;用来隔开两个命令，管道符左边命令的输出会作为管道符右边命令的输入，下面的命令都需要用管道符来连接
3、grep tcxt&#124;grep Dec
为了不误操作root 和office用户的进程，我只grep输出&#8221;tcxt&#8221;开头的生产线上的账户，并且只关闭几个月之前的无用线程，&#8221; Dec&#8221;代表的是时间格式
4、cut -c 9-15
截取第九个字符到第15个字符，这正好是进程号PID
5、xargs kill -9
&#8220;kill -9″会强制关闭指定的进程，&#8221;xargs&#8221;命令用来把前面的输出结果，也就是PID作为&#8221;kill -9&#8243;的参数来执行
from: http://blog.hushuqi.com/?s=kill
]]></description>
		<wfw:commentRss>http://www.ategpu.com/2010/04/22/%e5%ae%9a%e6%97%b6kill-icfb%e4%ba%a7%e7%94%9f%e7%9a%84cdsservipc%e8%bf%9b%e7%a8%8b.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>recovery ubuntu in winxp</title>
		<link>http://www.ategpu.com/2009/10/28/recovery-ubuntu-in-winxp.html</link>
		<comments>http://www.ategpu.com/2009/10/28/recovery-ubuntu-in-winxp.html#comments</comments>
		<pubDate>Wed, 28 Oct 2009 15:28:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.ategpu.com/?p=513</guid>
		<description><![CDATA[由于重装的xp，所以准备恢复一下ubuntu。网上找了一圈，方法都不太适合我。
后面发现了一个超简单的方法恢复引导，现在做记录如下。
下载个grub for dos，把grldr这个文件复制到c:\
然后编辑c:\boot.ini (去掉只读属性)
如果看见timeout=0, 就改为timeout=15
把
C:\GRLDR=&#8221;GRUB for DOS Menu&#8221;
加入c:\boot.ini 的最后一行
新建一个文本文件名为c:\menu.lst, 内容为
color black/cyan yellow/cyan
timeout 15
default 0
title Ubuntu
find &#8211;set-root /boot/vmlinuz-2.6.24-19-generic
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=b8a285d9-f33e-4d9c-b72c-2c11175add9e ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
这时候你启动windows XP的时候就可以选择grub for dos。
这里最关键的是ubuntu的版本号，和UUID的修改，当然我们不可能记住这些东西。所以我下载了一个windows可以查看linux的文件的工具，explore2fs。用这个工具去boot\grub下到处menu.list，呵呵里面就有我们需要的版本号和UUID了，直接复制过来。
新的内容如下
title Ubuntu
find &#8211;set-root /boot/vmlinuz-2.6.24-16-generic
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=d88e794a-24bb-4a07-aa69-bc0b26218fdd ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
呵呵，直接重启，然后选中grub for dos，再选中Ubuntu 。呵呵顺利启动ubuntu．
转载请注明出处！
]]></description>
		<wfw:commentRss>http://www.ategpu.com/2009/10/28/recovery-ubuntu-in-winxp.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>需要备份数据了，写个最简单的脚本</title>
		<link>http://www.ategpu.com/2009/08/14/%e9%9c%80%e8%a6%81%e5%a4%87%e4%bb%bd%e6%95%b0%e6%8d%ae%e4%ba%86%ef%bc%8c%e5%86%99%e4%b8%aa%e6%9c%80%e7%ae%80%e5%8d%95%e7%9a%84%e8%84%9a%e6%9c%ac.html</link>
		<comments>http://www.ategpu.com/2009/08/14/%e9%9c%80%e8%a6%81%e5%a4%87%e4%bb%bd%e6%95%b0%e6%8d%ae%e4%ba%86%ef%bc%8c%e5%86%99%e4%b8%aa%e6%9c%80%e7%ae%80%e5%8d%95%e7%9a%84%e8%84%9a%e6%9c%ac.html#comments</comments>
		<pubDate>Fri, 14 Aug 2009 02:44:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[backup]]></category>

		<guid isPermaLink="false">http://www.ategpu.com/?p=275</guid>
		<description><![CDATA[1．#  vi /opt/backup.sh
# create by *** 20090814
#
cp -r -a -u /**/project /opt/project    //将**目录下的project目录备份到opt/project，同时如果project文件比/opt/project中的文件新，才copy．
#  chmod 777  backup.sh
3．# crontab –e         30  2  *  *  5/opt/backup.sh    //周5 2：30分执行backup.sh
4．设置完了之后不要忘了，启动定时服务
# service crond restart
备注：crontab 文件中的行由 6 个字段组成，不同字段间用空格或 tab 键分隔。
前 5 个字段指定命令要运行的时间
分钟 [...]]]></description>
		<wfw:commentRss>http://www.ategpu.com/2009/08/14/%e9%9c%80%e8%a6%81%e5%a4%87%e4%bb%bd%e6%95%b0%e6%8d%ae%e4%ba%86%ef%bc%8c%e5%86%99%e4%b8%aa%e6%9c%80%e7%ae%80%e5%8d%95%e7%9a%84%e8%84%9a%e6%9c%ac.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LINUX CP命令详解</title>
		<link>http://www.ategpu.com/2009/08/14/linux-cp%e5%91%bd%e4%bb%a4%e8%af%a6%e8%a7%a3.html</link>
		<comments>http://www.ategpu.com/2009/08/14/linux-cp%e5%91%bd%e4%bb%a4%e8%af%a6%e8%a7%a3.html#comments</comments>
		<pubDate>Fri, 14 Aug 2009 02:32:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[cp]]></category>

		<guid isPermaLink="false">http://www.ategpu.com/?p=271</guid>
		<description><![CDATA[cp (复制档案或目录)
[root@linux ~]# cp [-adfilprsu] 来源档(source) 目的檔(destination)
[root@linux ~]# cp [options] source1 source2 source3 …. directory
参数：
-a ：相当于 -pdr 的意思；
-d ：若来源文件为连结文件的属性(link file)，则复制连结文件属性而非档案本身；
-f ：为强制 (force) 的意思，若有重复或其它疑问时，不会询问使用者，而强制复制；
-i ：若目的檔(destination)已经存在时，在覆盖时会先询问是否真的动作！
-l ：进行硬式连结 (hard link) 的连结档建立，而非复制档案本身；
-p ：连同档案的属性一起复制过去，而非使用预设属性；
-r ：递归持续复制，用于目录的复制行为；
-s ：复制成为符号连结文件 (symbolic link)，亦即『快捷方式』档案；
-u ：若 destination 比 source 旧才更新 destination ！
最后需要注意的，如果来源档有两个以上，则最后一个目的文件一定要是『目录』才行！
范例：
范例一：将家目录下的 .bashrc 复制到 /tmp 下，并更名为 bashrc
[root@linux ~]# cd /tmp
[root@linux tmp]# cp ~/.bashrc bashrc
[root@linux tmp]# cp -i [...]]]></description>
		<wfw:commentRss>http://www.ategpu.com/2009/08/14/linux-cp%e5%91%bd%e4%bb%a4%e8%af%a6%e8%a7%a3.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>vncserver详细设置</title>
		<link>http://www.ategpu.com/2009/06/03/vncserver-setting-in-detail.html</link>
		<comments>http://www.ategpu.com/2009/06/03/vncserver-setting-in-detail.html#comments</comments>
		<pubDate>Wed, 03 Jun 2009 10:33:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[vncserver]]></category>

		<guid isPermaLink="false">http://www.ategpu.com/2009/06/03/vncserver%e8%af%a6%e7%bb%86%e8%ae%be%e7%bd%ae/</guid>
		<description><![CDATA[这两天给公司买了2台超豪华的机器，8G内存，4核。呵呵，下面记录一下我配置VNCSERVER的过程。
1. 开用户
修改配置文件/etc/sysconfig/vncservers
VNCSERVERS=&#8221;1:root 2:Jack 3:Marry&#8221;
开了3个用户root, Jack,Marry.
VNCSERVERARGS[1]=&#8221;-geometry 1280&#215;1024 -alwaysshared -depth 16&#8243;其中-alwaysshared表示允许多终端同时登录，-depth指颜色分辨率，可以是8，16，24，32。
2.产生.vnc文件
按1:root 2:Jack 3:Marry顺序切换用户，执行vncserver命令，产生vnc的需要的文件。
产生过程中会提示输入用户密码。
3.修改~/.vnc/xstartup文件
将文件其他内容全部注释掉，加入下面这一行
exec /etc/X11/xinit/xinitrc
这个会启动xwindows登陆
4.关于防火墙的设置
如果在局域网内，我是直接关闭了iptable的功能。在servers中停止该功能就可以使用vncviewer访问服务器了。
5. 使用vncviewer登陆。

  
  Del.icio.us : vncserver.linux
]]></description>
		<wfw:commentRss>http://www.ategpu.com/2009/06/03/vncserver-setting-in-detail.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

