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.

Discy Latest Articles

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