顯示結果 
搜尋替代 
您的意思是 

A script problem

A script problem

awk 'NR==8{print $1}' /tmp/top.log => 得到 13:22 這數字, 但我只要冒號前面的值 13, 請問該怎麼寫?
1 回覆

A script problem

awk 'NR==8 {print $1}' /tmp/top.log | awk -F: '{print $1}'



Have a try on this ?

Happy new year !

//Add this to "OnDomLoad" event