国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

MacOS怎么查看進程占用內(nèi)存是多少

這篇具有很好參考價值的文章主要介紹了MacOS怎么查看進程占用內(nèi)存是多少。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

一、背景

在Linux下可以使用 free 命令來方便的查看內(nèi)存占用情況,如 free -g、free -m等,但MacOS下沒有這個命令。

既然如此,那么MacOS里是否有類似的工具呢?

而我們又該如何查看整個PC的內(nèi)存占用情況,及指定進程的內(nèi)存占用情況呢?

別急,帶著這些疑問請往下看:

二、方案

1、通過 top 命令來替代 free 命令

A). 查看全部進程的內(nèi)存占用大小

top -l 1 | head -n 10 | grep PhysMem

PhysMem: 31G used (2485M wired), 223M unused.

B). 查看指定進程的內(nèi)存占用大小

top -pid 72267 -l 1 | tail -n 1 | awk '{print $8}' 

1039M

2、通過 GUI 工具 “活動監(jiān)視器” 查看內(nèi)存
mac查看內(nèi)存命令,macos

3、使用Python psutil庫包工具查看
mac查看內(nèi)存命令,macos

三、實驗

3.1 查看系統(tǒng)總內(nèi)存占用情況

先總體看看:

?  libexec git:(stable) top -l 1 | head -n 10   
            
Processes: 643 total, 2 running, 641 sleeping, 4233 threads 
2023/06/07 11:03:11
Load Avg: 3.16, 2.53, 2.48 
CPU usage: 4.66% user, 10.83% sys, 84.49% idle 
SharedLibs: 698M resident, 117M data, 167M linkedit.
MemRegions: 859023 total, 10G resident, 372M private, 3227M shared.
PhysMem: 31G used (2485M wired), 223M unused.
VM: 289T vsize, 3778M framework vsize, 2603873(0) swapins, 4151090(0) swapouts.
Networks: packets: 189125397/149G in, 154096002/51G out.
Disks: 49163482/907G read, 64642095/1086G written.


PID    COMMAND          %CPU TIME     #TH    #WQ #PORTS MEM   PURG  CMPRS PGRP  PPID  STATE    BOOSTS       %CPU_ME %CPU_OTHRS UID FAULTS    COW    MSGSENT    MSGRECV    SYSBSD     SYSMACH    CSW        PAGEINS IDLEW     POWER INSTRS CYCLES USER                   #MREGS RPRVT VPRVT VSIZE KPRVT KSHRD
99759  DiskUnmountWatch 0.0  00:00.15 2      1   33     1745K 0B    1488K 99759 1     sleeping  0[0]        0.00000 0.00000    501 2912      78     174        491        4112       1205       1239       2       17        0.0   0      0      xxxxxxxx               N/A    N/A   N/A   N/A   N/A   N/A  
98953  zsh              0.0  00:00.82 1      0   21     6449K 0B    6096K 98953 87986 sleeping *0[1]        0.00000 0.00000    501 15809     2691   193        91         252427     201        1058       58      0         0.0   0      0      xxxxxxxx               N/A    N/A   N/A   N/A   N/A   N/A 

再過濾出總內(nèi)存占用這部分數(shù)據(jù):

top -l 1 | head -n 10 | grep PhysMem

PhysMem: 31G used (2485M wired), 223M unused.

3.2 查看指定進程占用情況

在這個實驗中,我們檢查一下運行在 MacOS上(通過brew方案安裝)的 Hadoop 3.3.1 (偽分布式)各個進程的占用情況。

Hadoop 集群總共包含以下幾類進程:

?  libexec git:(stable) jps -ml

72267 org.apache.hadoop.hdfs.server.namenode.NameNode
72369 org.apache.hadoop.hdfs.server.datanode.DataNode
72504 org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode
72779 org.apache.hadoop.yarn.server.resourcemanager.ResourceManager
72878 org.apache.hadoop.yarn.server.nodemanager.NodeManager

根據(jù)各自進程ID查詢其內(nèi)存占用大?。?/p>

top -pid 72267 -l 1 | tail -n 1 | awk '{print $8}'  #1039M
top -pid 72369 -l 1 | tail -n 1 | awk '{print $8}'  #788M
top -pid 72504 -l 1 | tail -n 1 | awk '{print $8}'  #957M
top -pid 72779 -l 1 | tail -n 1 | awk '{print $8}'  #495M
top -pid 72878 -l 1 | tail -n 1 | awk '{print $8}'  #500M

重要說明:
1、關(guān)于命令行參數(shù):

【-l 1】只執(zhí)行1次
【tail -n 1】取最后一條結(jié)果

