Hi, Thank you for the tips although if somebody could still give me more inputs about this I would appreciate it very much.
My initial plan is to make a C program that will run the "last" command and get the number of hours of the currently logged users. Since the users can log in/out in a day and log in/out again in another day, the hours/minutes of usage will be accumulated thus I need to create a "database" for it. I guess this is not a big project, only that I have little idea on where to begin. Thank you very much. --- hulasa <[EMAIL PROTECTED]> wrote: > --- In [email protected], Robert C > Wittig > <[EMAIL PROTECTED]> wrote: > > > > Felix T. Gomez, Jr. wrote: > > > Hi, > > > > > > Is there a way I could get the login time of a > certain > > > user and the logout time then get the elapsed > time? > > > > > > > Check out: > > > > man last > > > > > > -- > > -wittig http://www.robertwittig.com/ > > http://robertwittig.net/ > > http://robertwittig.org/ > > . > > > > to learn login time try "uptime" command. > > > ____________________________________________________________________________________ Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. http://tv.yahoo.com/collections/222 To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be removed. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/LINUX_Newbies/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/LINUX_Newbies/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
