11-29-2005
Not sure if this is available to all Unix platforms, but try `du -k` and `man du` for further info.
Hope it helps.
10 More Discussions You Might Find Interesting
1. Solaris
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies
2. Shell Programming and Scripting
Hi,
I would really appreciate if you could help me with this. I have a directory structure like this :-
/data
Under data i have directories /data1 , /input_files , /output_files etc . Under these directories I have other subdirectories.
What i am looking for is to find out the size of all... (5 Replies)
Discussion started by: divz
5 Replies
3. Shell Programming and Scripting
hi,
i am using korn shell...............
Any one please help me in solving the below question:
question: i need to find the size of the directory alone...
let us assume /root/kamal/hash1 is the directory, now i want to find the hash1 size ..
... (7 Replies)
Discussion started by: G.K.K
7 Replies
4. Shell Programming and Scripting
Hi All...
is the below command be modified in sucha way that i can get the file size along with the name and path of the file
the below command only gives me the file location which are more than 100000k...but I want the exact size of the file also..
find / -name "*.*" -size +100000k
... (3 Replies)
Discussion started by: rpraharaj84
3 Replies
5. Solaris
Hi,
We currently have an Oracle database running and it is creating lots of processes in the /proc directory that are 1000M in size. The size of the /proc directory is now reading 26T. How can this be if the root file system is only 13GB?
I have seen this before we an Oracle temp file... (6 Replies)
Discussion started by: sparcman
6 Replies
6. Shell Programming and Scripting
I'm using this now:
find /some/path/with/sourcefiles -type f -size -7M -exec /bin/cp -uv {} /some/path/ \;
but it doesn't preserve the directory structure, also I've tried it with
find /some/path/with/sourcefiles -type f -size -7M -exec /usr/bin/rsync -auv {} /some/path/ \;
but that doesn't... (9 Replies)
Discussion started by: unclecameron
9 Replies
7. Shell Programming and Scripting
Hi all,
Could you please tellme the commadn which sorts the list of directories in a parent dir by their size.
Thanks. (2 Replies)
Discussion started by: firestar
2 Replies
8. Shell Programming and Scripting
To find the whole size of a particular directory i use "du -sk /dirname".. but after finding the direcory's size how do i make conditions like if the size of the dir is more than 1 GB i hav to delete some of the files inside the dir (0 Replies)
Discussion started by: shaal89
0 Replies
9. Shell Programming and Scripting
Hello :
I need some help in writing a ksh script which will find a particular directory in all the file systems in a server and finally report the total size of the direcotry in all the file systems.
Some thing like this..
find /u*/app/oracle -type d -name "product" -prune
and then... (1 Reply)
Discussion started by: Sam1974
1 Replies
10. UNIX for Dummies Questions & Answers
I have been searching both on Unix.com and Google and have not been able to find the answer to my question. I think it is partly because I can't come up with the right search terms.
Recently, my virtual server switched storage devices and I think the problem may be related to that change.... (2 Replies)
Discussion started by: jmgibby
2 Replies
LEARN ABOUT OPENDARWIN
tcl_findexecutable
Tcl_FindExecutable(3) Tcl Library Procedures Tcl_FindExecutable(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tcl_FindExecutable, Tcl_GetNameOfExecutable - identify or return the name of the binary file containing the application
SYNOPSIS
#include <tcl.h>
void
Tcl_FindExecutable(argv0)
CONST char *
Tcl_GetNameOfExecutable()
ARGUMENTS
char *argv0 (in) The first command-line argument to the program, which gives the application's name.
_________________________________________________________________
DESCRIPTION
The Tcl_FindExecutable procedure computes the full path name of the executable file from which the application was invoked and saves it for
Tcl's internal use. The executable's path name is needed for several purposes in Tcl. For example, it is needed on some platforms in the
implementation of the load command. It is also returned by the info nameofexecutable command.
On UNIX platforms this procedure is typically invoked as the very first thing in the application's main program; it must be passed argv[0]
as its argument. It is important not to change the working directory before the invocation. Tcl_FindExecutable uses argv0 along with the
PATH environment variable to find the application's executable, if possible. If it fails to find the binary, then future calls to info
nameofexecutable will return an empty string.
Tcl_GetNameOfExecutable simply returns a pointer to the internal full path name of the executable file as computed by Tcl_FindExecutable.
This procedure call is the C API equivalent to the info nameofexecutable command. NULL is returned if the internal full path name has not
been computed or unknown.
KEYWORDS
binary, executable file
Tcl 8.1 Tcl_FindExecutable(3)