The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
unix file size becomes zero ananthmm Filesystems, Disks and Memory 1 10-01-2006 08:12 AM
file size problem using Apache 1.3.12 on Solris 8 Gibby9 Filesystems, Disks and Memory 1 03-31-2006 10:15 AM
ftp UnixWare File Size Problem Niraj Gopal Sha Shell Programming and Scripting 1 06-18-2005 04:29 AM
Unix file size - HP-UX krishna7 HP-UX 2 07-18-2003 08:58 AM
file sysstem size problem Prafulla UNIX for Dummies Questions & Answers 6 11-15-2001 11:46 PM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-29-2001
Registered User
 

Join Date: Nov 2001
Posts: 3
Hp Unix file size problem

We have two files /var/adm/wtmp and /var/opt/OV/tmp/OpC/guiagtdf

Could you please tell me if what these files are and if I can purge them as they are very big and Vi will not let me look at them, it gives me a message 'file to long'.

Help any ideas

Thanks

Forum Sponsor
  #2 (permalink)  
Old 11-29-2001
Registered User
 

Join Date: Nov 2001
Location: Hull - UK
Posts: 5
Quick response - look at the man page for wtmp.

I had the same issue recently on 10.20.

File utmp contains a record of all users logged onto the system. File
btmp contains bad login entries for each invalid logon attempt. File
wtmp contains a record of all logins and logouts.

Note that wtmp and btmp tend to grow without bound, and should be
checked regularly. Information that is no longer useful should be
removed periodically to prevent it from becoming too large. Also note
that wtmp and btmp are not created by the programs that maintain them.
Thus, if these files are removed, record-keeping is turned off.
  #3 (permalink)  
Old 11-29-2001
Registered User
 

Join Date: Nov 2001
Posts: 3
Hi

thanks for the reply
If I delete the file or move the file, if I turn record-keeping back on will it recreate the file?

Amanda
  #4 (permalink)  
Old 11-29-2001
Registered User
 

Join Date: Nov 2001
Location: Hull - UK
Posts: 5
Amanda

I would remove this file if it is no longer necessary and simply 'touch' a new one with the same parms & perms.

touch /var/adm/wtmp

Hope this helps
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:38 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0