Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 11:18 on June 26, 2006


Transmission parameters of the problem

Vmstat 3 2 "/tmp/msg

Cat /tmp/msg |sed 1,3d | awk '{print $ 1, $ 7, $ 8, $ 13, $ 14, $ 15. $ 16)) 'read RUNQUE_WAITS PAGE_IN PAGE_OUT USER_CPU SYSTEM_CPU IDLE_CPU WAIT_CPU


I would like to turn variable transmission, but if not, may I ask you, how to solve ah

Want to pay 16 different values of the variables : :

-->

After the first awk wrote a paper, then recycled reading texts, we must not finished bars ?:mrgreen sentence :

Var method is used comd | read does not work, because in the sub shell Lane Reading.
You may change to a function :
[code]
Getvar () (
Var1=$1
Var2=$2
}
Getvar ($ cmd1 | cmd2) [/code]

Specific details, please change your own bar.



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com