Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory How do you display summary of disk usage? Post 16953 by comadreja on Friday 8th of March 2002 08:58:20 PM
Old 03-08-2002
but you can use the -options
df -h for human
 

8 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Inconsistent memory usage display

When i was trying to store a file of size 743 MB into a directory i got a msg. that the disk is full. But when i used the df -k . command on that directory it showed only 40% in usage and the disk had more than enough memory for the file. When i checked the syslog i found that at that instant of... (2 Replies)
Discussion started by: spdas
2 Replies

2. HP-UX

How to summary one command's cpu usage?

I want to record one application's(like oracle etc...) CPU usage summary. I can filter by "ps". But how to sum? Thanks (1 Reply)
Discussion started by: jiarong.lu
1 Replies

3. Shell Programming and Scripting

Detailed disk usage versus age summary

Hi, I'm posting my question here as I fele that what I am about to try to do must have been done already, and I don't want to re-invent the wheel. I have recently become responsible for monitoring disk space usage for a large file system. I would like to geenrate reports that will summise... (8 Replies)
Discussion started by: littleIdiot
8 Replies

4. Solaris

current CPU usage, memory usage, disk I/O oid(snmp)

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

5. UNIX for Dummies Questions & Answers

Command to display the space usage (memory usage) of a specific directory.

Hi all, Can you please tell me the command, with which one can know the amount of space a specific directory has used. df -k . ---> Displays, the amount of space allocated, and used for a directory. du -k <dir name> - gives me the memory used of all the files inside <dir> But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies

6. UNIX for Dummies Questions & Answers

Print summary or the total disk usage of conf file

hey i want to print the summary or the total disk usage of the configuration files that are in the /etc directory printed in human-readable format. i think i got somewhere right as am using wc *.conf commands but i am unsure how to use to put it in human-readable format with the wc command. ... (13 Replies)
Discussion started by: stefanere2k9
13 Replies

7. Shell Programming and Scripting

Help with script to display space usage

Hi all, I am looking for help with a script for displaying the space available from a df - h command for / (root). The problem is: If it is below 700 MB I have jobs that are failing... Is there a way I can do a calculation? If it above 700 MB it is good, if it is below 700 MB it will fail.... (5 Replies)
Discussion started by: gartie
5 Replies

8. UNIX for Beginners Questions & Answers

Disk usage monitoring and record the disk used in last 24 hour

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
autobox::dump(3pm)					User Contributed Perl Documentation					autobox::dump(3pm)

NAME
autobox::dump - human/perl readable strings from the results of an EXPR VERSION
Version 20090426.1746 SYNOPSIS
The autobox::dump pragma adds, via the autobox pragma, a method to normal expression (such as scalars, arrays, hashes, math, literals, etc.) that produces a human/perl readable representation of the value of that expression. use autobox::dump; my $foo = "foo"; print $foo->perl; # "foo"; print +(5*6)->perl; # 30; my @a = (1..3); print @a->perl; # [ # 1, # 2, # 3 # ]; print {a=>1, b=>2}->perl; # { # "a" => 1, # "b" => 2 # }; sub func { my ($x, $y) = @_; return $x + $y; } my $func = &func; print $func->perl; #sub { # BEGIN { # $^H{'autobox_scope'} = q(154456408); # $^H{'autobox'} = q(HASH(0x93a3e00)); # $^H{'autobox_leave'} = q(Scope::Guard=ARRAY(0x9435078)); # } # my($x, $y) = @_; # return $x + $y; #} You can set Data::Dumper options by passing either arrayrefs of option and value pairs or just keys (in which case the option will be set to 1). The default options are C<qw/Indent Terse Useqq Sortkeys Deparse/>. print ["a", 0, 1]->perl([Indent => 3], [Varname => "a"], qw/Useqq/); #$a1 = [ # #0 # "a", # #1 # 0, # #2 # 1 # ]; You can also call the class method ->options to set a different default. #set Indent to 0, but leave the rest of the options autobox::dump->options([Indent => 0], qw/Terse Useqq Sortkeys Deparse/); print ["a", 0, 1]->perl; #["a",0,1] AUTHOR
Chas. J Owens IV, "<chas.owens at gmail.com>" BUGS
Has all the issues autobox has. Has all the issues Data::Dumper has. This pragma errs on the side of human readable to the detriment of Perl readable. In particular it uses the terse and deparse options of Data::Dumper by default. These options may create code that cannot be eval'ed. For best eval results, set options to "qw/Purity/". Note, this turns off coderef dumping. Please report any bugs or feature requests to http://github.com/cowens/autobox-dump/issues SUPPORT
You can find documentation for this module with the perldoc command. perldoc autobox::dump ACKNOWLEDGEMENTS
Michael Schwern for starting the perl5i pragma which prompted me to add a feature I wanted to autobox. COPYRIGHT &; LICENSE Copyright 2009 Chas. J Owens IV, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2009-04-26 autobox::dump(3pm)
All times are GMT -4. The time now is 06:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy