原创 [linux kernel] do_try_to_free_pages函數解析

/* This is the main entry point to direct page reclaim. If a full scan of the inactive list fails to free enough

原创 linux gfpflags_allow_blocking()函數存疑

  static inline bool gfpflags_allow_blocking(const gfp_t gfp_flags) { return !!(gfp_flags & __GFP_DIRECT_RECLAIM); }

原创 Linux網絡 - 數據包的接收過程

原文鏈接:https://segmentfault.com/a/1190000008836467 本文將介紹在Linux系統中,數據包是如何一步一步從網卡傳到進程手中的。 如果英文沒有問題,強烈

原创 Linux虛擬網絡設備之bridge

原文鏈接:https://segmentfault.com/a/1190000009491002 繼前兩篇介紹了tun/tap和veth之後,本篇將介紹Linux下常用的一種虛擬網絡設備,那就是

原创 Linux網絡 - 數據包的發送過程

原文鏈接:https://segmentfault.com/a/1190000008926093 繼上一篇介紹了數據包的接收過程後,本文將介紹在Linux系統中,數據包是如何一步一步從應用程序到

原创 linux根據進程關鍵字獲取pid

ps aux | grep "common" |grep -v grep| cut -c 9-15

原创 qemu kvm虛擬機的四種網絡模式

原文鏈接:https://blog.csdn.net/gsl371/article/details/78662258 版權聲明:本文爲博主原創文章,遵循 CC 4.0 BY-SA 版權協議,轉載

原创 qemu 使用mem-prealloc

原创 Ubuntu fatal error: openssl/opensslv.h: No such file or directory

    apt-get install libssl-dev    

原创 SCP 使用root仍然Permission denied

修改寫入文件夾的權限爲777 chmod 777 dest/ scp -r ./source IP:/dest/

原创 linux SCP複製文件夾

scp 源文件夾 -r 目標用戶@目標IP:目標文件夾 例如: 將文件夾test/ 拷貝到以admin用戶登錄的IP爲192.168.1.8的/dest/文件夾中, scp test/ -r [email protected]:/

原创 ubuntu安裝SMPlayer

sudo add-apt-repository ppa:rvm/smplayer sudo apt-get update sudo apt-get install smplayer smplayer-themes smplayer

原创 【linux kernel】【VM管理】Linux overcommit處理機制

The Linux kernel supports the following overcommit handling modes 0 - Heuristic overcommit handling. Obvious overco

原创 【Linux kernel】task_struct解析

  目錄 【Linux kernel】 task_struct解析 1.首先什麼是進程? 1.1進程可以這樣描述: 1.2進程的兩個基本元素 1.3這裏再明確以下幾點: 2.進程的描述 3.剖析task_struct結構體 (1)進程的狀

原创 【qemu】VNC server running on 127.0.0.1:5901(ubuntu爲例)

現象:在給qemu安裝系統時出現:VNC server running on 127.0.0.1:5901 原因:缺少多媒體圖形庫 解決方法:安裝多媒體圖形庫(Ubuntu-18.04爲例)     確保qemu配置文件打開了SDL的支