Jump to content

Cool new(?) utility: uptimed


Steve Scrimpshire
 Share

Recommended Posts

I just found this utility on the mirrors (using Cooker...don't know if it is in 9.2):

[root@localhost omar]# urpmi uptimed
To satisfy dependencies, the following packages are going to be installed (0 MB):
libuptimed0-0.3.1-2mdk.i586
uptimed-0.3.1-2mdk.i586
Is this OK? (Y/n) 

   ftp://ftp.belnet.be/packages/mandrake-devel/cooker/cooker/Mandrake/RPMS2/uptimed-0.3.1-2mdk.i586.rpm
   ftp://ftp.belnet.be/packages/mandrake-devel/cooker/cooker/Mandrake/RPMS2/libuptimed0-0.3.1-2mdk.i586.rpm
installing /var/cache/urpmi/rpms/uptimed-0.3.1-2mdk.i586.rpm /var/cache/urpmi/rpms/libuptimed0-0.3.1-2mdk.i586.rpm
Preparing...                ##################################################
  1:libuptimed0            ##################################################
  2:uptimed                ##################################################

 

The very first time you run it, you need to run it with the -b option to create the first boot record:

 

uptimed -b

 

The rpm should install the init scripts required to run it at each successive boot after that. Here's an example of the output:

[root@omarserenity omar]# uprecords
    #               Uptime | System                                   Boot up 
----------------------------+-------------------------------------------------
    1    12 days, 17:39:30 | Linux 2.4.22-10mdk-i68  Thu Jan  8 22:12:13 2004
    2     3 days, 00:15:07 | Linux 2.4.22-10mdk-i68  Wed Jan 21 15:53:37 2004
->  3     2 days, 23:53:05 | Linux 2.4.22-10mdk-i68  Sat Jan 24 22:53:31 2004
    4     0 days, 06:43:09 | Linux 2.4.22-10mdk-i68  Sat Jan 24 16:09:33 2004
----------------------------+-------------------------------------------------
1up in     0 days, 00:22:03 | at                      Tue Jan 27 23:08:38 2004
no1 in     9 days, 17:46:26 | at                      Fri Feb  6 16:33:01 2004

Edited by Steve Scrimpshire
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...