All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
How to disable wtmpx to prevent it from growing?
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login |
|
|
How to disable wtmpx to prevent it from growing? - Sep. 27, '04, 2:56:32 PM
|
|
|
nguyeko
Posts: 3
Joined: Sep. 27, '04,
Status: offline
|
Hi There,
I installed SFu 3.0 on Win2K server. After a few months, C: drive is almost out-of-diskspace. It turned out C:\SFU\var\adm\wtmpx is growing significantly. Is there anyway to set it to roll over at certain size better yet just disable it? Please help. I searched every shere for an answer without any luck. Thanks.
Korry-
_____________________________
Korry Nguyen
|
|
|
RE: How to disable wtmpx to prevent it from growing? - Sep. 28, '04, 10:39:24 PM
|
|
|
markfunk
Posts: 669
Joined: Mar. 31, '03,
Status: offline
|
There's a program called /bin/mvwtmpx which you can use to rename the wtmpx file and a new (empty) one will be created in its place.
Then you can delete the old one (using /bin/rm).
To automate this, you do the same thing that is done on most UNIX systems: you (in your role as system administator), write a script to perform these commands and then schedule the script to run periodically using crontab.
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|