Time of Update: 2018-12-07
linux裝置驅動那點事兒之輸入子系統理論篇 (2011-08-01 23:41) 分類: linux裝置驅動程式分析 Linux輸入子系統(Input Subsystem)
Time of Update: 2018-12-07
文章目錄 使用 SCTP 最佳化網路Linux 通訊端編程中的 5 個隱患 http://www.ibm.com/developerworks/cn/linux/l-hisock.html 使用 SCTP 最佳化網路流量控制傳輸協議結合了 TCP 和 UDP 的優點http://www.ibm.com/developerworks/cn/linux/l-sctp/ Linux 通訊端編程中的 5
Time of Update: 2018-12-07
使用 udev 高效、動態地管理 Linux 裝置檔案黃 懋, 軟體工程師, IBM簡介: 本文以通俗的方法闡述 udev 及相關術語的概念、udev 的設定檔和規則檔案,然後以 Red Hat Enterprise Server 為平台示範一些管理裝置檔案和查詢裝置資訊的執行個體。本文會使那些需要高效地、方便地管理 Linux 裝置的使用者受益匪淺,這些使用者包括 Linux 終端使用者、裝置驅動開發人員、裝置測試人員和系統管理員等等。本文的標籤: dev, linux, udev標記本文!
Time of Update: 2018-12-07
KDrive 與 Embedded Linuxhttp://www.jollen.org/blog/2007/06/kdrive_embedded_linux.html jollen 發表於 June 8, 2007 12:38 PMKDrive 也被叫做 TinyX,故名思意,這是一個小型的 X server 實作,主要是針對 embedded Linux 的應用所實作的版本。有別於 xorg-server 裡的其他 X server,KDrive 並不基於以往的 XFree86 程式碼,
Time of Update: 2018-12-07
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 the glibc manual (the libc info pages) which can
Time of Update: 2018-12-07
板子發現framebuffer初始化很後面,按下面修改即可://late_initcall(dovefb_init);
Time of Update: 2018-12-07
要點是編譯時間候加-D_FILE_OFFSET_BITS=64宏,程式中把使用fseek,ftell的地方分別換成fseeko,ftello。-----------------------------------------------------man fseekoDESCRIPTION The fseeko() and ftello() functions are identical to fseek() and ftell() (see fseek(3)), respectively,
Time of Update: 2018-12-07
文章目錄 使用 I/O 埠來延遲時間使用組合語言來延遲時間 Linux 高精確的時序(sleep, usleep,nanosleep)2009-04-16 11:36:48| 分類: Linux | 標籤:無 |字型大小 訂閱 首先, 我會說不保證你在使用者模式 (user-mode) 中執行的行程 (process) 能夠精確地控制時序因為 Linux 是個多工的作業環境. 你在執行中的行程 (process)
Time of Update: 2018-12-07
Linux iostat監測IO狀態http://www.orczhou.com/index.php/2010/03/iostat-detail/2010-03-1 | 13:13分類:Linux,技術細節 | 標籤:Linux | 9,983 viewsLinux系統出現了效能問題,一般我們可以通過top、iostat、free、vmstat等命令來查看初步定位問題。其中iostat可以給我們提供豐富的IO狀態資料。1. 基本使用$iostat -d -k 1 10參數 -d
Time of Update: 2018-12-07
文章目錄 轉自: http://blog.csdn.net/0210/article/details/5437368原文有些bug,修改了下。在GUI下面,有一大把的工具可以顯示網路流量,那麼,命令列下面怎麼辦? 顯然辦法是有的,比如,ifconfig,會有這樣的輸出: RX bytes:1224128649 (1.1 GiB) TX bytes:34114947 (32.5 MiB)
Time of Update: 2018-12-07
http://blog.chinaunix.net/space.php?uid=20357359&do=blog&cuid=1798479Linux下檢測網卡與網線串連狀態,使用ioctl向socket發送SIOCETHTOOL命令字。 link_stat.c#include <stdio.h> #include <stdlib.h> #include <string.h> #include
Time of Update: 2018-12-07
linux核心input子系統解析2010-06-18 22:58 8422人閱讀 評論(16) 收藏 舉報作者:劉洪濤,華清遠見嵌入式學院講師。 Android、X
Time of Update: 2018-12-07
作者:FinalBSD 原載: [url]http://www.sanotes.net/html/y2009/312.html[/url] 著作權。轉載時必須以連結形式註明作者和原始出處及本聲明。Dmidecodedmidecode以一種可讀的方式dump出機器的DMI(Desktop Management Interface)資訊。這些資訊包括了硬體以及BIOS,既可以得到當前的配置,也可以得到系統支援的最大配置,比如說支援的最大記憶體數等。
Time of Update: 2018-12-07
2009-03-25 20:35:09標籤:linux作者:FinalBSD 原載: [url]http://www.sanotes.net/html/y2009/316.html[/url] 著作權。轉載時必須以連結形式註明作者和原始出處及本聲明。lshw lshw(Hardware Lister)是另外一個可以查看硬體資訊的工具,不僅如此,它還可以用來做一些硬體的benchmark。
Time of Update: 2018-12-07
文章目錄 Linux 硬體管理的基礎知識 linux查看硬體資訊及驅動裝置相關整理 (2009-07-24 12:13) 分類: kernel在LINUX環境開發驅動程式,首先要探測到新硬體,接下來就是開發驅動程式。常用命令整理如下:用硬體檢測程式kuduz探測新硬體:service kudzu start ( or restart)查看CPU資訊:cat /proc/cpuinfo查看板卡資訊:cat
Time of Update: 2018-12-07
摘自 : http://linux.vbird.org/linux_basic/0230filesystem.php#fdiskCommand (m for help): p <== 這裡可以輸出目前磁碟的狀態Disk /dev/hdc: 41.1 GB, 41174138880 bytes <==這個磁碟的檔名與容量255 heads, 63 sectors/track, 5005 cylinders <==磁頭、磁區與磁柱大小Units =
Time of Update: 2018-12-07
http://www.mynitor.com/2010/02/07/15-remote-desktop-solutions-for-linux/1) VNC (Virtual Network Computing) is a remote display system which allows the user to view the desktop of a remote machine anywhere on the internet. It can also be directed
Time of Update: 2018-12-07
1:準備png圖片;2:安裝netpbmapt-get install netpbm3:製作 ppm圖片儲存一個png圖片logo.png,按如下方式操作:#pngtopnm logo.png > linuxlogo.pnm# pnmquant 224 linuxlogo.pnm > linuxlogo224.pnm# pnmtoplainpnm linuxlogo224.pnm > logo_linux_clut224.ppm將logo_linux_clut224.ppm
Time of Update: 2018-12-07
每五分鐘執行 */5 * * * *每小時執行 0 * * * *每天執行 0 0 * * *每周執行 0 0 * * 0每月執行 0 0 1 * *每年執行 0 0 1 1 *詳細用法可以參考該博文http://yangqijun.iteye.com/blog/1173016 1.作用 使用crontab命令可以修改crontab設定檔,然後該配置由cron公用程式在適當的時間執行,該命令使用許可權是所有使用者。
Time of Update: 2018-12-07
1、修改使用者進程可開啟檔案數限制 在Linux平台上,無論編寫用戶端程式還是服務端程式,在進行高並發TCP串連處理時,最高的並發數量都要受到系統對使用者單一進程同時可開啟檔案數量的限制(這是因為系統為每個TCP串連都要建立一個socket控制代碼,每個socket控制代碼同時也是一個檔案控制代碼)。可使用ulimit命令查看系統允許目前使用者進程開啟的檔案數限制: [speng@as4 ~]$ ulimit -n 1024 這表示目前使用者的每個進程最多允許同時開啟102