vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| In SCO OSR5, fwtmp can dump the contents of /etc/utmp and /etc/wtmp to human readable formats, but what about /etc/utmpx and /etc/wtmpx? I've been looking for a way to get the data from these files, but fwtmp can parse them cleanly. Anyone know what to use? TIA, Edward Hooper Princess Cruises IT Department Shipboard Systems Group |
| |||
| ----- Original Message ----- From: "Edward Hooper" <ehooper@princesscruises.com> Newsgroups: comp.unix.sco.misc To: <distro@jpr.com> Sent: Wednesday, April 13, 2005 3:00 PM Subject: SCO OSR5 /etc/utmpx and /etc/wtmpx > In SCO OSR5, fwtmp can dump the contents of /etc/utmp and /etc/wtmp to > human readable formats, but what about /etc/utmpx and /etc/wtmpx? I've > been looking for a way to get the data from these files, but fwtmp can > parse them cleanly. > > Anyone know what to use? > > TIA, > > Edward Hooper > Princess Cruises > IT Department > Shipboard Systems Group ftp://ftp.armory.com./pub/scobins/cwtmp It's main job is to clean out wtmp of bad entries, but it can read the x files and it has options for both human readable output and dry run. wget it into PATH and chmod 755, then cwtmp -h |less -- Brian K. White -- brian@aljex.com -- http://www.aljex.com/bkw/ +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani |
| |||
| Brian, cwtmp almost does what I want. I'm looking for something that can process all four file types and output in human readable format. It looks like cwtmp can only process utmp and utmpx if the user wants to bash the files afterwords, and can't do this and output in human readable format. Anyone have a suggestion? TIA, Edward Hooper |
| ||||
| In article <1115410069.622219.215940@z14g2000cwz.googlegroups .com>, Edward Hooper <ehooper@princesscruises.com> wrote: >Brian, > >cwtmp almost does what I want. I'm looking for something that can >process all four file types and output in human readable format. It >looks like cwtmp can only process utmp and utmpx if the user wants to >bash the files afterwords, and can't do this and output in human >readable format. By defualt, cwtmp doesn't modify the input files. -r and -R produce human-readable output. I've just added (hopefully reasonably reliable) utmp/utmpx file type autodetection. John -- John DuBois spcecdt@armory.com KC6QKZ/AE http://www.armory.com/~spcecdt/ |