2、關(guān)于內(nèi)存計算方式在Linux與MacOS上的區(qū)別

MacOS與Linux在計算內(nèi)存方式上還是不太一樣的:
A). 對于Linux系統(tǒng), 如果要查看某個進程的內(nèi)存使用情況,通常有兩種統(tǒng)計方式:
(1)實際使用內(nèi)存;
(2)實際使用內(nèi)存 + cache使用內(nèi)存。
B). 對于 MacOS系統(tǒng), 在統(tǒng)計內(nèi)存使用時,一般還有個交換內(nèi)存SwSS的概念,即"Swap" Set Size,指交換內(nèi)存的大小。
虛擬內(nèi)存指的是一個程序程序運行時,使用的內(nèi)存空間。
虛擬內(nèi)存的大小一般使用 VSS(Virtual Set Size)表示。
.
它的大小一般這樣計算:
.
VSS = RSS + LSS + SwSS
.

  • RSS 的全稱為:Resident Set Size,表示當前程序進程實際使用的內(nèi)存大小。
  • LSS 的全稱為:“Lazy” Set Size,表示系統(tǒng)同意給程序進程分配的,但是還沒分配完成的內(nèi)存大小。
  • SwSS 的全稱為:“Swap” Set Size,指交換內(nèi)存的大小,與 MacOS 不同,iOS 沒有交換內(nèi)存(一般Mobile device的實際存儲空間比較有限)。

3.3 通過MacOS內(nèi)置的GUI工具“活動監(jiān)視器”查看指定進程占用情況

mac查看內(nèi)存命令,macos
這里可以看出,GUI工具檢測出的內(nèi)存占用,與命令行里查出來的內(nèi)存大小,在數(shù)據(jù)上保持著高度的一致。

3.4 通過Python psutil 庫包工具查看

1、查看總內(nèi)存占用情況

print(psu.virtual_memory())
svmem(total=34359738368, available=9667969024, percent=71.9, used=13218136064, free=350289920, active=9313632256, inactive=9304948736, wired=3904503808)

print(psu.swap_memory())
sswap(total=1073741824, used=81264640, free=992477184, percent=7.6, sin=580224942080, sout=4288872448)

2、查看單個進程的內(nèi)存占用情況文章來源地址http://www.zghlxwxcb.cn/news/detail-581831.html

import psutil as p

p = psu.Process(72267) # 根據(jù)NameNode進程 對應(yīng)的PID獲取進程對象

# ------------------------------ 該進程內(nèi)存使用相關(guān)信息 ------------------------------
print(p.memory_info())
pmem(rss=150732800, vms=430260076544, pfaults=492147, pageins=22)

# ------------------------------ 以下為進程其他相關(guān)信息 ------------------------------
print(p.cpu_times())
pcputimes(user=395.442651136, system=296.736718848, children_user=0.0, children_system=0.0)

print(p.name)
<bound method Process.name of psutil.Process(pid=72267, name='java', status='running', started='2023-05-20 18:15:29')>

print(p.exe())
/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/bin/java

print(p.cwd())
/Users/xxxxx

print(p.cmdline())
['/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/bin/java', '-Dproc_namenode', '-Djava.net.preferIPv4Stack=true', '-Dhdfs.audit.logger=INFO,NullAppender', '-Dhadoop.security.logger=INFO,RFAS', '-Dyarn.log.dir=/opt/homebrew/Cellar/hadoop/3.3.1/libexec/logs', '-Dyarn.log.file=hadoop-xxxxx-namenode-xxxxx.lan.log', '-Dyarn.home.dir=/opt/homebrew/Cellar/hadoop/3.3.1/libexec', '-Dyarn.root.logger=INFO,console', '-Dhadoop.log.dir=/opt/homebrew/Cellar/hadoop/3.3.1/libexec/logs', '-Dhadoop.log.file=hadoop-xxxxx-namenode-xxxxx.lan.log', '-Dhadoop.home.dir=/opt/homebrew/Cellar/hadoop/3.3.1/libexec', '-Dhadoop.id.str=xxxxx', '-Dhadoop.root.logger=INFO,RFA', '-Dhadoop.policy.file=hadoop-policy.xml', 'org.apache.hadoop.hdfs.server.namenode.NameNode']

print(p.ppid)
<bound method Process.ppid of psutil.Process(pid=72267, name='java', status='running', started='2023-05-20 18:15:29')>

print(p.parent())
psutil.Process(pid=1, name='launchd', status='running', started='2022-12-29 22:43:40')

print(p.children)
<bound method Process.children of psutil.Process(pid=72267, name='java', status='running', started='2023-05-20 18:15:29')>

print(p.status())
running

