Sponsored Content
Top Forums Shell Programming and Scripting Help with calculating size of files. Post 302348380 by panyam on Friday 28th of August 2009 05:34:19 AM
Old 08-28-2009
Using ls -l option for each file check the size and can accumulate for all the files.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Scripts for calculating size and remaining space of a directory automatically.

I would like to create a script for calculating size and remaining space of a directory automatically every 24 hours, then send an email to report to the admin. * POSIX and PERL are preferred. Can anyone help, please? (1 Reply)
Discussion started by: leonall
1 Replies

2. Shell Programming and Scripting

bash script working for small size files but not for big size files.

Hi, I have one file stat. Stat file contents are as follows: for example. H50768020040913,00260100,507680,13,0000000643,0000000643,00000,0000 H50769520040808,00260100,507695,13,0000000000,0000000000,00000,0000 H50770620040611,00260100,507706,13,0000000000,0000000000,00000,0000 Now i... (1 Reply)
Discussion started by: davidpreml
1 Replies

3. Programming

calculating size of int

Hi, Is there any way to calculate the size of a built in data type without using 'sizeof' operator? I also don't have the option to read it from std .h file. regards Apoorva Kumar (10 Replies)
Discussion started by: apoorvasharma80
10 Replies

4. Shell Programming and Scripting

compare files and calculating

Hi everybody: Could anybody tell me how can I do this task in AWK language. I've two files (file1 & file2) where file1 its last row it has first field value equal that the first row in file2, thyen I want calculate the difference in other fields, and this values apply in file2. This is: file1:... (6 Replies)
Discussion started by: tonet
6 Replies

5. UNIX for Dummies Questions & Answers

CAlculating page file size

hello dont know if this is the correct forum for this post but i have a question. i am revising for a exam on operating systems and i have the question... A system has a 32bit virtual address divided into 2kbyte pages and each entry in the page table is 6 bytes in length. what is the size... (0 Replies)
Discussion started by: Fortune
0 Replies

6. AIX

calculating the size of the luns using script

Hi This is the lspv output of my server : cbspsdb01 #lspv hdisk0 00c7518d2d512fd4 cdgvg active hdisk1 00c7518d2dcbc9d6 cdgvg active hdisk2 00c7518dcda9199a appvg active hdisk3... (1 Reply)
Discussion started by: samsungsamsung
1 Replies

7. Shell Programming and Scripting

Calculating average of 100 different files of same size

Hey guys..... I have many files (lets say 100 or more) of same size, and I want to create a new output file and calculate the average of first row fifth column in all files and print it in first row of output file, then 2nd row fifth col in all 100 files and print it in 2nd row of output... (1 Reply)
Discussion started by: CAch
1 Replies

8. Shell Programming and Scripting

Calculating average from files

I have some files with the following contents.I would like to calculate average of fifth column. How can I do this with awk? file1 cat 95.9 152 78.0 17.9 rat 67.1 153 36.5 30.6 dog 81.4 154 68.1 13.3 dog 92.0 155 55.5 36.5 rat 73.8 156 23.9 49.9 file2 rat... (4 Replies)
Discussion started by: avina
4 Replies

9. UNIX for Beginners Questions & Answers

Calculating size of backups

hi everyone i have a backup share mounted with me on solaris 10 which have daily backups. everyday i need to calculate all individual sizes of files and need to report somewhere. e.g i have .rman 7backup files daily . what i need that is there any commnd or variation of du command which can add... (1 Reply)
Discussion started by: janakors
1 Replies

10. UNIX for Beginners Questions & Answers

Calculating size of backups

hi everyone i have posted this query but i dont where it has gone i am posting again . my issue is that i have many backup files in a backup nfs share and i need to calculate it size just by adding their individual file sizes which is repetitive jobs. so is there any command or variation of du... (1 Reply)
Discussion started by: janakors
1 Replies
etop(3erl)						     Erlang Module Definition							etop(3erl)

NAME
etop - Erlang Top is a tool for presenting information about erlang processes similar to the information presented by "top" in UNIX. DESCRIPTION
etop should be started with the provided scripts etop and getop for text based and graphical presentation respectively. This will start a hidden erlang node which connects to the node to be measured. The measured node is given with the -node option. If the measured node has a different cookie than the default cookie for the user who invokes the script, the cookie must be explicitly given witht the -setcookie option. Under Windows the batch files etop.bat and getop.bat can be used. The following configuration parameters exist for the etop tool. When executing the etop or getop scripts, these parameters can be given as command line options, e.g. getop -node testnode@myhost -setcookie MyCookie . node : The measured node. Value: atom() Mandatory setcookie : Cookie to use for the etop node - must be the same as the cookie on the measured node. Value: atom() lines : Number of lines (processes) to display. Value: integer() Default: 10 interval : The time interval (in seconds) between each update of the display. Value: integer() Default: 5 accumulate : If true the execution time and reductions are accumulated. Value: boolean() Default: false sort : Identifies what information to sort by. Value: runtime | reductions | memory | msg_q Default: runtime ( reductions if tracing=off ) tracing : etop uses the erlang trace facility, and thus no other tracing is possible on the measured node while etop is running, unless this option is set to off . Also helpful if the etop tracing causes too high load on the measured node. With tracing off, runtime is not measured. Value: on | off Default: on All interaction with etop when running the graphical presentation should happen via the menus. For the text based presentation the func- tions described below can be used. See the user's guide for more information about the etop tool. EXPORTS
config(Key,Value) -> Result Types Result = ok | {error,Reason} Key = lines | interval | accumulate | sort Value = term() This function is used to change the tool's configuration parameters during runtime. The table above indicates the allowed values for each parameter. dump(File) -> Result Types Result = ok | {error,Reason} File = string() This function dumps the current display to a text file. stop() -> stop This function terminates etop . Ericsson AB observer 0.9.9 etop(3erl)
All times are GMT -4. The time now is 05:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy