10-23-2005
I've tried stuff like that, but too often I go back and do the du again because I didn't see enough. My way, when I go back to the window I am probably looking at what I want to see. If not, I just scroll down. A "du -sk" is an expensive operation and I don't think it's wise to discard most of the data. We have some very large file systems. A "du -sk *" can take 10 minutes. No record, I know. But I'm bummed out if I need to repeat it. I also frequently have users breathing down my neck demanding immediate free space..
Of course, if I was getting paid by the hour, that would be whole 'nother stretch of road.
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 REDHAT
xdbeswapbuffers
XdbeSwapBuffers(3X11) X FUNCTIONS XdbeSwapBuffers(3X11)
NAME
XdbeSwapBuffers - swaps front and back DBE buffers.
SYNOPSIS
#include <X11/extensions/Xdbe.h>
Status XdbeSwapBuffers(
Display *dpy,
XdbeSwapInfo *swap_info,
int num_windows)
DESCRIPTION
This function swaps the front and back buffers for a list of windows. The argument num_windows specifies how many windows are to have
their buffers swapped; it is the number of elements in the swap_info array. The argument swap_info specifies the information needed per
window to do the swap.
The XdbeSwapInfo structure has the following fields:
Window swap_window
XdbeSwapAction swap_action
swap_window specifies the window for which to swap buffers. swap_action specifies the swap action to use for this swap_window.
swap_action determines what will happen to the new back buffer of the swap_window it is paired with in the list in addition to making the
old back buffer become visible. The defined actions are as follows:
XdbeUndefined
The contents of the new back buffer become undefined. This may be the most efficient action since it allows the implementation to
discard the contents of the buffer if it needs to.
XdbeBackground
The unobscured region of the new back buffer will be tiled with the window background. The background action allows devices to use
a fast clear capability during a swap.
XdbeUntouched
The unobscured region of the new back buffer will be unmodified by the swap.
XdbeCopied
The unobscured region of the new back buffer will be the contents of the old back buffer
ERRORS
BadMatch
A non-double-buffered window was specififed or a window was specified twice.
BadWindow
An invalid window was specified.
BadValue
An invalid swap action was specified.
SEE ALSO
DBE, XdbeAllocateBackBufferName(), XdbeBeginIdiom(), XdbeDeallocateBackBufferName(), XdbeEndIdiom(), XdbeFreeVisualInfo(), XdbeGetBack-
BufferAttributes(), XdbeGetVisualInfo(), XdbeQueryExtension().
X Version 11 Release 6.6 XdbeSwapBuffers(3X11)