uptime

Thomas Kaiser ubuntu at kaiser-linux.li
Sun Jul 25 15:01:12 UTC 2010


On 07/25/2010 04:47 PM, Kaushal Shriyan wrote:
> On Sun, Jul 25, 2010 at 8:15 PM, Jordon Bedwell<jordon at envygeeks.com>  wrote:
>> On 7/25/10 9:42 AM, Kaushal Shriyan wrote:
>>> Hi,
>>>
>>> is there a way to know what time is the system is up and running in hrs:mm:secs
>>>
>>> Thanks
>>>
>>> Kaushal
>>>
>>
>> Your title says it all. "uptime" is the command.
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>
> Hi,
>
> I wanted to know it in hrs:mm:secs
>
> Kaushal
>

cat /proc/uptime

read this:
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/en-US/Reference_Guide/s2-proc-uptime.html

and do some calculation...

Thomas







More information about the ubuntu-users mailing list