02-08-2008
There are several threads about this going back to June 2007.
Delete all the files in /tmp
Check the size of the following log files and truncate them using:
#cat >file
<ctrl>d
#
/usr/spool/lp/logs/*
/usr/adm/messages
/etc/wtmp
/etc/utmp
When you have enough free space to get the machine running again, run the following:
#du -a |sort -r -n >/tmp/filelist
filelist will contain a list of all the files on the system in descending order by size, including directories.
PS. A couple of years ago SCO had a contest for the longest running system.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Randomly receive the following message:
"Can not open line tty1a device busy error 16"
and
"/etc/getty/t60 tty1a"
What is causing this error message ? (1 Reply)
Discussion started by: jbartok
1 Replies
2. Filesystems, Disks and Memory
hi,
I have a SCO unix server which has a 36gb hard drive, but the IT company who supplied it assigned 1gb to /dev/root, 15mb to /dev/boot and 33gb to /dev/u.
The /dev/root partition is now full, is there a way I can use the 33gb assigned to /dev/u without loosing any data, preferably... (2 Replies)
Discussion started by: Martyn
2 Replies
3. SCO
Good Evening to all,
I am having a problem with our unix server, I give you a little history.
last we the logins started getting slower and slower, when we tried to print nothing came out on the network printer, the system had an error ("printer file close error unit=0). Checking... (3 Replies)
Discussion started by: berkmillionare
3 Replies
4. UNIX for Advanced & Expert Users
If somebody solve this error please help me!
Thanks in advance! :confused: (7 Replies)
Discussion started by: FCollet
7 Replies
5. SCO
No one is able to log in. What can I try? Help!:( (1 Reply)
Discussion started by: ibqti
1 Replies
6. SCO
Unix SCO 5.5
Insuficient space on /dev - when I run df I get /dev 99% usage.
I have a large number of users (most of them are not with the company since Cretacic) and I want to delete them to make more space.
When I run rmuser I get rmuser: not found
if I type
su root
rmuser
rmuser: The... (6 Replies)
Discussion started by: tzveistein
6 Replies
7. Programming
Hi all,
I'm trying to develop a aplication in c to get the arp table from a router, i know the OID and using a snmpwalk (shell command) i can get it.
When i tried to code i saw an example but it was with pdu type SNMP_MSG_GET, but it gives an error (no such oid).
i found (with trace) that... (1 Reply)
Discussion started by: blast
1 Replies
8. AIX
A check disk space and find /dev/hd4 used 99%. How to increase space. Thank you for advice.
/home/tecsys > df
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 1048576 20624 99% 5977 68% /
/dev/hd2 6815744 653032 91% 59194 ... (4 Replies)
Discussion started by: yapcs88
4 Replies
LEARN ABOUT OSF1
wtmpconvert
wtmpconvert(8) System Manager's Manual wtmpconvert(8)
NAME
wtmpconvert - Modify connect time accounting records from DIGITAL UNIX releases 4.0x and prior to new format
SYNOPSIS
/usr/lbin/wtmpconvert [-vnrp?h] input_file [output_file]
OPTIONS
Restore new format to old format. Verbose. Display lines while converting. Do not preserve contents of input file. Formatted print only.
Do not convert. (May be used with the -r option). Display usage message.
DESCRIPTION
The wtmpconvert command reads records from a connect time accounting file, such as /var/adm/wtmp, and converts the record format to the
updated struct utmp format. If no output file is specified or if the output file path is identical to the input file path, wtmpconvert
makes a backup copy of the original input file using the following algorithm: If filename.orig exists. Where n is a unique number.
The wtmpconvert command attempts to detect an input file that is in the wrong format (for example, input file is already a new format
file). A warning message is issued in this case, but conversion continues.
EXIT STATUS
Success. An error occurred.
EXAMPLES
To convert an old format accounting file to the new format: wtmpconvert /var/adm/wtmp.prev
Upon completion of this command, /var/adm/wtmp.prev will have been converted to the new format. The original /var/adm/wtmp.prev is
renamed to /var/adm/wtmp.prev.orig. To convert a wtmp file in new format to the old format: wtmpconvert -r /var/adm/wtmp
/var/adm/wtmp.old
FILES
Accounting header files that define the format for the login database file. The active login/logoff database files.
SEE ALSO
Commands: acct(8), acctcon(8), acctmerg(8), date(1), runacct(8)
Functions: getutent(3)
Files: utmp(4), wtmp(4)
wtmpconvert(8)