print(p.username())
xxxxx

print(p.create_time())
1684577729.270895

print(p.terminate)
<bound method Process.terminate of psutil.Process(pid=72267, name='java', status='running', started='2023-05-20 18:15:29')>



print(p.open_files())
[popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/logs/hadoop-xxx-namenode-xxxxx.lan.out', fd=1), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/logs/hadoop-xxx-namenode-xxxxx.lan.out', fd=2), popenfile(path='/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre/lib/rt.jar', fd=3), popenfile(path='/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre/lib/jfr.jar', fd=4), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jetty-util-ajax-9.4.40.v20210413.jar', fd=5), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jaxb-impl-2.2.3-1.jar', fd=6), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/hadoop-auth-3.3.1.jar', fd=7), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/curator-framework-4.2.0.jar', fd=8), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jackson-core-2.10.5.jar', fd=9), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/commons-io-2.8.0.jar', fd=10), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/slf4j-log4j12-1.7.30.jar', fd=11), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jetty-webapp-9.4.40.v20210413.jar', fd=12), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/htrace-core4-4.1.0-incubating.jar', fd=13), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/kerby-xdr-1.0.1.jar', fd=14), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/failureaccess-1.0.jar', fd=15), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/checker-qual-2.5.2.jar', fd=16), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/curator-client-4.2.0.jar', fd=17), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/httpcore-4.4.13.jar', fd=18), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/slf4j-api-1.7.30.jar', fd=19), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/snappy-java-1.1.8.2.jar', fd=20), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jackson-jaxrs-1.9.13.jar', fd=21), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/commons-logging-1.1.3.jar', fd=22), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/hadoop-annotations-3.3.1.jar', fd=23), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/kerby-pkix-1.0.1.jar', fd=24), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/woodstox-core-5.3.0.jar', fd=25), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/avro-1.7.7.jar', fd=26), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/dnsjava-2.1.7.jar', fd=27), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jetty-io-9.4.40.v20210413.jar', fd=28), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/javax.servlet-api-3.1.0.jar', fd=29), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/kerb-server-1.0.1.jar', fd=30), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/hadoop-shaded-guava-1.1.1.jar', fd=31), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/log4j-1.2.17.jar', fd=32), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/commons-cli-1.2.jar', fd=33), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/guava-27.0-jre.jar', fd=34), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/protobuf-java-2.5.0.jar', fd=35), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jcip-annotations-1.0-1.jar', fd=36), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/kerby-asn1-1.0.1.jar', fd=37), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jsr311-api-1.1.1.jar', fd=38), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/stax2-api-4.2.1.jar', fd=39), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jackson-xc-1.9.13.jar', fd=40), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/kerb-identity-1.0.1.jar', fd=41), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/kerby-config-1.0.1.jar', fd=42), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jetty-server-9.4.40.v20210413.jar', fd=43), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jetty-util-9.4.40.v20210413.jar', fd=44), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/kerb-util-1.0.1.jar', fd=45), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jersey-json-1.19.jar', fd=46), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jersey-servlet-1.19.jar', fd=47), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jul-to-slf4j-1.7.30.jar', fd=48), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/zookeeper-jute-3.5.6.jar', fd=49), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jetty-servlet-9.4.40.v20210413.jar', fd=50), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jaxb-api-2.2.11.jar', fd=51), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/commons-configuration2-2.1.1.jar', fd=52), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jakarta.activation-api-1.2.1.jar', fd=53), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jackson-core-asl-1.9.13.jar', fd=54), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/curator-recipes-4.2.0.jar', fd=55), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar', fd=56), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/metrics-core-3.2.4.jar', fd=57), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/accessors-smart-2.4.2.jar', fd=58), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jsp-api-2.1.jar', fd=59), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/kerb-crypto-1.0.1.jar', fd=60), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/commons-codec-1.11.jar', fd=61), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/asm-5.0.4.jar', fd=62), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/kerb-admin-1.0.1.jar', fd=63), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/audience-annotations-0.5.0.jar', fd=64), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/j2objc-annotations-1.1.jar', fd=65), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/paranamer-2.3.jar', fd=66), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/kerb-client-1.0.1.jar', fd=67), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/commons-collections-3.2.2.jar', fd=68), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jettison-1.1.jar', fd=69), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/netty-3.10.6.Final.jar', fd=70), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/commons-compress-1.19.jar', fd=71), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jackson-databind-2.10.5.1.jar', fd=72), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/token-provider-1.0.1.jar', fd=73), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jetty-http-9.4.40.v20210413.jar', fd=74), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jersey-core-1.19.jar', fd=75), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/commons-beanutils-1.9.4.jar', fd=76), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/kerb-common-1.0.1.jar', fd=77), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/commons-text-1.4.jar', fd=78), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/kerb-simplekdc-1.0.1.jar', fd=79), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jackson-annotations-2.10.5.jar', fd=80), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jersey-server-1.19.jar', fd=81), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jsch-0.1.55.jar', fd=82), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/re2j-1.1.jar', fd=83), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/gson-2.2.4.jar', fd=84), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jetty-xml-9.4.40.v20210413.jar', fd=85), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/kerb-core-1.0.1.jar', fd=86), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/nimbus-jose-jwt-9.8.1.jar', fd=87), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/httpclient-4.5.13.jar', fd=88), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/animal-sniffer-annotations-1.17.jar', fd=89), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/commons-net-3.6.jar', fd=90), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/commons-lang3-3.7.jar', fd=91), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/kerby-util-1.0.1.jar', fd=92), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jsr305-3.0.2.jar', fd=93), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jackson-mapper-asl-1.9.13.jar', fd=94), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/commons-math3-3.1.1.jar', fd=95), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/jetty-security-9.4.40.v20210413.jar', fd=96), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/commons-daemon-1.0.13.jar', fd=97), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/json-smart-2.4.2.jar', fd=98), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/hadoop-shaded-protobuf_3_7-1.1.1.jar', fd=99), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/zookeeper-3.5.6.jar', fd=100), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/hadoop-nfs-3.3.1.jar', fd=101), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/hadoop-common-3.3.1-tests.jar', fd=102), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/hadoop-common-3.3.1.jar', fd=103), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/hadoop-registry-3.3.1.jar', fd=104), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/hadoop-kms-3.3.1.jar', fd=105), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jetty-util-ajax-9.4.40.v20210413.jar', fd=106), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jaxb-impl-2.2.3-1.jar', fd=107), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/hadoop-auth-3.3.1.jar', fd=108), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/curator-framework-4.2.0.jar', fd=109), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jackson-core-2.10.5.jar', fd=110), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/commons-io-2.8.0.jar', fd=111), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jetty-webapp-9.4.40.v20210413.jar', fd=112), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/htrace-core4-4.1.0-incubating.jar', fd=113), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/kerby-xdr-1.0.1.jar', fd=114), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/failureaccess-1.0.jar', fd=115), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/checker-qual-2.5.2.jar', fd=116), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/curator-client-4.2.0.jar', fd=117), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/httpcore-4.4.13.jar', fd=118), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/snappy-java-1.1.8.2.jar', fd=119), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jackson-jaxrs-1.9.13.jar', fd=120), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/commons-logging-1.1.3.jar', fd=121), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/hadoop-annotations-3.3.1.jar', fd=122), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/kerby-pkix-1.0.1.jar', fd=123), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/woodstox-core-5.3.0.jar', fd=124), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/avro-1.7.7.jar', fd=125), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/dnsjava-2.1.7.jar', fd=126), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jetty-io-9.4.40.v20210413.jar', fd=127), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/javax.servlet-api-3.1.0.jar', fd=128), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/kerb-server-1.0.1.jar', fd=129), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/hadoop-shaded-guava-1.1.1.jar', fd=130), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/log4j-1.2.17.jar', fd=131), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/commons-cli-1.2.jar', fd=132), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/guava-27.0-jre.jar', fd=133), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/protobuf-java-2.5.0.jar', fd=134), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jcip-annotations-1.0-1.jar', fd=135), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/kerby-asn1-1.0.1.jar', fd=136), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jsr311-api-1.1.1.jar', fd=137), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/stax2-api-4.2.1.jar', fd=138), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jackson-xc-1.9.13.jar', fd=139), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/kerb-identity-1.0.1.jar', fd=140), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/kerby-config-1.0.1.jar', fd=141), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jetty-server-9.4.40.v20210413.jar', fd=142), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jetty-util-9.4.40.v20210413.jar', fd=143), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/kerb-util-1.0.1.jar', fd=144), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/okio-1.6.0.jar', fd=145), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jersey-json-1.19.jar', fd=146), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jersey-servlet-1.19.jar', fd=147), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/zookeeper-jute-3.5.6.jar', fd=148), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jetty-servlet-9.4.40.v20210413.jar', fd=149), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jaxb-api-2.2.11.jar', fd=150), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/json-simple-1.1.1.jar', fd=151), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/commons-configuration2-2.1.1.jar', fd=152), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jakarta.activation-api-1.2.1.jar', fd=153), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jackson-core-asl-1.9.13.jar', fd=154), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/curator-recipes-4.2.0.jar', fd=155), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar', fd=156), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/accessors-smart-2.4.2.jar', fd=157), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/okhttp-2.7.5.jar', fd=158), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/kerb-crypto-1.0.1.jar', fd=159), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/commons-codec-1.11.jar', fd=160), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/asm-5.0.4.jar', fd=161), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/kerb-admin-1.0.1.jar', fd=162), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/audience-annotations-0.5.0.jar', fd=163), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/j2objc-annotations-1.1.jar', fd=164), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/paranamer-2.3.jar', fd=165), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/kerb-client-1.0.1.jar', fd=166), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/commons-collections-3.2.2.jar', fd=167), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jettison-1.1.jar', fd=168), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/netty-3.10.6.Final.jar', fd=169), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/commons-compress-1.19.jar', fd=170), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jackson-databind-2.10.5.1.jar', fd=171), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/token-provider-1.0.1.jar', fd=172), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jetty-http-9.4.40.v20210413.jar', fd=173), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jersey-core-1.19.jar', fd=174), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/commons-beanutils-1.9.4.jar', fd=175), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/kerb-common-1.0.1.jar', fd=176), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/commons-text-1.4.jar', fd=177), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/kerb-simplekdc-1.0.1.jar', fd=178), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jackson-annotations-2.10.5.jar', fd=179), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jersey-server-1.19.jar', fd=180), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jsch-0.1.55.jar', fd=181), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/re2j-1.1.jar', fd=182), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/gson-2.2.4.jar', fd=183), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jetty-xml-9.4.40.v20210413.jar', fd=184), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/kerb-core-1.0.1.jar', fd=185), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/nimbus-jose-jwt-9.8.1.jar', fd=186), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/httpclient-4.5.13.jar', fd=187), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/netty-all-4.1.61.Final.jar', fd=188), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/animal-sniffer-annotations-1.17.jar', fd=189), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/leveldbjni-all-1.8.jar', fd=190), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/commons-net-3.6.jar', fd=191), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/commons-lang3-3.7.jar', fd=192), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/kerby-util-1.0.1.jar', fd=193), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jsr305-3.0.2.jar', fd=194), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jackson-mapper-asl-1.9.13.jar', fd=195), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/commons-math3-3.1.1.jar', fd=196), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/jetty-security-9.4.40.v20210413.jar', fd=197), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/commons-daemon-1.0.13.jar', fd=198), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/json-smart-2.4.2.jar', fd=199), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/hadoop-shaded-protobuf_3_7-1.1.1.jar', fd=200), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/zookeeper-3.5.6.jar', fd=201), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/hadoop-hdfs-3.3.1.jar', fd=202), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/hadoop-hdfs-client-3.3.1.jar', fd=203), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/hadoop-hdfs-3.3.1-tests.jar', fd=204), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/hadoop-hdfs-rbf-3.3.1.jar', fd=205), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/hadoop-hdfs-native-client-3.3.1.jar', fd=206), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/hadoop-hdfs-httpfs-3.3.1.jar', fd=207), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/hadoop-hdfs-client-3.3.1-tests.jar', fd=208), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/hadoop-hdfs-nfs-3.3.1.jar', fd=209), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/hadoop-hdfs-rbf-3.3.1-tests.jar', fd=210), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/hadoop-hdfs-native-client-3.3.1-tests.jar', fd=211), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-3.3.1.jar', fd=212), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/mapreduce/hadoop-mapreduce-client-common-3.3.1.jar', fd=213), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/mapreduce/hadoop-mapreduce-client-shuffle-3.3.1.jar', fd=214), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.3.1.jar', fd=215), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/mapreduce/hadoop-mapreduce-client-core-3.3.1.jar', fd=216), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/mapreduce/hadoop-mapreduce-client-uploader-3.3.1.jar', fd=217), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-3.3.1.jar', fd=218), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-plugins-3.3.1.jar', fd=219), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-3.3.1-tests.jar', fd=220), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/mapreduce/hadoop-mapreduce-client-app-3.3.1.jar', fd=221), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/mapreduce/hadoop-mapreduce-client-nativetask-3.3.1.jar', fd=222), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/javax.websocket-api-1.0.jar', fd=223), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/jakarta.xml.bind-api-2.3.2.jar', fd=224), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/jackson-jaxrs-base-2.10.5.jar', fd=225), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/jersey-guice-1.19.jar', fd=226), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/aopalliance-1.0.jar', fd=227), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/asm-analysis-9.0.jar', fd=228), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/java-util-1.9.0.jar', fd=229), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/websocket-servlet-9.4.40.v20210413.jar', fd=230), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/websocket-api-9.4.40.v20210413.jar', fd=231), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/asm-tree-9.0.jar', fd=232), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/jersey-client-1.19.jar', fd=233), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/geronimo-jcache_1.0_spec-1.0-alpha-1.jar', fd=234), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/objenesis-2.6.jar', fd=235), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/jackson-jaxrs-json-provider-2.10.5.jar', fd=236), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/jline-3.9.0.jar', fd=237), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/jetty-annotations-9.4.40.v20210413.jar', fd=238), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/websocket-client-9.4.40.v20210413.jar', fd=239), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/asm-commons-9.0.jar', fd=240), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/fst-2.50.jar', fd=241), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/guice-servlet-4.0.jar', fd=242), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/snakeyaml-1.26.jar', fd=243), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/mssql-jdbc-6.2.1.jre7.jar', fd=244), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/websocket-common-9.4.40.v20210413.jar', fd=245), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/jetty-plus-9.4.40.v20210413.jar', fd=246), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/metrics-core-3.2.4.jar', fd=247), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/jetty-jndi-9.4.40.v20210413.jar', fd=248), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/javax-websocket-server-impl-9.4.40.v20210413.jar', fd=249), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/javax.websocket-client-api-1.0.jar', fd=250), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/javax-websocket-client-impl-9.4.40.v20210413.jar', fd=251), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/ehcache-3.3.1.jar', fd=252), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/jetty-client-9.4.40.v20210413.jar', fd=253), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/bcprov-jdk15on-1.60.jar', fd=254), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/HikariCP-java7-2.4.12.jar', fd=255), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/jna-5.2.0.jar', fd=256), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/json-io-2.5.1.jar', fd=257), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/guice-4.0.jar', fd=258), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/javax.inject-1.jar', fd=259), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/jackson-module-jaxb-annotations-2.10.5.jar', fd=260), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/bcpkix-jdk15on-1.60.jar', fd=261), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/swagger-annotations-1.5.4.jar', fd=262), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/websocket-server-9.4.40.v20210413.jar', fd=263), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/hadoop-yarn-client-3.3.1.jar', fd=264), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/hadoop-yarn-services-api-3.3.1.jar', fd=265), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/hadoop-yarn-server-router-3.3.1.jar', fd=266), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/hadoop-yarn-applications-mawo-core-3.3.1.jar', fd=267), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/hadoop-yarn-services-core-3.3.1.jar', fd=268), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-3.3.1.jar', fd=269), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/hadoop-yarn-server-common-3.3.1.jar', fd=270), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/hadoop-yarn-server-web-proxy-3.3.1.jar', fd=271), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/hadoop-yarn-server-nodemanager-3.3.1.jar', fd=272), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/hadoop-yarn-common-3.3.1.jar', fd=273), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/hadoop-yarn-api-3.3.1.jar', fd=274), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/hadoop-yarn-server-tests-3.3.1.jar', fd=275), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/hadoop-yarn-server-applicationhistoryservice-3.3.1.jar', fd=276), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-3.3.1.jar', fd=277), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/hadoop-yarn-server-sharedcachemanager-3.3.1.jar', fd=278), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/hadoop-yarn-registry-3.3.1.jar', fd=279), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/hadoop-yarn-server-timeline-pluginstorage-3.3.1.jar', fd=280), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-3.3.1.jar', fd=281), popenfile(path='/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre/lib/ext/cldrdata.jar', fd=282), popenfile(path='/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre/lib/ext/localedata.jar', fd=283), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/logs/hadoop-xxx-namenode-xxxxx.lan.log', fd=284), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/logs/SecurityAuth-xxx.audit', fd=285), popenfile(path='/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre/lib/jsse.jar', fd=288), popenfile(path='/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre/lib/jce.jar', fd=313), popenfile(path='/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre/lib/ext/sunec.jar', fd=314), popenfile(path='/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar', fd=315), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/tmp/dfs/name/in_use.lock', fd=316), popenfile(path='/opt/homebrew/Cellar/hadoop/3.3.1/libexec/tmp/dfs/name/current/edits_inprogress_0000000000000000443', fd=317), popenfile(path='/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre/lib/resources.jar', fd=335), popenfile(path='/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre/lib/charsets.jar', fd=346)]

