自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(45)
  • 资源 (3)
  • 收藏
  • 关注

原创 shell取系统时间做浮点运算,练习cut sed cat uniq

#!/bin/bashstart=$(date +%s.%N)ls >/dev/null 2>&1end=$(date +%s.%N)#取小数点后9位diff=$(echo  "scale=9;($end - $start)"|bc)echo $diff#bc运算小于1的数,小数点前没有零,判断并补零if [ "$(echo $diff | cut -c

2012-10-24 13:57:38 1151

原创 windows 远程RSH调用linux命令

从网上搜了很多的关于RSH的文章看的很头疼,很多讲的都不全,或是不很详细,绕了很多弯弯,终于实现了一种办法,介绍给大家,希望有用,rehat企业版5.3rsh 是“remote shell”的缩写。1.       查看rsh-server安装情况2.       执行命令 “ rpm  -aq | grep rsh输出:rsh-0.17-38.e15rsh-server-

2011-10-27 09:30:50 2692

原创 python IDLE 第一个程序

安装了python IDLE之后,打开IDLE会有提示符  “ >>> ”这里是个shell环境。不是直接在这里写程序,要选择 文件- 新窗口 (file-new window) 出现新窗口然后输入#! /usr/bin/python#Filename:helloworld.pyprint ('Hello World')点保存 选择新窗口 run-run module 就可以在 s

2011-10-25 08:37:19 969 1

翻译 关于Fedora 3D桌面特效显卡驱动问题

 Nvidia显卡配置与内核模式2009年1月7日从外文网站看了一篇关于实现3D桌面特效关于显卡安装的文章,感觉比较全面所以翻译了下,水平有限。链接地址:http://fedorasolved.org/video-solutions/nvidia-yum-kmod适用Fedora版本Fedora 11Fedora 12 要求如果安

2010-01-07 22:28:00 1019

原创 关于fedora 3D 桌面

今天 装了个Fedora  11 ,从网上参照了一堆资料也没有搞出来,郁闷死 求教各位大虾。参照:1下载驱动      http://www.nvidia.com/page/home.html      我下载的就是NVIDIA-Linux-x86-100.14.19-pkg1.run这个文件。2、安装步骤(1)开始安装前,先修改/etc/inittab文件,将: 

2010-01-02 19:42:00 649

nginx+redhat5.5 负载均衡

今天学习了ngnix负载均衡,搭了个环境测试了下,并记录了搭建过程。nginx负载均衡配置过程,利用两台redhat 5.5服务器搭建了nginx的负载均衡。有图,安装过程。

2012-11-04

VT功能检测

Clicking on each of the three regions of SecurAble's display to obtain additional contextual information about each feature should provide all of the help you'll need to understand what's going on in any system SecurAble encounters. GRC's newsgroup community extensively tested SecurAble throughout its pre-release development. We were delighted to discover that SecurAble would sometimes inform its user of capabilities they were not aware their systems possessed. This would often trigger a search through their system's BIOS configuration screens to uncover BIOS settings which had previously escaped notice. And something similar happened to me: As you can see from the image to the left (click for full size) I discovered that my HP TC1100 TabletPC contains a Pentium M processor with hardware DEP capabilities. The only problem was that SecurAble was displaying "OFF" for DEP, indicating that although the processor offered hardware DEP support, something had disabled it. That "something" could only be the system's BIOS. So I went searching through the TC1100's BIOS screens for some way to enable the processor's support for hardware DEP . . . but there no mention of it in the BIOS. Other pre-release testers in our newsgroups were reporting the same thing, so I knew that “SecurAble” would not be the last hardware DEP-related freeware emerging from this work. Controlling processor features that have been neglected by systems' BIOSes will be one of the capabilities we will be exploring and developing in the follow-on “DEPuty” utility.

2012-03-17

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除