ホームページ  >  記事  >  運用・保守  >  Linux での pmap コマンド例の分析

Linux での pmap コマンド例の分析

黄舟
黄舟オリジナル
2017-09-30 11:12:182593ブラウズ

この記事では、主に Linux の pmap コマンドの詳細な説明を紹介します。必要な方は参照してください。

ヘルプを参照すると、次の情報が返されます。


Usage: pmap [options] pid [pid ...]
Options:
 -x, --extended       show details 
 -X             show even more details
      WARNING: format changes according to /proc/PID/smaps
 -XX             show everything the kernel provides
 -c, --read-rc        read the default rc
 -C, --read-rc-from=<file>  read the rc from file
 -n, --create-rc       create new default rc
 -N, --create-rc-to=<file>  create new rc to file
      NOTE: pid arguments are not allowed with -n, -N
 -d, --device        show the device format
 -q, --quiet         do not display header and footer
 -p, --show-path       show path in the mapping
 -A, --range=<low>[,<high>] limit results to the given range
 -h, --help   display this help and exit -V, --version output version information and exit
For more details see pmap(1).

上記リスト項目の意味は以下のとおりです:

Address: メモリ割り当てアドレス

Kbytes: 実際に割り当てられたメモリサイズ

RSS: 実際のメモリサイズプログラムによって占有される

Mapping: メモリ名を割り当てるモジュール

概要

以上がLinux での pmap コマンド例の分析の詳細内容です。詳細については、PHP 中国語 Web サイトの他の関連記事を参照してください。

声明:
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。