LINUX在多核环境下,如果控制使用的CPU数目
进入/boot/grub
修改grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat AS4 (2.6.9-67.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-67.ELsmp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-67.ELsmp.img
title Red Hat AS4-up (2.6.9-67.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-67.EL ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-67.EL.img
为:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat AS4 (2.6.9-67.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-67.ELsmp ro root=LABEL=/ rhgb quiet maxcpus=1
initrd /initrd-2.6.9-67.ELsmp.img
title Red Hat AS4-up (2.6.9-67.EL)
root (hd0,0)
&nbs
相关文档:
萝莉世界 跟您一起看世界 http://lolier.info/ 关键字 红旗,linux,下载 红旗Linux桌面版 6.0 SP3 的英文名称为Red Flag Linux Desktop 6.0 SP3,产品代号(Code Name)是SuetJade。基本系统基于红旗桌面版 6.0 SP2。SuetJade是红旗软件公司针对原红旗Linux桌面版 6.0 SP2 产品存在的问题,以及电子政务、教育、SMB尤其是OEM等领 ......
Linux下jboss 5.1安装配置步骤
一、下载jboss 5.1和jdk1.6(我把他下载到/usr/local/src/tarbag)
jboss 5.1ZIP包 http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/
java jdk包 http://java.sun.com/javase/downloads/widget/jdk6.jsp
二、解压
#cd /usr/lo ......
作者:李智敏,华清远见嵌入式学院上海分中心讲师。
在 Linux 内核内,进程是由相当大的一个称为 task_struct 的结构表示的。此结构包含所有表示此进程所必需的数据,此外,还包含了大量的其他数据用来统计(accounting)和维护与其他进程的关系(父和子)。下面给出了 task_struct 的一小部分。task_struct 位于 ./linux ......
把U盘刻成光盘(以ubuntu9.10为例)
前提:电脑支持U盘启动,有些电脑是不支持的。
开始制作
一、材料:
UltraISO(软碟通)软件
ubuntu 9.10 iso
u盘(推荐1G以上)。
二、操作平台:
windows xp/vista [我是在vista下制作的,必须用管理员权限打开UltraISO(软碟通)](右击其快捷方式,以管理员身分打开)
说 ......
为了搭建nfs系统,...所以 必须在内核移植好网卡驱动. 我靠.照下面做,一次能成功.
我的主板是友善之臂 2410. 环境是 vmware+ubuntu
LINUX2.6.14下CS8900的移植(Fs2410)
1.
(文件在我的下载版有)
拷贝文件cs8900.c cs8900.h到 linux2.6.14.1/drivers/net
进入目录cs8900
cp cs8900.c ../linux-2.6.14.1/dri ......