pwede ba, you boot ur CMOS to date lets say 1981 then once na nasa linux ka na, u change the time then from linux write mo sa cmos?
haven't tried, curious lang. On Thu, 18 Nov 2004 15:24:29 +0800, fooler <[EMAIL PROTECTED]> wrote: > ----- Original Message ----- > > > From: "Mark Quitoriano" <[EMAIL PROTECTED]> > To: "Philippine Linux Users Group Mailing List" <[EMAIL PROTECTED]> > Sent: Thursday, November 18, 2004 12:30 PM > Subject: [plug] linux uptime > > > how can i change the uptime in linux? > > why do you want to change it? > > > i know there's a cheat that you > > can put 500 days uptime in linux? > > in linux: > > uptime = jiffies / HZ > > where jiffies is an unsigned 32 bit variable and HZ (hertz) default value is > 100... > > the maximum days for uptime is: > > uptime = (2^32 / 100) / 86400 seconds per day = 497.1027 days > > in order for you to reach greater than 500 days uptime.. you either: > > 1. change jiffies type from unsigned 32 bit to unsigned 64 bit or > 2. change the HZ lower than 99.42 ( 2^32 / (500 * 86400) ) > > by default, you cant manipulate the uptime value of linux unless otherwise > you hack your kernel to support it... > > fooler. > > > > > -- > Philippine Linux Users' Group (PLUG) Mailing List > [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) > Official Website: http://plug.linux.org.ph > Searchable Archives: http://marc.free.net.ph > . > To leave, go to http://lists.q-linux.com/mailman/listinfo/plug > . > Are you a Linux newbie? To join the newbie list, go to > http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie > -- Louie Miranda http://www.axishift.com -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
