Skip to content

修正pom.xml中依赖的问题,SSH获取内存使用量中解析字符串的问题#3

Open
hengyunabc wants to merge 3 commits intonileader:masterfrom
hengyunabc:master
Open

修正pom.xml中依赖的问题,SSH获取内存使用量中解析字符串的问题#3
hengyunabc wants to merge 3 commits intonileader:masterfrom
hengyunabc:master

Conversation

@hengyunabc
Copy link

No description provided.

@hengyunabc
Copy link
Author

那个json和httpclient,不知道是不是你们内部的版本,在maven官方仓库里都找不到。

那个SSH工具,我的系统版本是:Linux mypc 3.8.0-20-generic #31-Ubuntu SMP Mon May 6 17:03:32 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

执行top -b -n 1 | head -5 的结果是:

top - 17:42:06 up 8:30, 5 users, load average: 0.42, 0.63, 0.67
Tasks: 235 total, 1 running, 234 sleeping, 0 stopped, 0 zombie
%Cpu(s): 6.3 us, 6.1 sy, 0.0 ni, 86.6 id, 1.1 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 8085056 total, 7557820 used, 527236 free, 385016 buffers
KiB Swap: 7811068 total, 433632 used, 7377436 free, 3831312 cached

前面多了KiB,因此我把获得内存使用量那里改为用正则匹配数字了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant