feat: 支持系统、进程信息获取
BREAKING CHANGE: 支持系统、进程信息获取对外变更: 1.添加"/proc/meminfo" 获取系统内存使用情况 2.添加"/proc/filesystems" 获取文件系统信息 3.添加"/proc/[pid]/meminfo" 获取进程的内存占用信息 4.添加"/proc/[pid]/cpup" 获取进程的CPUP信息 Close #I6AMVG Signed-off-by: zhushengle <zhushengle@huawei.com> Change-Id: I8c1cab0bf956ced0cf16401907d869058d98cfa6
This commit is contained in:
@@ -80,6 +80,55 @@ HWTEST_F(ProcessFsTest, ItProcessFs001, TestSize.Level0)
|
||||
ItProcessFs001();
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.name: Process_fs_Test_002
|
||||
* @tc.desc: System memory information acquisition test
|
||||
* @tc.type: FUNC
|
||||
* @tc.require: issueI6AMVG
|
||||
* @tc.author:
|
||||
*/
|
||||
HWTEST_F(ProcessFsTest, ItProcessFs002, TestSize.Level0)
|
||||
{
|
||||
ItProcessFs002();
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.name: Process_fs_Test_003
|
||||
* @tc.desc: Get the file system type information supported by the system test
|
||||
* @tc.type: FUNC
|
||||
* @tc.require: issueI6AMVG
|
||||
* @tc.author:
|
||||
*/
|
||||
HWTEST_F(ProcessFsTest, ItProcessFs003, TestSize.Level0)
|
||||
{
|
||||
ItProcessFs003();
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.name: Process_fs_Test_004
|
||||
* @tc.desc: Process memory information acquisition test
|
||||
* @tc.type: FUNC
|
||||
* @tc.require: issueI6AMVG
|
||||
* @tc.author:
|
||||
*/
|
||||
HWTEST_F(ProcessFsTest, ItProcessFs004, TestSize.Level0)
|
||||
{
|
||||
ItProcessFs004();
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.name: Process_fs_Test_005
|
||||
* @tc.desc: Process cpup information acquisition test
|
||||
* @tc.type: FUNC
|
||||
* @tc.require: issueI6AMVG
|
||||
* @tc.author:
|
||||
*/
|
||||
|
||||
HWTEST_F(ProcessFsTest, ItProcessFs005, TestSize.Level0)
|
||||
{
|
||||
ItProcessFs005();
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.name: Process_fs_Test_007
|
||||
* @tc.desc: Process mount directory test
|
||||
|
||||
Reference in New Issue
Block a user