1834742 Members
2758 Online
110070 Solutions
New Discussion

log file is growing fast

 
SOLVED
Go to solution
N_M
Occasional Advisor

log file is growing fast

Hi Experts,

/var/adm/wtmps is growing very fast. I just want to see which process/application is responsible for this
6 REPLIES 6
SKR_1
Trusted Contributor

Re: log file is growing fast

This file keeps the details of good login attempts of all the users. You can trim this file after taking the backup if you need.

Thanks

SKR
N_M
Occasional Advisor

Re: log file is growing fast

The file is growing at the rate of about 50KB/sec. There is no user who is trying to login.
N_M
Occasional Advisor

Re: log file is growing fast

typo error in last reply. it is 50KB/min
TTr
Honored Contributor
Solution

Re: log file is growing fast

Type the command
/usr/sbin/acct/fwtmp -X < /var/adm/wtmps |more
You will see all the records in the wtmps database. The output is very wide so use a wide screen login window.
Dennis Handly
Acclaimed Contributor

Re: log file is growing fast

>There is no user who is trying to login.

Try using the last(1) command to see that the OS thinks about your statement. It should only grow if there are lots of logons and off. Possibly for ftp/rcp/remsh transfers
N_M
Occasional Advisor

Re: log file is growing fast

Thank you everyone !!