07-26-2009
Can we get a "df -h" or "df -k" to go along with the du ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a script which includes an FTP. The filename is too long for my target area. The filename is HD012_ABCD_EFGH_061004_F_300_40. I need to the filename to be HD012_ABCD_EFGH_061004_F_. Any ideas. (5 Replies)
Discussion started by: paul1s
5 Replies
2. Solaris
Hi frnz,
Need an urgent help...
I have installed solaris 8 in a sunblade workstation with 136GB hdd.
While installation it has taken a default filesystem size as 1.37GB for root.
AFtr completing the installation i have extended the root partition to 130GB.
But still df output shows... (4 Replies)
Discussion started by: sriram.s
4 Replies
3. Programming
Hi,
Could any one tell me how to reduce the size of an executable file of C under
Unix.
thanks (2 Replies)
Discussion started by: useless79
2 Replies
4. Solaris
Dear all,
I am very new to solaris,
I have installed solaris 10,
i tried installing few softwares into file system, unfortunately system failed to install stating "No space left on device "
i searched few threads and it says, we have to increase root size. where my root size is... (2 Replies)
Discussion started by: radhnki
2 Replies
5. Solaris
Hi all,
I'm working on Solaris and quite often I receive the alert message of file system at 90%.
I'd like to find which files caused this happens (at least the biggest files) with the following command:
find . -size +10000000c -exec ls -larth {} \;
This looks for every file in every fs... (4 Replies)
Discussion started by: Evan
4 Replies
6. Red Hat
can we increase root size ? (redhat 5.4)
my df -h is
#df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 7.8G 6.8G 621M 92% /
/dev/sda1 2.0G 50M 1.8G 3% /boot
tmpfs 3.8G 0 3.8G 0% /dev/shm
/dev/sdc1 99G ... (3 Replies)
Discussion started by: reply.ravi
3 Replies
7. Red Hat
Hello Admins,
I am running a redhat linux 5 on vmware workstation.
I need to increase or add some more space to my root (/) partition. I don't have any LVM configured..
Please suggest.
# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 3.8G 3.1G ... (4 Replies)
Discussion started by: snchaudhari2
4 Replies
8. Shell Programming and Scripting
Hi,
Here i have to check first record $3 $4 with second record $1 $2 respectively. If match found, then check first record $2 == second record $4 , if it equals , then reduce two records to single record like as desired output.
Input_file
1 1 2 1
2 1 3 1
3 1 4 1
3 1 3 2
desired... (3 Replies)
Discussion started by: vasanth.vadalur
3 Replies
9. Shell Programming and Scripting
Hello,
I am a java programmer but want to try unix for a purpose where I need to reduce a file using its first field.. Here is the sample data:
admin;2;0;;
admission;8;0;;
aman;1;0;;
caroline;0;4;;
cook;0;4;;
cook;2;0;;
far;0;3;;
far;1;5;;
I am explaining the dataset first. There... (5 Replies)
Discussion started by: shekhar2010us
5 Replies
10. UNIX for Beginners Questions & Answers
I have a very large file with millions of entries identified by @M. I am using the following script to "extract" entries based on specific strings/patterns:
#!/bin/bash
if ]
then
file=$1
else
echo "Input_file passed as an argument $1 is NOT found."
exit;
fi
MID=(NULL "string-1"... (10 Replies)
Discussion started by: Xterra
10 Replies
LEARN ABOUT OPENSOLARIS
tk_getvrootgeometry
Tk_GetVRootGeometry(3TK) Tk Library Procedures Tk_GetVRootGeometry(3TK)
__________________________________________________________________________________________________________________________________________________
NAME
Tk_GetVRootGeometry - Get location and size of virtual root for window
SYNOPSIS
#include <tk.h>
Tk_GetVRootGeometry(tkwin, xPtr, yPtr, widthPtr, heightPtr)
ARGUMENTS
Tk_Window tkwin (in) Token for window whose virtual root is to be queried.
int xPtr (out) Points to word in which to store x-offset of virtual root.
int yPtr (out) Points to word in which to store y-offset of virtual root.
int widthPtr (out) Points to word in which to store width of virtual root.
int heightPtr (out) Points to word in which to store height of virtual root.
_________________________________________________________________
DESCRIPTION
TkGetVRootGeometry returns geometry information about the virtual root window associated with tkwin. The ``associated'' virtual root is
the one in which tkwin's nearest top-level ancestor (or tkwin itself if it is a top-level window) has been reparented by the window man-
ager. This window is identified by a __SWM_ROOT or __WM_ROOT property placed on the top-level window by the window manager. If tkwin is
not associated with a virtual root (e.g. because the window manager doesn't use virtual roots) then *xPtr and *yPtr will be set to 0 and
*widthPtr and *heightPtr will be set to the dimensions of the screen containing tkwin.
KEYWORDS
geometry, height, location, virtual root, width, window manager
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWTk |
+--------------------+-----------------+
|Interface Stability | Uncommitted |
+--------------------+-----------------+
NOTES
Source for Tk is available on http://opensolaris.org.
Tk 4.0 Tk_GetVRootGeometry(3TK)