print(p.connections())
[pconn(fd=295, family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, laddr=addr(ip='0.0.0.0', port=9870), raddr=(), status='LISTEN'), pconn(fd=318, family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, laddr=addr(ip='127.0.0.1', port=8020), raddr=(), status='LISTEN'), pconn(fd=328, family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, laddr=addr(ip='127.0.0.1', port=8020), raddr=addr(ip='127.0.0.1', port=60487), status='ESTABLISHED')]

print(p.num_threads())
67

print(p.environ())
{'SHELL': '/bin/zsh', 'HADOOP_HOME': '/opt/homebrew/Cellar/hadoop/3.3.1/libexec', 'TMPDIR': '/var/folders/5h/m9864cxd4hg9qr469_wgt2q40000gn/T/', 'SSH_CLIENT': '::1 60471 22', 'HDFS_NFS3_SECURE_EXTRA_OPTS': '-jvm server', 'HDFS_DATANODE_SECURE_EXTRA_OPTS': '-jvm server', 'HDFS_DATANODE_OPTS': '-Dhadoop.security.logger=ERROR,RFAS', 'HDFS_PORTMAP_OPTS': '-Xmx512m', 'USER': 'xxxx', 'HDFS_SECONDARYNAMENODE_OPTS': '-Dhadoop.security.logger=INFO,RFAS', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HADOOP_ENV_PROCESSED': 'true', 'HADOOP_HDFS_HOME': '/opt/homebrew/Cellar/hadoop/3.3.1/libexec', 'HADOOP_COMMON_HOME': '/opt/homebrew/Cellar/hadoop/3.3.1/libexec', 'PWD': '/Users/xxx', 'HADOOP_YARN_HOME': '/opt/homebrew/Cellar/hadoop/3.3.1/libexec', 'JAVA_HOME': '/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home', 'HADOOP_OS_TYPE': 'Darwin', 'HADOOP_CONF_DIR': '/opt/homebrew/Cellar/hadoop/3.3.1/libexec/etc/hadoop', 'LANG': 'zh_CN.UTF-8', 'HADOOP_OPTS': '-Djava.net.preferIPv4Stack=true -Dhdfs.audit.logger=INFO,NullAppender -Dhadoop.security.logger=INFO,RFAS -Dyarn.log.dir=/opt/homebrew/Cellar/hadoop/3.3.1/libexec/logs -Dyarn.log.file=hadoop-xxx-namenode-xxxxx.lan.log -Dyarn.home.dir=/opt/homebrew/Cellar/hadoop/3.3.1/libexec -Dyarn.root.logger=INFO,console -Dhadoop.log.dir=/opt/homebrew/Cellar/hadoop/3.3.1/libexec/logs -Dhadoop.log.file=hadoop-xxx-namenode-xxxxx.lan.log -Dhadoop.home.dir=/opt/homebrew/Cellar/hadoop/3.3.1/libexec -Dhadoop.id.str=xxx -Dhadoop.root.logger=INFO,RFA -Dhadoop.policy.file=hadoop-policy.xml', 'SHLVL': '0', 'HOME': '/Users/xxx', 'HADOOP_MAPRED_HOME': '/opt/homebrew/Cellar/hadoop/3.3.1/libexec', 'LOGNAME': 'xxx', 'CLASSPATH': '/opt/homebrew/Cellar/hadoop/3.3.1/libexec/etc/hadoop:/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/lib/*:/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/common/*:/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs:/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/lib/*:/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/hdfs/*:/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/mapreduce/*:/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn:/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/lib/*:/opt/homebrew/Cellar/hadoop/3.3.1/libexec/share/hadoop/yarn/*', 'SSH_CONNECTION': '::1 60471 ::1 22', 'HDFS_NAMENODE_OPTS': '-Dhadoop.security.logger=INFO,RFAS', 'HDFS_AUDIT_LOGGER': 'INFO,NullAppender'}

到了這里,關(guān)于MacOS怎么查看進程占用內(nèi)存是多少的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔相關(guān)法律責任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • Mac 上查看端口占用情況并結(jié)束進程的方法

    Mac 上查看端口占用情況并結(jié)束進程的方法

    在 Mac 上,如果你想查看當前系統(tǒng)中哪些進程正在占用特定的端口,并且需要結(jié)束某個進程以釋放端口,下面是一些方法可以幫助你完成這些任務(wù)。 步驟1:打開終端應(yīng)用 在 Launchpad 或者應(yīng)用程序文件夾中找到終端應(yīng)用,雙擊打開。 步驟2:查看端口占用情況 在終端中輸入以下

    2024年02月13日
    瀏覽(93)
  • Linux如何查看當前占用CPU和內(nèi)存最多的進程

    查看占用 CPU 最高的前10個進程 查看占用內(nèi)存(MEM)最高的前10個進程 輸入 top 命令,然后按下大寫M按照內(nèi)存MEM排序,按下大寫P按照CPU排序

    2024年02月17日
    瀏覽(22)
  • linux環(huán)境下查看因內(nèi)存占用過大被殺掉的進程

    最近發(fā)生兩次游戲服務(wù)器進程突然消失的事件,查詢?nèi)罩旧舷挛臎]有找到有用的信息,日志顯示運行到某處戛然而止,此處代碼邏輯簡單,排除異常邏輯導(dǎo)致的服務(wù)器進程崩潰,所以聯(lián)想到之前同一臺服務(wù)器上部署多個進程,因占用內(nèi)存太大被內(nèi)核殺死的情況,猜測本次也是

    2024年02月10日
    瀏覽(17)
  • linux怎么查看端口被哪個進程占用

    linux怎么查看端口被哪個進程占用

    兩種查看方法(例如80端口): 1、使用fuser命令,可以直接在Linux上查看指定端口被哪個進程占用了,語法為“fuser -v 80/tcp”,運行結(jié)果里會包含進程的名字和id。 2、使用lsof命令,能根據(jù)指定端口找到對應(yīng)的進程信息,語法為“l(fā)sof -i:80”,可以在輸出結(jié)果中查看占用80端口的

    2024年02月13日
    瀏覽(31)
  • 華納云:ubuntu中怎么查看進程占用的端口

    在Ubuntu中,你可以使用以下命令來查看進程占用的端口: 打開終端(Terminal)。 使用 netstat 命令來查看進程占用的端口。以下是幾個常用的命令示例: 查看所有進程占用的端口和地址: netstat -tuln 查看TCP端口占用情況: netstat -tln 查看UDP端口占用情況: netstat -uln 這些命令會

    2024年02月12日
    瀏覽(42)
  • mac系統(tǒng)占用100多G怎么清除 mac內(nèi)存系統(tǒng)占用了好多怎么清理

    mac系統(tǒng)占用100多G怎么清除 mac內(nèi)存系統(tǒng)占用了好多怎么清理

    mac電腦運行速度足以傲視其他電腦系統(tǒng),不易卡頓死機是蘋果電腦的優(yōu)勢,但是其偏小的存儲空間令人十分頭痛。如果你的mac磁盤容量是僅有12GB,在使用一段時間之后,系統(tǒng)內(nèi)存很有可能就要占用100多G,很快電腦會出現(xiàn)空間不夠用的情況,我們應(yīng)當定期清理mac系統(tǒng)垃圾,確

    2024年02月15日
    瀏覽(24)
  • CentOS7查看開放端口命令、查看端口占用情況和開啟端口命令、殺掉進程等命令

    目錄 文章原鏈接:http://t.csdn.cn/x3yDi 一、CentOS7查看開放端口命令 查看已經(jīng)開放的端口 開啟端口 命令含義 重啟防火墻 停止firewall 禁止firewall開機啟動 二、Centos查看端口占用情況和開啟端口命令 列出所有端口 1、開啟端口(以80端口為例) 2、關(guān)閉端口 3、查看端口狀態(tài) 查看應(yīng)

    2023年04月11日
    瀏覽(28)
  • Linux 查看服務(wù)器內(nèi)存、CPU、網(wǎng)絡(luò)等占用情況的命令

    Linux 查看服務(wù)器內(nèi)存、CPU、網(wǎng)絡(luò)等占用情況的命令

    1、查看物理CPU個數(shù):cat? 2、查看服務(wù)器CPU內(nèi)核個數(shù):cat? ? 每個物理CPU中core的個數(shù)(即核數(shù)) 3、服務(wù)器內(nèi)存使用情況:free 3.1、緩存清除 如果cached過大接近total數(shù)就需要清除緩存了,緩存清除命令: ?4、查看服務(wù)器的平均負載:top top? ?--可以查看服務(wù)器各個進程情況 u

    2024年02月08日
    瀏覽(30)
  • 怎么用搜索命令或者lsof命令查看k8s占用的端口號

    可以使用以下命令來查看 k8s 占用的端口號: 使用 kubectl 命令查看: 這個命令會列出所有命名空間中的服務(wù),包括對應(yīng)的端口號。 使用 lsof 命令查看: 這個命令會列出所有和 kube 相關(guān)的進程使用的端口號。 注意,這兩個命令都需要在有 kubectl 或者 lsof 命令的環(huán)境中使用。

    2024年02月16日
    瀏覽(25)
  • 怎么使用cmd命令查看和殺死進程

    怎么使用cmd命令查看和殺死進程

    一、查看進程 1、首先使用快捷鍵win+R打開運行窗口,并輸入cmd 2、命令提示符界面輸入tasklist命令,可以獲取到當前計算機的所有活動進程 二、殺死進程 在上圖中,紅框圈住的地方,有一個名為PID的列,這一列,就是我們的進程ID,我們可以直接輸入 “taskkill /f /pid xxxx” ,其

    2024年02月13日
    瀏覽(18)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包