I need to get the number of seconds since the last reboot, using ksh.What is the command or function to achieve this?
Time in seconds since boot on AIX
aix;uptime
For Ubuntu, Redhat, Suse, we can have this file. Not much sure about AIX, thoughSee the output of:cat /proc/uptimeIf this is not available on AIX, then try to execute command uptime