I need to get idle time of all users in seconds (not minutes or days), how do i go about doing it ? This command lists the idle times of all connected users : w | awk '{if (NR!=1) {print $1,$5 }}'OUTPUT:USER IDLEroot 4:29mroot 105daysroot 2daysroot 10:49mroot 7.00sroot 4:27mHow do i make it convert days and minutes into seconds ? 
Linux 'w' command, get IDLE time in seconds
linux;bash