Sponsored Content
Full Discussion: newbie problem please help
Top Forums UNIX for Dummies Questions & Answers newbie problem please help Post 1276 by Neo on Tuesday 20th of February 2001 10:02:40 PM
Old 02-20-2001
You can also cd into individual directories and do this:

Code:
du -sb *

This will do a summary (in bytes) of each subdirectory. Then,you can cd into the big ones and do the same thing until you find the disk hogs.

Often they are log files, often they are datafiles. Logfiles can be pruned or archived-pruned. Important datafiles are usually moved to a bigger partition (same or other disk, YMMV) and a symbolic link from the new location to the old. After building the workaround, you can then develop a longer-term strategy to reorganize you filesystem.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Urgent UNIX problem for newbie!

I think someone hacked my UNIX account and I cannot get back into MY OWN account!!!!!! :( I was wondering if any of the experts here would be able to help me either get back into my account or change my password back to what it was or find out what it is now so I can get back in and change it. ... (2 Replies)
Discussion started by: speedemn
2 Replies

2. Solaris

PerfMeter problem(a newbie one)

Hi, I'm new to Solaris, and I'm using an Old ULTRA-5, with Solaris 8, all the instalation went just fine, after a lot of trouble I was finally able to change the hostname, usign DHCP, and now, I have another problem. I was removing the packages I didn't wanted, and I think I accidently removed... (2 Replies)
Discussion started by: Zarnick
2 Replies

3. UNIX for Dummies Questions & Answers

newbie problem with enviroment

Hi I've written a a script on box A that ssh's into box B and runs another script. If I run the script on box B it works. However when I run my ssh script (public key setup so no passwd required) it fails with "The WSB_HOME environment variable is not defined". Checked wapuser1 .profile on box B... (1 Reply)
Discussion started by: alien12
1 Replies

4. Shell Programming and Scripting

newbie problem

hi, I want to clarify this matter for a long time so here I come, I seen people use if ] or if or if (( some condition )) exactly what are the difference? Thanks! (2 Replies)
Discussion started by: mpang_
2 Replies

5. Programming

newbie problem

Im new to gcc, vim etc... and I've been trying a simple hello world program and every time I try to compile any C program I get the following error message test.c :1:19: error: stdio.h: No such file or directory test.c : In function 'main': test.c :5: warning: incompatible implicit... (5 Replies)
Discussion started by: blowFish@ubuntu
5 Replies

6. HP-UX

Newbie: HP-UX installation problem

I recently bought myself a HP Visualize c3750 specifically to try out HP-UX (which I have never really used), I got it with a CD set of HP-UX 11 that I boot the machine from to install. I have no gfx adapter in the machine so I run an IBM InfoWindow II 3153 serial terminal attached to serial 1.... (4 Replies)
Discussion started by: dlundh
4 Replies

7. UNIX for Dummies Questions & Answers

join -t problem (newbie)

Been tearing my hair out trying to work out how to make the -t option in the join command work. Joining two files on col 1; columns in both files are separated by tabs. file1: 2010/02/01-00:00 10.63 2010/02/01-00:06 10.63 2010/02/01-00:12 10.61 2010/02/01-00:18 10.58 (there are LOTS... (4 Replies)
Discussion started by: lobsterman
4 Replies

8. Shell Programming and Scripting

Shell scripting newbie problem

I am trying to create a shell script similar to ls, but which only lists directories. I have the first half working (no argument version), but trying to make it accept an argument, I am failing. My logic is sound I think, but I'm missing something on the syntax, I'm guessing in the bolded line? ... (9 Replies)
Discussion started by: Tibor63
9 Replies

9. Shell Programming and Scripting

simple problem for a newbie

I am trying to find a way to display just sudoers, passwd and shadow files without the extensions.. Thank you for any suggestions ls -lrt /etc | egrep 'sudoers|passwd|group|shadow' -r-------- 1 root root 1338 Oct 31 2006 shadow.sav -r-------- 1 root root 5191... (4 Replies)
Discussion started by: delphys
4 Replies

10. Shell Programming and Scripting

Newbie problem

Hi. I'm new to shell script and i have a problem My code ssh $i df -h|grep -ve Use | awk '{ if ( substr( $5, 1, length($5) - 1) > 80 ) echo -n "-----\n"$5" "$6 ; else echo -n "------\nOK!" }' | sort -uThe problem is : for example, if the %Use is ( 78;81 ), the scripts will print both "78"... (3 Replies)
Discussion started by: bobochacha29
3 Replies
fixup_datafile(3alleg4) 					  Allegro manual					   fixup_datafile(3alleg4)

NAME
fixup_datafile - Fixes truecolor images in compiled datafiles. Allegro game programming library. SYNOPSIS
#include <allegro.h> void fixup_datafile(DATAFILE *data); DESCRIPTION
If you are using compiled datafiles (produced by the dat2s and dat2c utilities) on a platform that doesn't support constructors (currently any non GCC-based platform), or if the datafiles contain truecolor images, you must call this function once after your set the video mode that you will be using. This will ensure the datafiles are properly initialised in the first case and convert the color values into the appropriate format in the second case. It handles flipping between RGB and BGR formats, and converting between different color depths when- ever that can be done without changing the size of the image (ie. changing 15<->16-bit hicolor for both bitmaps and RLE sprites, and 24<->32-bit truecolor for RLE sprites). Note that you can only call this once and expect it to work correctly, because after the call the DATAFILE you fixed up is permanently con- verted to whatever is the current component ordering for your screen mode. If you call fixup_datafile again, the function assumes you have a freshly loaded datafile. It cannot "undo" the previous conversion. If your program supports changing resolution and/or color depth during runtime, you have two choices: either call fixup_datafile() just once and hope that the component ordering and bit depth doesn't change when the screen mode changes (unlikely). Or, you can reload your datafiles when the screen mode changes. SEE ALSO
set_gfx_mode(3alleg4), set_color_conversion(3alleg4) Allegro version 4.4.2 fixup_datafile(3alleg4)
All times are GMT -4. The time now is 10:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy