The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
how to calculate busy hour
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
how to calculate busy hour
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
01-28-2008
manas_ranjan
Registered User
Join Date: Jul 2007
Location: Amsterdam
Posts: 177
Please try this out..........
cat <<filename>> | sort -nr -t',' -k2 | head -1 | awk 'END{ print $1" :- is BUSY Hour"}'
Last edited by manas_ranjan; 01-28-2008 at
05:53 AM
.. Reason: replace field separator from : to ,
manas_ranjan
View Public Profile
Find all posts by manas_ranjan
Find manas_ranjan's past nominations received
Find manas_ranjan's present nominations given