Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Sign In

Login to our social questions & Answers Engine to ask questions answer people's questions & connect with other people.

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

You must login to add post.

Grep the load average with top

#!/bin/sh
VAR1=$(uptime | awk -F’ *,? *’ ‘{print $(NF-2)}’ | awk ‘$1 >= 10 {print $1}’)

if [ $VAR1 ]
then
top -b -n 1 | head -20 > /script/topresult/`date +’%d-%m-%Y_%H-%M-%S’`__file.txt
fi

admin

admin

Enlightened

I like to receive and deal with challenging tasks. I am a very enthusiastic person and I think this is a strong point of mine. My friends say that I am a very funny with a good sense of humor. As soon as I meet new people who are happy to meet me, I feel extremely comfortable with them.

Leave a comment

You must login to add a new comment.