{"id":1693,"date":"2025-04-10T23:23:36","date_gmt":"2025-04-10T15:23:36","guid":{"rendered":"http:\/\/codermr.com\/?p=1693"},"modified":"2025-04-10T23:23:36","modified_gmt":"2025-04-10T15:23:36","slug":"%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/","title":{"rendered":"\u5728 Linux \u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">\u5728 Linux \u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5<\/h1>\n\n\n\n<p>\u5728 Linux \u7cfb\u7edf\u4e2d\uff0c\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4ee5\u67e5\u770b\u8fdb\u7a0b\u6216\u7a0b\u5e8f\u7684\u5185\u5b58\u4f7f\u7528\u60c5\u51b5\u3002\u4ee5\u4e0b\u662f\u51e0\u79cd\u5e38\u7528\u7684\u65b9\u6cd5\uff1a<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. \u4f7f\u7528 <code>top<\/code> \u547d\u4ee4<\/h2>\n\n\n\n<p><code>top<\/code> \u662f\u4e00\u4e2a\u5b9e\u65f6\u76d1\u63a7\u7cfb\u7edf\u8fdb\u7a0b\u548c\u8d44\u6e90\u4f7f\u7528\u60c5\u51b5\u7684\u5de5\u5177\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>top<\/code><\/pre>\n\n\n\n<ul>\n<li>\u8fd0\u884c\u540e\u6309 <code>M<\/code> \u952e\u53ef\u4ee5\u6309\u5185\u5b58\u4f7f\u7528\u6392\u5e8f<\/li>\n\n\n\n<li>\u4e3b\u8981\u5173\u6ce8 <code>RES<\/code> (\u5e38\u9a7b\u5185\u5b58) \u548c <code>%MEM<\/code> (\u5185\u5b58\u4f7f\u7528\u767e\u5206\u6bd4) \u5217<\/li>\n\n\n\n<li>\u6309 <code>q<\/code> \u9000\u51fa<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">2. \u4f7f\u7528 <code>htop<\/code> \u547d\u4ee4 (\u66f4\u53cb\u597d\u7684\u4ea4\u4e92\u5f0f\u5de5\u5177)<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>htop<\/code><\/pre>\n\n\n\n<ul>\n<li>\u9700\u8981\u5148\u5b89\u88c5\uff1a<code>sudo apt install htop<\/code> (Ubuntu\/Debian) \u6216 <code>sudo yum install htop<\/code> (CentOS\/RHEL)<\/li>\n\n\n\n<li>\u754c\u9762\u66f4\u76f4\u89c2\uff0c\u53ef\u4ee5\u76f4\u63a5\u7528\u9f20\u6807\u70b9\u51fb\u5217\u540d\u6392\u5e8f<\/li>\n\n\n\n<li>\u663e\u793a\u7684\u4fe1\u606f\u4e0e <code>top<\/code> \u7c7b\u4f3c\u4f46\u66f4\u6613\u8bfb<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">3. \u4f7f\u7528 <code>ps<\/code> \u547d\u4ee4<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>ps aux | grep &#91;\u8fdb\u7a0b\u540d]<\/code><\/pre>\n\n\n\n<p>\u6216\u67e5\u770b\u7279\u5b9a\u8fdb\u7a0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ps -p &#91;PID] -o %mem,rss,cmd<\/code><\/pre>\n\n\n\n<ul>\n<li><code>%mem<\/code>\uff1a\u5185\u5b58\u4f7f\u7528\u767e\u5206\u6bd4<\/li>\n\n\n\n<li><code>rss<\/code>\uff1a\u5e38\u9a7b\u5185\u5b58\u96c6\u5927\u5c0f (KB)<\/li>\n\n\n\n<li><code>vsz<\/code>\uff1a\u865a\u62df\u5185\u5b58\u5927\u5c0f (KB)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">4. \u4f7f\u7528 <code>pmap<\/code> \u547d\u4ee4<\/h2>\n\n\n\n<p>\u67e5\u770b\u8fdb\u7a0b\u7684\u8be6\u7ec6\u5185\u5b58\u6620\u5c04\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pmap -x &#91;PID]<\/code><\/pre>\n\n\n\n<ul>\n<li>\u663e\u793a\u8fdb\u7a0b\u7684\u5185\u5b58\u4f7f\u7528\u8be6\u60c5<\/li>\n\n\n\n<li><code>-x<\/code> \u9009\u9879\u663e\u793a\u6269\u5c55\u4fe1\u606f<\/li>\n\n\n\n<li>\u6700\u540e\u4e00\u884c\u4f1a\u663e\u793a\u603b\u5185\u5b58\u4f7f\u7528\u91cf<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">5. \u67e5\u770b <code>\/proc\/[PID]\/status<\/code> \u6587\u4ef6<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>cat \/proc\/&#91;PID]\/status | grep -i vm<\/code><\/pre>\n\n\n\n<p>\u6216\u67e5\u770b\u5185\u5b58\u6982\u8981\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cat \/proc\/&#91;PID]\/status | grep -E 'VmSize|VmRSS|VmData|VmStk|VmExe|VmLib'<\/code><\/pre>\n\n\n\n<ul>\n<li><code>VmSize<\/code>\uff1a\u865a\u62df\u5185\u5b58\u5927\u5c0f<\/li>\n\n\n\n<li><code>VmRSS<\/code>\uff1a\u5b9e\u9645\u4f7f\u7528\u7684\u7269\u7406\u5185\u5b58<\/li>\n\n\n\n<li><code>VmData<\/code>\uff1a\u6570\u636e\u6bb5\u5927\u5c0f<\/li>\n\n\n\n<li><code>VmStk<\/code>\uff1a\u5806\u6808\u5927\u5c0f<\/li>\n\n\n\n<li><code>VmExe<\/code>\uff1a\u53ef\u6267\u884c\u5185\u5b58\u5927\u5c0f<\/li>\n\n\n\n<li><code>VmLib<\/code>\uff1a\u5171\u4eab\u5e93\u5185\u5b58\u5927\u5c0f<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">6. \u4f7f\u7528 <code>free<\/code> \u547d\u4ee4\u67e5\u770b\u7cfb\u7edf\u603b\u4f53\u5185\u5b58\u4f7f\u7528<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>free -h<\/code><\/pre>\n\n\n\n<ul>\n<li><code>-h<\/code> \u9009\u9879\u4ee5\u4eba\u7c7b\u53ef\u8bfb\u683c\u5f0f\u663e\u793a (GB\/MB\/KB)<\/li>\n\n\n\n<li>\u663e\u793a\u7cfb\u7edf\u603b\u5185\u5b58\u3001\u5df2\u7528\u5185\u5b58\u3001\u7a7a\u95f2\u5185\u5b58\u7b49\u4fe1\u606f<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">7. \u4f7f\u7528 <code>smem<\/code> \u547d\u4ee4 (\u9700\u8981\u5b89\u88c5)<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install smem  # Ubuntu\/Debian\nsudo yum install smem  # CentOS\/RHEL\n\nsmem -s rss -k -u<\/code><\/pre>\n\n\n\n<ul>\n<li>\u6309\u5b9e\u9645\u5185\u5b58\u4f7f\u7528\u6392\u5e8f (<code>-s rss<\/code>)<\/li>\n\n\n\n<li><code>-k<\/code> \u663e\u793a\u5355\u4f4d\u4e3a KB<\/li>\n\n\n\n<li><code>-u<\/code> \u6309\u7528\u6237\u5206\u7ec4<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u7406\u89e3\u5185\u5b58\u6307\u6807<\/h2>\n\n\n\n<ul>\n<li><strong>VIRT\/VmSize<\/strong>\uff1a\u865a\u62df\u5185\u5b58\u603b\u91cf (\u5305\u62ec\u5171\u4eab\u5e93\u3001\u5206\u914d\u4f46\u672a\u4f7f\u7528\u7684\u5185\u5b58\u7b49)<\/li>\n\n\n\n<li><strong>RES\/RSS<\/strong>\uff1a\u5b9e\u9645\u4f7f\u7528\u7684\u7269\u7406\u5185\u5b58 (\u4e0d\u5305\u62ec\u4ea4\u6362\u5206\u533a)<\/li>\n\n\n\n<li><strong>SHR<\/strong>\uff1a\u5171\u4eab\u5185\u5b58\u5927\u5c0f (\u591a\u4e2a\u8fdb\u7a0b\u5171\u4eab\u7684\u5185\u5b58)<\/li>\n\n\n\n<li><strong>%MEM<\/strong>\uff1a\u5360\u7269\u7406\u5185\u5b58\u7684\u767e\u5206\u6bd4<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b9e\u9645\u5e94\u7528\u793a\u4f8b<\/h2>\n\n\n\n<ol>\n<li>\u67e5\u627e Java \u8fdb\u7a0b\u7684\u5185\u5b58\u4f7f\u7528\uff1a<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>   ps aux | grep java<\/code><\/pre>\n\n\n\n<ol start=\"2\">\n<li>\u67e5\u770b\u8fdb\u7a0b ID \u4e3a 1234 \u7684\u8be6\u7ec6\u5185\u5b58\u4fe1\u606f\uff1a<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>   pmap -x 1234<\/code><\/pre>\n\n\n\n<ol start=\"3\">\n<li>\u6309\u5185\u5b58\u4f7f\u7528\u6392\u5e8f\u6240\u6709\u8fdb\u7a0b\uff1a<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>   top -o %MEM<\/code><\/pre>\n\n\n\n<ol start=\"4\">\n<li>\u6301\u7eed\u76d1\u63a7\u7279\u5b9a\u8fdb\u7a0b\u7684\u5185\u5b58\uff1a<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>   watch -n 1 'ps -p &#91;PID] -o %mem,rss,cmd'<\/code><\/pre>\n\n\n\n<p>\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\u53d6\u51b3\u4e8e\u4f60\u9700\u8981\u67e5\u770b\u7684\u8be6\u7ec6\u7a0b\u5ea6\u548c\u4f7f\u7528\u7684\u4fbf\u5229\u6027\u3002\u5bf9\u4e8e\u5feb\u901f\u67e5\u770b\uff0c<code>top<\/code> \u6216 <code>htop<\/code> \u662f\u6700\u65b9\u4fbf\u7684\uff1b\u5982\u679c\u9700\u8981\u66f4\u8be6\u7ec6\u7684\u5206\u6790\uff0c<code>pmap<\/code> \u548c <code>\/proc<\/code> \u6587\u4ef6\u7cfb\u7edf\u63d0\u4f9b\u66f4\u591a\u4fe1\u606f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 Linux \u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5 \u5728 Linux \u7cfb\u7edf\u4e2d\uff0c\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4ee5\u67e5\u770b\u8fdb\u7a0b\u6216\u7a0b\u5e8f\u7684\u5185\u5b58\u4f7f\u7528\u60c5\u51b5\u3002&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1694,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[77],"tags":[78],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728 Linux \u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5 - \u7801\u5148\u751f\u7684\u535a\u5ba2<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/codermr.com\/index.php\/2025\/04\/10\/\u5728-linux-\u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728 Linux \u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5 - \u7801\u5148\u751f\u7684\u535a\u5ba2\" \/>\n<meta property=\"og:description\" content=\"\u5728 Linux \u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5 \u5728 Linux \u7cfb\u7edf\u4e2d\uff0c\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4ee5\u67e5\u770b\u8fdb\u7a0b\u6216\u7a0b\u5e8f\u7684\u5185\u5b58\u4f7f\u7528\u60c5\u51b5\u3002...\" \/>\n<meta property=\"og:url\" content=\"http:\/\/codermr.com\/index.php\/2025\/04\/10\/\u5728-linux-\u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5\/\" \/>\n<meta property=\"og:site_name\" content=\"\u7801\u5148\u751f\u7684\u535a\u5ba2\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-10T15:23:36+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/codermr.com\/wp-content\/uploads\/2025\/04\/linux\u56fe\u68071.png\" \/>\n\t<meta property=\"og:image:width\" content=\"588\" \/>\n\t<meta property=\"og:image:height\" content=\"589\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u7801\u5148\u751f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/mrcode2021\" \/>\n<meta name=\"twitter:site\" content=\"@mrcode2021\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u7801\u5148\u751f\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/\"},\"author\":{\"name\":\"\u7801\u5148\u751f\",\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"headline\":\"\u5728 Linux \u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5\",\"datePublished\":\"2025-04-10T15:23:36+00:00\",\"dateModified\":\"2025-04-10T15:23:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/\"},\"wordCount\":21,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"keywords\":[\"linux\"],\"articleSection\":[\"Linux\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/\",\"url\":\"http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/\",\"name\":\"\u5728 Linux \u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5 - \u7801\u5148\u751f\u7684\u535a\u5ba2\",\"isPartOf\":{\"@id\":\"http:\/\/codermr.com\/#website\"},\"datePublished\":\"2025-04-10T15:23:36+00:00\",\"dateModified\":\"2025-04-10T15:23:36+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"http:\/\/codermr.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728 Linux \u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/codermr.com\/#website\",\"url\":\"http:\/\/codermr.com\/\",\"name\":\"\u7801\u5148\u751f\u7684\u535a\u5ba2\",\"description\":\"\u6b22 \u8fce \u4e0b \u8f7d \u6211 \u5f00 \u53d1 \u7684 \u5404 \u7aef \u8f6f \u4ef6 \u548c APP\",\"publisher\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/codermr.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\",\"name\":\"\u7801\u5148\u751f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg\",\"contentUrl\":\"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg\",\"width\":400,\"height\":400,\"caption\":\"\u7801\u5148\u751f\"},\"logo\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/codermr.com\",\"https:\/\/twitter.com\/https:\/\/twitter.com\/mrcode2021\"],\"url\":\"http:\/\/codermr.com\/index.php\/author\/coderma\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5728 Linux \u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5 - \u7801\u5148\u751f\u7684\u535a\u5ba2","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/codermr.com\/index.php\/2025\/04\/10\/\u5728-linux-\u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728 Linux \u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5 - \u7801\u5148\u751f\u7684\u535a\u5ba2","og_description":"\u5728 Linux \u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5 \u5728 Linux \u7cfb\u7edf\u4e2d\uff0c\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4ee5\u67e5\u770b\u8fdb\u7a0b\u6216\u7a0b\u5e8f\u7684\u5185\u5b58\u4f7f\u7528\u60c5\u51b5\u3002...","og_url":"http:\/\/codermr.com\/index.php\/2025\/04\/10\/\u5728-linux-\u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5\/","og_site_name":"\u7801\u5148\u751f\u7684\u535a\u5ba2","article_published_time":"2025-04-10T15:23:36+00:00","og_image":[{"width":588,"height":589,"url":"http:\/\/codermr.com\/wp-content\/uploads\/2025\/04\/linux\u56fe\u68071.png","type":"image\/png"}],"author":"\u7801\u5148\u751f","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/mrcode2021","twitter_site":"@mrcode2021","twitter_misc":{"\u4f5c\u8005":"\u7801\u5148\u751f","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/#article","isPartOf":{"@id":"http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/"},"author":{"name":"\u7801\u5148\u751f","@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"headline":"\u5728 Linux \u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5","datePublished":"2025-04-10T15:23:36+00:00","dateModified":"2025-04-10T15:23:36+00:00","mainEntityOfPage":{"@id":"http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/"},"wordCount":21,"commentCount":0,"publisher":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"keywords":["linux"],"articleSection":["Linux"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/","url":"http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/","name":"\u5728 Linux \u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5 - \u7801\u5148\u751f\u7684\u535a\u5ba2","isPartOf":{"@id":"http:\/\/codermr.com\/#website"},"datePublished":"2025-04-10T15:23:36+00:00","dateModified":"2025-04-10T15:23:36+00:00","breadcrumb":{"@id":"http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/codermr.com\/index.php\/2025\/04\/10\/%e5%9c%a8-linux-%e4%b8%ad%e6%9f%a5%e7%9c%8b%e8%bf%9b%e7%a8%8b%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/codermr.com\/"},{"@type":"ListItem","position":2,"name":"\u5728 Linux \u4e2d\u67e5\u770b\u8fdb\u7a0b\u5185\u5b58\u5360\u7528\u7684\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"http:\/\/codermr.com\/#website","url":"http:\/\/codermr.com\/","name":"\u7801\u5148\u751f\u7684\u535a\u5ba2","description":"\u6b22 \u8fce \u4e0b \u8f7d \u6211 \u5f00 \u53d1 \u7684 \u5404 \u7aef \u8f6f \u4ef6 \u548c APP","publisher":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/codermr.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf","name":"\u7801\u5148\u751f","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/codermr.com\/#\/schema\/person\/image\/","url":"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg","contentUrl":"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg","width":400,"height":400,"caption":"\u7801\u5148\u751f"},"logo":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/codermr.com","https:\/\/twitter.com\/https:\/\/twitter.com\/mrcode2021"],"url":"http:\/\/codermr.com\/index.php\/author\/coderma\/"}]}},"_links":{"self":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1693"}],"collection":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/comments?post=1693"}],"version-history":[{"count":1,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1693\/revisions"}],"predecessor-version":[{"id":1695,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1693\/revisions\/1695"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/media\/1694"}],"wp:attachment":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/media?parent=1693"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/categories?post=1693"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/tags?post=1693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}