Created
July 2, 2013 13:12
-
-
Save azusa/5909188 to your computer and use it in GitHub Desktop.
jstat を タイムスタンプ & VM起動からの経過秒と一緒に表示するためのスクリプト
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p=`ps aux |grep tomcat |grep web |grep java |awk '{print $2}'`; jstat -gcutil -h10 $p 30000 | awk '{print strftime("%H:%M:%S"), $0}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment