摘要:20 Linux System Monitoring Tools Every SysAdmin Should Know http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html 6个Linux性能监控命令行工具 http://fred.oracle1.com/weblog/2010/07/07/6%E4%B8%AAlinux%E6...
阅读全文
摘要:转自: http://blog.csdn.net/0210/article/details/5437368 原文有些bug,修改了下。 在GUI下面,有一大把的工具可以显示网络流量,那么,命令行下面怎么办? 显然办法是有的,比如,ifconfig,会有这样的输出: RX bytes:1224128649 (1.1 GiB) TX bytes:34114947 (32.5 MiB) 过一会再看,...
阅读全文
摘要:Linux iostat监测IO状态 http://www.orczhou.com/index.php/2010/03/iostat-detail/ 2010-03-1 | 13:13分类:Linux,技术细节 | 标签:Linux | 9,983 views Linux系统出现了性能问题,一般我们可以通过top、iostat、free、vmstat等命令来查看初步定位问题。其中iostat可以...
阅读全文
摘要:参考网址: http://www.denx.de/wiki/DULG/HowCanIAccessUBootEnvironmentVariablesInLinuxhttp://blog.csdn.net/hangbing0203/article/details/4314576http://labs.igep.es/index.php/How_to_modify_the_uboot_environme...
阅读全文
摘要:mysqld_safe --basedir=/opt/mysqlbase --datadir=/opt/mysqlbase & 一些目录如:tmp目录下chmod一下
阅读全文
摘要:板子发现framebuffer初始化很后面,按下面修改即可: //late_initcall(dovefb_init); module_init(dovefb_init); 主要参考了下面的文章: -------------------------------------------------------------------------------------- 如何调整Linux内核启动中...
阅读全文
摘要:/ # wget http://192.168.73.13/C%3A/mvqt.zip Connecting to 192.168.73.13 (192.168.73.13:80) mvqt.zip 10% |*** | 2193k 00:00:08 ETAwget: short write 发现硬盘没空间导致
阅读全文
摘要:Anchor-based Layout in QML limitations: you can only anchor an item to its siblings and direct parent。 局限性:只能anchor到兄弟节点和父节点 查看qml结果:使用qmlviewer bin/qmlviewer $QTDIR/examples/declarative/tutorials/h...
阅读全文
摘要:Objects are specified by their type, followed by a pair of braces. Object types always begin with a capital letter. Objects 类型都是大写开头。 Property naming Properties begin with a lowercase letter (with t...
阅读全文
摘要:http://code.google.com/p/androidbmi/wiki/ReadSource
阅读全文
摘要:Android笔试总结 2011年06月23日 发布在 Android . 编程开发 留下评论 笔试,共10道题,不限时间。(答案整理自互联网,不保证完全正确,仅供参考。) 1.请谈一下Android系统的架构。 答:Android系统采用了分层架构,从高层到低层分别是应用程序层、应用程序框架层、系统运行库层和linux核心层。 2.谈谈android大众常用的五种布局。 答:在Android中,...
阅读全文
摘要:C:\Users\James\.android\avd\AVD1.avd\config.ini修改hw.ramSize=1024
阅读全文
摘要:http://www.devdiv.com/android/docs/resources/dashboard/platform-versions.html Platform API Level Distribution Android 1.5 3 3.9% Android 1.6 4 6.3% Android 2.1 7 31.4% Android 2.2 8 57.6% Android 2.3 ...
阅读全文
摘要:本站所有文章由本站和原作者保留一切权力,仅在保留本版权信息、原文链接、原文作者的情况下允许转载,转载请勿删改原文内容, 并不得用于商业用途。 谢谢合作。 原文链接:QtEmbedded鼠标驱动流程分析(下) Qt代码版本:qt-embedded-linux-opensource-src-4.5.2 在上篇中,我们提到了 src/gui/embedded/qmousedriverfactory_qw...
阅读全文
摘要:QtEmbedded鼠标驱动流程分析(上) 本站所有文章由本站和原作者保留一切权力,仅在保留本版权信息、原文链接、原文作者的情况下允许转载,转载请勿删改原文内容, 并不得用于商业用途。 谢谢合作。 原文链接:QtEmbedded鼠标驱动流程分析(上) 注:此驱动对应英文handler和内核的驱动(driver)不是一回事 如果认真看过shiroki写的QtEmbedded键盘驱动分析(上篇,下篇)...
阅读全文
摘要:http://ryanyee.blog.163.com/blog/static/1020542720106151184594/
阅读全文
摘要:http://univasity.iteye.com/blog/805234
阅读全文
摘要:查看进程打开的文件 ll /proc/进程号/fd/文件描述符 可能出现(deleted),表示该文件已经删除。 http://os.51cto.com/art/201003/187942.htm lsof的意思是list open files, 列出(进程)打开的文件
阅读全文
摘要:inux Bash内置命令大全详细介绍 2010-06-23 14:45 佚名 电子工业出版社 我要评论(0) 字号:T | T 《solaris 10系统管理》第10章Solaris 10调度系统任务,本章介绍Solaris 10的shell内置命令和UNIX命令列表。限于篇幅,本书的附录从网址www.broadview.com.cn 下载,由于Solaris系统命令众多这里不可能一一介绍,读者...
阅读全文
摘要:先介绍一些名词: Physical Address Extension (PAE) : 一些x86处理器的属性,使得处理器可以访问超过4G的内存。x86处理器加了一些地址线,所以使用PAE后就可以 http://en.wikipedia.org/wiki/Physical_Address_Extension http://msdn.microsoft.com/en-us/library/aa366...
阅读全文
摘要:要点是编译时候加-D_FILE_OFFSET_BITS=64宏,程序中把使用fseek,ftell的地方分别换成fseeko,ftello。 ----------------------------------------------------- man fseeko DESCRIPTION The fseeko() and ftello() functions are identical to...
阅读全文
摘要:http://www.suse.de/~aj/linux_lfs.html 全面介绍 Using LFS For using LFS in user programs, the programs have to use the LFS API. This involves recompilation and changes of programs. The API is documented in...
阅读全文
摘要:KDrive 與 Embedded Linux http://www.jollen.org/blog/2007/06/kdrive_embedded_linux.html jollen 發表於 June 8, 2007 12:38 PM KDrive 也被叫做 TinyX,故名思意,這是一個小型的 X server 實作,主要是針對 embedded Linux 的應用所實作的版本。 有別於 x...
阅读全文
摘要:openmoko http://zh.wikipedia.org/wiki/OpenMoko 开放的GSM制式智能手机平台的项目。它运行于Linux平台,使用ipkg包管理器。 X.Org Server 7.1 Matchbox窗口管理器 GTK+ 2.6.10 Evolution数据服务
阅读全文
摘要:http://elinux.org/Boot_Time
阅读全文
摘要:http://labs.o-hand.com/psplash/index.html 嵌入式用户态splash http://blog.csdn.net/beny610/article/details/2625651
阅读全文
摘要:http://splashy.alioth.debian.org/wiki/installation 发现依赖比较多,依赖directfb Requirements To compile Splashy yourself you'll need the following additional applications: autoconf 2.59 (or newer) automake 1.9 ...
阅读全文
摘要:http://en.wikipedia.org/wiki/Bootsplash Bootsplash - graphics combined with scrolling boot messages in Knoppix. Linux boot screens Bootsplash – the first and original implementation of a Linux kernel ...
阅读全文
摘要:http://imljp.info/?p=451 在网上一直谷歌了很久 change linux console kdymaps,想得到什么关于终端下修改按键的方法,可惜找来找去,不是不清不楚,就是不详不细. 还是自己来吧 查找下修改Keymaps 有那么几个 Loadkeys dumpkeys showkeys setkeycodes keymaps ,一路Man 帮助下去,我修改交换Contr...
阅读全文
摘要:Changing the Console Keymap http://www.shallowsky.com/linux/keymap.html Changing the keymap used by the linux console driver is easy once you know how. You can use it for tasks like mapping your capsl...
阅读全文
摘要:http://www.linuxjournal.com/article/1080?page=0,1
阅读全文
摘要:异形窗体 Shaped Clock Example
阅读全文
摘要:下载: http://code.google.com/p/box2d/downloads/detail?name=Box2D_v2.0.1.zip&can=2&q= 文章: http://labs.qt.nokia.com/2010/02/26/qt-box2d-is-easy/ 修改加入string.h和Gl的路径 编译完成后在/opt/Box2D#目录下
阅读全文
摘要:http://blog.csdn.net/oowgsoo/article/details/1529411 Qt的信号和槽机制是Qt的一大特点,实际上这是和MFC中的消息映射机制相似的东西,要完成的事情也差不多,就是发送一个消息然后让其它窗口响应,当然,这里的消息是广义的 说法,简单点说就是如何在一个类的一个函数中触发另一个类的另一个函数调用,而且还要把相关的参数传递过去.好像这和回调函数也有点关...
阅读全文
摘要:http://blog.csdn.net/oowgsoo/article/details/1529424 QPointer是一个指针封装类,其作用类似于智能指针,但是它最大的特点应该是在指针的控制上,它希望一个Qt的指针(当然是从QObject派生的)可以同时被多个类拥有,这在 界面编程中当然是很常见的事情了,但是当这个指针被删除时,我们不希望再找到那两个界面类然后通知它们,相反我们希望这两个界面...
阅读全文
摘要:http://blog.csdn.net/oowgsoo/article/details/1529284 Qt的QObject 1.试验代码: #include <QApplication> #include <QtCore> #include <QtGui> int main(int argc, char *argv[]) { QApplication app(argc, argv); int ...
阅读全文
摘要:一个全局的,一个应用的 int main(int argc, char *argv[]) { QApplication app(argc, argv); QTranslator qtTranslator; qtTranslator.load("qt_" + QLocale::system().name(), QLibraryInfo::location(QLibraryInfo::Tran...
阅读全文
摘要:splitter->setStretchFactor(0, 3); // widget gets 3 out of 4 width/height unitssplitter->setStretchFactor(1, 1); // widget gets 1 out of 4 width/height units
阅读全文
摘要:http://www.murga-linux.com/puppy/viewtopic.php?t=42571
阅读全文
摘要:http://msdn.microsoft.com/en-us/library/ms810467.aspx http://hi.baidu.com/beisika/blog/item/b204d58f6c3bece9513d9297.html
阅读全文
摘要:http://www.denx.de/wiki/DULG/LinuxNfsRoot root=/dev/nfs rw: the root filesystem will be mounted using NFS, and it will be writable. nfsroot=192.168.1.1:/opt/eldk-4.2/ppc_4xx: the NFS server has the IP...
阅读全文
摘要:参考 file:///Z:/qt-everywhere/marvell/download/udev-142/docs/writing_udev_rules/index.html 和man http://www.ibm.com/developerworks/cn/linux/l-cn-udev/index.html http://www.linuxsky.org/doc/admin/200710/...
阅读全文
摘要:http://singleboy.blog.163.com/blog/#m=0
阅读全文
摘要:http://hi.baidu.com/396954504/blog/item/8c391513eb8d202fdc54010a.html 对于mini2440最新的root_qtopia文件系统启动过程,我在这里做了一些简单的分析,和大家分享一下经验,不足之处也请大家及时指出。 其实,虽然root_qtopia这个文件系统的GUI是基于Qtopia的,但其初始化启动过程却是由大部分由busyb...
阅读全文
摘要:1. 去http://www.us.kernel.org/pub/linux/utils/kernel/hotplug/ 下载udev软件包: udev-142.tar.gz scratchbox中编译,在外面编译加上--prefix运行时候会出错,会按照编译主机的路径去找配置文件等。。 ../udev-142/configure --host=arm-mv5sft-linux-gnueabi...
阅读全文
摘要:http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html Name udev — Linux dynamic device management Description udev supplies the system software with device events, manages permissions of dev...
阅读全文
摘要:使用 udev 高效、动态地管理 Linux 设备文件 黄 懋, 软件工程师, IBM 简介: 本文以通俗的方法阐述 udev 及相关术语的概念、udev 的配置文件和规则文件,然后以 Red Hat Enterprise Server 为平台演示一些管理设备文件和查询设备信息的实例。本文会使那些需要高效地、方便地管理 Linux 设备的用户受益匪浅,这些用户包括 Linux 最终用户、设备驱动...
阅读全文
摘要:英语原文: http://reactivated.net/writing_udev_rules.html 【转】跟我一起写udev规则(译) 目录 介绍 关于本文档 更新历史 概念 术语: devfs, sysfs, nodes, etc. 为什么? 内置固定命名设计 编写规则 规则文件和语义 规则语法 基本规则 sysfs匹配属性 设备级联结构 字符串替换 字符串匹配 ...
阅读全文
摘要:Linux双网卡bonding举例 http://www.linuxsky.org/doc/admin/200803/288.html 去论坛讨论 来源: 作者:朱峰 发布时间:2008-03-31 所谓bonding,就是将多块网卡绑定同一IP地址对外提供服务,可以实现高可用或者负载均衡。当然,直接给两块网卡设置同一IP地址是不可能的。通过bonding,虚拟一块网卡对外提供连接,物理网卡的被修...
阅读全文
摘要:QSortFilterProxyModelhttp://stackoverflow.com/questions/6496776/qtreeview-show-only-parent-directory-rather-than-parent-and-all-its-siblings
阅读全文
摘要:mdev.conf写的不对。 加入下面的就可以: # Move input devices to input directoryevent.* 0:0 0660 @(mkdir -p input&&mv $MDEV input)mice 0:0 0660 @(mkdir -p input&&mv $MDEV input)mouse.* 0:0 0660 @(mkdir -p input&&mv $...
阅读全文
摘要:1.用gimp转化为ppm 原始数据形式 2.修改fbsplash.cfg ,适合分辨率 #1280x720 # progress bar position BAR_LEFT=490 BAR_TOP=600 BAR_WIDTH=300 BAR_HEIGHT=20 # progress bar color BAR_R=80 BAR_G=80 BAR_B=130 3.启动脚本加入 mkfifo cmd...
阅读全文
摘要:2011/07/04 21:11 1,951,044 qtanimationframework-2.1-opensource.tar.gz 2011/07/04 21:11 2,189,330 qtanimationframework-2.1-opensource.zip 2011/07/04 21:11 2,111,027 qtanimationframework-2.2-opensource....
阅读全文
摘要:通过metamethod调用函数普通函数,发现indexOfMethod总是返回-1,查看文档,发现下面: Q_INVOKABLE Apply this macro to definitions of member functions to allow them to be invoked via the meta-object system. The macro is written befor...
阅读全文
摘要:QList<QCheckBox *> widgets = findChildren<QCheckBox *>(); foreach(QCheckBox* checkbox, widgets) { connect(checkbox, SIGNAL(stateChanged(int)), this, SLOT(slotEnableSaveButton())); }
阅读全文
摘要:Under what circumstances do I not need to create aQApplication/QCoreApplication?https://snapbrowse.com/browse.php/Oi8vbGlzdHMudHJvbGx0ZWNoLmNvbS9xdC1pbnRlcmVzdC8yMDA2LTAyL3RocmVhZDAxNTQwLTAuaHRtbA_3D_...
阅读全文
摘要:Linux 高精確的時序(sleep, usleep,nanosleep) 2009-04-16 11:36:48| 分类: Linux | 标签:无 |字号订阅 首先, 我会说不保证你在使用者模式 (user-mode) 中执行的行程 (process) 能够精确地控制时序因为 Linux 是个多工的作业环境. 你在执行中的行程 (process) 随时会因为各种原因被暂停大约 10 毫秒到数...
阅读全文
摘要:#!/bin/sh echo "init..." mount -t proc proc /proc mount -t sysfs sysfs /sys mdev -s newroot=`findfs LABEL=ROOT` cleanmntdir() { rm -rf /mnt/* } copyroot() { FILES=`ls /` for F in $FILES do [ $F !...
阅读全文
摘要:~ # switch_root BusyBox v1.18.3 (2011-02-23 16:15:41 CST) multi-call binary. Usage: switch_root [-c /dev/console] NEW_ROOT NEW_INIT [ARGS] Free initramfs and switch to another root fs: chroot to NEW_R...
阅读全文
摘要:http://lists.netfilter.org/pipermail/netfilter/2004-November/056913.html
阅读全文
摘要:exec也是让script在同一个进程上执行,但是原有进程则被结束了 脚本内容: root@james-desktop:/opt/qt-everywhere/marvell/APP/applications/factory-roast# cat 1.sh #!/bin/sh A=B echo "PID for 1.sh :$$" export A echo "1.sh \$A is $A" ca...
阅读全文