Hi,
I generated the data below from one of our network devices. Basically it's just an indication of how long a port is in it's current state.
160
0:00:19.75
The whole number "160" indicates the number of days and the "0:00:19.75" indicates H:MM:SS
Is there a one-liner awk that can convert this 0:00:19.75 to 1? This is to round it off to 1 day to allow subtraction process in later part of the script.
Any help will be appreciated.
Cheers!
I generated the data below from one of our network devices. Basically it's just an indication of how long a port is in it's current state.
160
0:00:19.75
The whole number "160" indicates the number of days and the "0:00:19.75" indicates H:MM:SS
Is there a one-liner awk that can convert this 0:00:19.75 to 1? This is to round it off to 1 day to allow subtraction process in later part of the script.
Any help will be appreciated.
Cheers!