Search Results

Search: Posts Made By: dreamgirl314
3,241
Posted By ctsgnb
With the same example file as above : $ awk...
With the same example file as above :

$ awk -F: '{++x;s+=$NF;print $NF}END{print "average=" s/x}' logfile
0.265
0.857
0.376
average=0.499333


---------- Post updated at 02:47 PM ----------...
3,241
Posted By ctsgnb
awk -F: '{print $NF}' logfile
awk -F: '{print $NF}' logfile
8,714
Posted By kumaran_5555
You have to identify a condition to make sure...
You have to identify a condition to make sure that process.sh has completed its function. Once that is done, you can star the process.sh in background using & at the end instead of just executing it....
Showing results 1 to 3 of 3

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