10-23-2005
Quote:
Originally Posted by Perderabo
What I like to do is cd to the top directory in the filesystem that is too full. And then I do:
du -sk * | sort -n
The last few lines are the most interesting. It is not a tree, but a tree would be too much info.
How about using:
du -sk * | sort -nr | head -10
Then the first few lines will be the most interesting --GRIN--
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
in unix when i use top
i get an output like this:
load averages: 0.64, 0.57, 0.53 14:04:42
347 processes: 1 running, 1 waiting, 169 sleeping, 172 idle, 4 stopped
CPU states: 16.4% user, 2.8% nice, 7.6%... (2 Replies)
Discussion started by: gfhgfnhhn
2 Replies
2. Shell Programming and Scripting
Hi,
Please let me know how do we write a piece of code to find the disk usage in UNIX (3 Replies)
Discussion started by: Shilpi
3 Replies
3. AIX
hi,
AIX 5.3
For any command(say tar command) I am getting 100% busy for my hdisk.
But my CPU and Memory is not busy and have more idle also.
Please advice for any performance analysing.
Thanks in Advance, (3 Replies)
Discussion started by: npcrao
3 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
Please help me out
1) Command to find the disk usage in GB. I know that du -k will give in kilobites.
2) How to find the Biggest file/folder in a given set of files/folders.
Thanks in advance
Regards,
Manas (8 Replies)
Discussion started by: manas6
8 Replies
5. Solaris
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies
6. Shell Programming and Scripting
Hi,
I need a command that gives me the user who is using more space in the unix box (1 Reply)
Discussion started by: abinaya
1 Replies
7. Shell Programming and Scripting
Tested on : bash
Will be implementing on : ksh
I dont know if this is weird , or my idea of Unix stdin or stdout is completely messed up , but if I use the following command, I am getting a proper output.
ls -l | head -1 | while read a ; do echo $a ;done
and the output is soemthing like... (5 Replies)
Discussion started by: kumarjt
5 Replies
8. Shell Programming and Scripting
Given this directory /web
I need to get the current usage (in %) on Linux and Unix both using the same command on bash shell ?
The command i tried was working on Unix (solaris) but does not filter the desired same value when run of Linux.
My command df -h /web | awk '{print $5}' | sed -n... (5 Replies)
Discussion started by: mohtashims
5 Replies
9. UNIX for Beginners Questions & Answers
HI Team,
I am trying to create a shell script to generate a yesterday and today report to compare and email in daily basis. can you please help me on the same.
#!/bin/bash
#Author: *******************
#Description: This script will return the following set of system information:
... (2 Replies)
Discussion started by: Mi4304
2 Replies
10. UNIX for Beginners Questions & Answers
HI I am Trying to edit the below code to send email every day with difference of disk utilized in for last 24 hours but instead getting same usage everyday. can you please help me to point out where my calculation is going wrong. Thank you.
=================
#!/bin/bash
TODAY="at $(date... (0 Replies)
Discussion started by: Mi4304
0 Replies
LEARN ABOUT DEBIAN
uml_mkcow
UML_MKCOW(1) General Commands Manual UML_MKCOW(1)
NAME
uml_mkcow -- create a new COW file
SYNOPSIS
uml_mkcow [-f] [COW_file] [backing_file]
DESCRIPTION
This manual page documents briefly the uml_mkcow command.
This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, it
has documentation in HTML format; see below.
uml_mkcow is a small utility to create COW (Copy-On-Write) files without the need to run the full UML kernel.
NOTE: you can save a lot of disk space using COW files. When checking the size of the COW file in order to see the gobs of space that
you're saving, make sure you use 'ls -ls' to see the actual disk consumption rather than the length of the file. The COW file is sparse, so
the length will be very different from the disk usage.
OPTIONS
-f Force overwrite of an exsiting COW file.
EXAMPLES
Create a new COW file:
uml_mkcow rootfs_COW rootfs
Overwrite (destroying) an existing COW file:
uml_mkcow -f rootfs_COW rootfs
SEE ALSO
The UserModeLinux-HOWTO (link to URL http://user-mode-linux.sourceforge.net/UserModeLinux-HOWTO.html)
AUTHOR
uml_mkcow was written by Steve Schnepp.
This manual page was written by Mattia Dongili malattia@debian.org for the Debian GNU/Linux system, based on material in the UserModeLinux-
HOWTO by Rusty Russell.
UML_MKCOW(1)