#!/bin/bash

NAME=""msecprobe-inner

TIME=0.5

# 设置日志文件名
FILE="wang.log"

top -b -d $TIME | grep --line-buffered "$NAME" >> "$FILE"
