Sponsored Content
Top Forums UNIX for Dummies Questions & Answers UNIX Openserver ver 5.0 freeing up space. Post 302836743 by DGPickett on Wednesday 24th of July 2013 03:19:36 PM
Old 07-24-2013
Well, >directory sounds like a shell error:
Code:
$ mkdir dd
$ >dd
ksh[2]: dd: cannot create
$

There are several common strategies for these files and dirs. For log files, daily rotation and compression with deletion of >N days is sensible. For /tmp, finding the flat files and empty sub-directories older than N days, using fuser to see if they are in use, and deleting the unused is safer than a complete zap (which a boot does on many systems). You forgot /var/tmp/, which is a long term public temp space, and as such has to be cleaned more gently, focusing on large files more than old fiels. Sorting files and dirs in reverse order allows you to remove files before their dirs. Note that removing a file updates the parent dir mod time.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Mounting a remote filesystem under SCO Unix ver 5.0.5

Can anyone help me? I have 2 servers on the same LAN, one as a live server and one as a backup server, both running SCO OpenServer Enterprise. I need to mount the /u filesystem of the backup server as a directory on the live server, so that if I use the df -v command I can see it as an additional... (1 Reply)
Discussion started by: darkestafrica
1 Replies

2. IP Networking

Installation Problem in Unix Openserver

I have certain problems while Installing UNIX OPENSERVER.Could anyone solve that if I provide that problem. (3 Replies)
Discussion started by: Rajraius
3 Replies

3. UNIX for Advanced & Expert Users

Sco Unix OpenServer Release 3.0

hi everybody I have got a set of sco unix open server release 3.0 flopyy disks series N1, N2, M1, P1...P43, Release notes.. ý did a fresh installation. but ý cant install ethernet card. when ý use netconfig-ad a chain -tcpip... there is a messge : the sco contain TCP/IP driver. and ý... (2 Replies)
Discussion started by: kaygusuz
2 Replies

4. UNIX for Advanced & Expert Users

X25 on Tru UNIX ver 5

How do i set up X25 protocol on version 5 of Tru Unix (Compaq). I have manged to do it using version 4. What are the major differences.:confused: (1 Reply)
Discussion started by: samudimu
1 Replies

5. UNIX for Advanced & Expert Users

Unix Openserver 5.0

I'm compiling an application using gcc 2.95.2 and I have strong suspicions that this compiler has a bug that produces my app to abort with a coredump. So I would like to upgrade my compiler but I still couldn't find any other version of the gcc compiler that runs on my Unix Openserver 5.0. Do... (0 Replies)
Discussion started by: Edus001
0 Replies

6. Programming

C - Freeing resources

I was wondering what is the function in C to free a resource(usually a variable) I know in C# there a Garbage collector, but in c and C++ there are none. I believe in c++ the function is free(); (8 Replies)
Discussion started by: james2432
8 Replies

7. SCO

Subverison in Sco unix openserver 5.0.7

Hi everybody I'm going to install svn client in sco unix openserver 5.0.7 where should I start ? I have no Idea what to do ? tnx (3 Replies)
Discussion started by: javad1_maroofi
3 Replies

8. SCO

ESATA on SCO UNIX OpenServer 5.0.7

Has anyone here used eSATA drives on SCO UNIX OpenServer 5.0.7? SCSI host adapters and drives are getting harder to find, so I'm thinking about eventually switching to eSATA, but only, of course, if they will work with OpenServer. (2 Replies)
Discussion started by: Transpower
2 Replies

9. SCO

USB Printing for SCO UNIX OpenServer 5.0.7

Years ago I set up USB printing for SCO UNIX OpenServer 5.0.7 for a client--but I've misplaced my notes on how to do this! Maintenance Pack 5 is installed. I need step-by-step instructions to proceed. I've searched the SCO Knowledge Base site and found nothing there or elsewhere on the Web. (3 Replies)
Discussion started by: Transpower
3 Replies

10. SCO

Any Other Browser for SCO UNIX OpenServer?

Obviously, the client browsers which came with SCO UNIX OpenServer, Netscape and Mozilla, are horribly outdated now. Does anyone know of a relatively current browser which will work in their place? (2 Replies)
Discussion started by: Transpower
2 Replies
SA(8)							      System Manager's Manual							     SA(8)

NAME
sa, accton - system accounting SYNOPSIS
sa [ -abcdDfijkKlnrstu ] [ -v threshold ] [ -S savacctfile ] [ -U usracctfile ] [ file ] accton [ file ] DESCRIPTION
With an argument naming an existing file, accton causes system accounting information for every process executed to be placed at the end of the file. If no argument is given, accounting is turned off. Sa reports on, cleans up, and generally maintains accounting files. Sa is able to condense the information in /usr/adm/acct into a summary file /usr/adm/savacct which contains a count of the number of times each command was called and the time resources consumed. This condensation is desirable because on a large system /usr/adm/acct can grow by 100 blocks per day. The summary file is normally read before the accounting file, so the reports include all available information. If a file name is given as the last argument, that file will be treated as the accounting file; /usr/adm/acct is the default. Output fields are labeled: "cpu" for the sum of user+system time (in minutes), "re" for real time (also in minutes), "k" for cpu-time aver- aged core usage (in 1k units), "avio" for average number of i/o operations per execution. With options fields labeled "tio" for total i/o operations, "k*sec" for cpu storage integral (kilo-core seconds), "u" and "s" for user and system cpu time alone (both in minutes) will sometimes appear. There are near a googol of options: a Print all command names, even those containing unprintable characters and those used only once. By default, those are placed under the name `***other.' b Sort output by sum of user and system time divided by number of calls. Default sort is by sum of user and system times. c Besides total user, system, and real time for each command print percentage of total time over all commands. d Sort by average number of disk i/o operations. D Print and sort by total number of disk i/o operations. f Force no interactive threshold compression with -v flag. i Don't read in summary file. j Instead of total minutes time for each category, give seconds per call. k Sort by cpu-time average memory usage. K Print and sort by cpu-storage integral. l Separate system and user time; normally they are combined. m Print number of processes and number of CPU minutes for each user. n Sort by number of calls. r Reverse order of sort. s Merge accounting file into summary file /usr/adm/savacct when done. t For each command report ratio of real time to the sum of user and system times. u Superseding all other flags, print for each command in the accounting file the user ID and command name. v Followed by a number n, types the name of each command used n times or fewer. Await a reply from the terminal; if it begins with `y', add the command to the category `**junk**.' This is used to strip out garbage. S The following filename is used as the command summary file instead of /usr/adm/savacct. U The following filename is used instead of /usr/adm/usracct to accumulate the per-user statistics printed by the -m option. FILES
/usr/adm/acct raw accounting /usr/adm/savacct summary /usr/adm/usracct per-user summary SEE ALSO
ac(8), acct(2) BUGS
The number of options to this program is absurd. 4th Berkeley Distribution November 16, 1996 SA(8)
All times are GMT -4. The time now is 04:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy