Search Results

Search: Posts Made By: Ankur Khatri
6,276
Posted By Ankur Khatri
Yeah that can be done. I can also use a tee. but...
Yeah that can be done. I can also use a tee. but i am on the lookout of a solution without usage of a file. Cant have a file. not even a temp one. so you think there is any way out?
6,276
Posted By Ankur Khatri
Well the first command will grep average out of...
Well the first command will grep average out of the sar into the vartiable IDLE and the second command will just mail the output of sar. I need a command that does both of this once. The commands...
6,276
Posted By Ankur Khatri
Combining two commands that use sar.
hey can anyone tell me how can i combine these two commands so that it is executed only once, but gives me both the results.

IDLE=`sar 30 6 | grep Average | awk '{print $1 $5}' `

sar 30 120 |...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 04:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy