Changes between Version 1 and Version 2 of Hinet130923/Lab3
- Timestamp:
- Sep 22, 2013, 11:59:17 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Hinet130923/Lab3
v1 v2 39 39 ### 取得 NameNode 的 java process id 40 40 user@node1:~/hadoop_labs$ NN=$(jps | grep NameNode | awk '{ print $1 }') 41 ## 查詢 NameNode 開了哪些 port41 ### 查詢 NameNode 開了哪些 port 42 42 user@node1:~/hadoop_labs$ netstat -nap | grep $NN | grep ":" | nl 43 43 }}}