Executing this command-set will display you the total number of uninterruptable sleep (D) processes on the server:
# ps aux | awk '{if ($8 == "D") {print; count++} } END {print "Total No. of uninterruptable Sleep Processes: "count}'
# ps aux | awk '{if ($8 == "D") {print; count++} } END {print "Total No. of uninterruptable Sleep Processes: "count}'
No comments:
Post a Comment