統計代碼總行數: wc -l $(find . -type f -name '*.java')
查看文件編碼 file [file]
轉換編碼 iconv -f utf16 -t utf8 [input file] -o [output file]
Java heap dump:
jps // 得到進程ID
jmap -dump:format=b,file=heap.bin 5206 // 注意輸出路徑和進程ID
統計代碼總行數: wc -l $(find . -type f -name '*.java')
查看文件編碼 file [file]
轉換編碼 iconv -f utf16 -t utf8 [input file] -o [output file]
Java heap dump:
jps // 得到進程ID
jmap -dump:format=b,file=heap.bin 5206 // 注意輸出路徑和進程ID