/proc/x/maps计算脚本
#指定--non-decimal-data运行awk
BEGIN{
total_size = 0
}
{
rang_size = calc_size($1)
total_size = total_size + rang_size
printf("%s 0x%08x %s %s %s %s %s\n", $1, rang_size, $2, $3, $4, $5, $6)
}
END {...
原创
2019-11-13 11:41:30 ·
330 阅读 ·
0 评论