Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to check total disk usage ? Post 302393949 by bh_hensem on Wednesday 10th of February 2010 04:13:40 AM
Old 02-10-2010
I have tried a few steps using du command, but i do not what is the real size.

Code:
nv2am:/acec/nv2am> du pproc/
128     pproc/files/parseRules
116     pproc/files/ddf
115728  pproc/files
48      pproc/data/test
0       pproc/data/output
0       pproc/data/error
68      pproc/data
139022  pproc/

nv2am:/acec/nv2am> du -s pproc/
139040  pproc/

nv2am:/acec/nv2am> du -b pproc/
128     pproc/files/parseRules
116     pproc/files/ddf
115728  pproc/files
48      pproc/data/test
0       pproc/data/output
0       pproc/data/error
68      pproc/data
139022  pproc/

nv2am:/acec/nv2am> du -k pproc/
64      pproc/files/parseRules
58      pproc/files/ddf
57864   pproc/files
24      pproc/data/test
0       pproc/data/output
0       pproc/data/error
34      pproc/data
69511   pproc/

 

10 More Discussions You Might Find Interesting

1. Programming

Check the Disk usage Programmatically

Hi all, Do we have anyway to get the freediskspace for within a C program? I need functionality similar to 'df -h' -> which gives the % of utilization... Otherwise, if we go and use 'system ("df -h /home/myhome/")', do we have any way of capturing the output into a string and parse the... (2 Replies)
Discussion started by: SriSri
2 Replies

2. UNIX for Dummies Questions & Answers

How to check total allocated external disk in unix

hi guys im new here, would like to ask what is the syntax or how could i check the total allocated external disk in HP-UX??? ive check the allocated size using SAM, but in some servers the SAM hangs when checking the disk space. So i would like to know using command line. thanks (3 Replies)
Discussion started by: gob23g
3 Replies

3. 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

4. Shell Programming and Scripting

Total usage memory by user

Hi, When running top on linux redhat machine , i see that i have 16gb of memory in my machine and about 14.5gb of memory are in use: Mem: 16395780k total, 14970960k used, 1424820k free, 370264k buffers Swap: 4192956k total, 25824k used, 4167132k free, 12029400k cached How can i... (3 Replies)
Discussion started by: yoavbe
3 Replies

5. Shell Programming and Scripting

Finding total Percentage CPU usage

Hi, How can I find total CPU usage in percentage? e.g. if my system has 8 CPUs and I want to list total usage for all of them, is it possible through a command? I have tried some of the commands like top, mpstat, sar. The output of those commands has to be manipulated to derive the percentage... (14 Replies)
Discussion started by: jal_capri
14 Replies

6. UNIX for Dummies Questions & Answers

Total cpu usage in percent(%)

How to determine the total percentage cpu usage of a server having 4 cpu cores(quad core)? (3 Replies)
Discussion started by: proactiveaditya
3 Replies

7. 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

8. UNIX for Advanced & Expert Users

Finding out total memory usage

Hi, I have a server box with 16GB ram in it, within the server box there are 3 VMs running with a total allocation of 9GB. if I add up all the numbers under memory info using vmstat I get 15.8GB so I can say it adds up to 16Gb... Is there a way to see from the command line how much memory... (2 Replies)
Discussion started by: speedhunt3r
2 Replies

9. Solaris

Total CPU usage on a server

hi, i am using solaris server. I want to find the total CPU usage on a server. Top command will give that result, but here that command is not working. So anyone can help me to find the total CPU usage. (2 Replies)
Discussion started by: Arasu123
2 Replies

10. 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
SDTS2DLG(1)						      General Commands Manual						       SDTS2DLG(1)

NAME
sdts2dlg - Convert a USGS SDTS DLG to a DLG in the `optional' format. SYNOPSIS
sdts2dlg [-L] | [sdts_dlg_file.ddf [output_file_name]] DESCRIPTION
The U.S. Geological Survey (USGS) provides sites on the Internet with a lot of Digital Line Graph (DLG) data. Depending on the resolution of the data, it may be available in one of at least two different formats: the `optional' DLG format, or the Spatial Data Transfer System (SDTS) format. The 24K DLG data (which are also called 7.5-minute DLG data) are only available for free download in the SDTS format. The drawmap program can read files in SDTS format; but the SDTS information comes in the form of archives, each of which contains numerous files. It may sometimes be more efficient, and perhaps simpler, to store the data in the `optional' format. Sdts2dlg is a program that converts each SDTS archive into a single optional-format DLG file. Currently sdts2dlg only works with 24K and 100K DLG data. If you invoke the program with the "-L" argument, it will print some license information and exit. In normal use, the first argument is an SDTS file name. Each SDTS DLG archive should contain one or more files with names of the form ????LE@@.DDF, where the '?' symbol stands for any single character, and the '@' symbol stands for any single digit. If you provide a single such file as an argument, sdts2dlg will produce an optional-format DLG file, based on the given SDTS file and the other files in the SDTS archive. (When you unpack the SDTS archives, you can change all of the resulting file names to all lower case and/or compress all of the files with the gzip program. If you are going to change to lower case, change all of the files. If you are going to compress the files, compress all of them.) The USGS takes each 1-degree-square block of latitude and longitude, and divides it into an eight-by-eight grid of 7.5-minute-square `quads'. The rows of this grid are labeled 'a' to 'h' from bottom to top, and the columns are labeled `1' through `8' from right to left. Each quad is then referred to by a name of the form `AABBBCD', where `AA' is the latitude of the southeast corner of the 1-degree block, `BBB' is the longitude of the southeast corner, and `C' and `D' represent the corresponding row and column labels. If you don't specify an output file name, the output file produced by sdts2dlg will have the form `AABBBCD.dlg'. For 100K DLG files, each of which generally cov- ers 16 quads, this naming is also used, with the `C' and `D' code being the same as for the quad with the same southeast corner as the 100K DLG data. If you specify an output file name, then your name will be used instead. LIMITATIONS
Sdts2dlg attempts to recreate the original DLG-3 file, as it was before conversion to SDTS. Node entries include line lists, but no area lists. Area entries include line lists, no node lists, and no area coordinate lists. Line entries include line coordinate lists. Attributes are included as major-minor pairs. Try as it might, though, sdts2dlg is going to produce files that differ from the originals. In the Node entries, for example, the line lists have no preferred ordering, and the output from sdts2dlg is unlikely to reproduce the ordering of the original DLG file. In the Area entries, the line lists do have a specified ordering, but there is no rule for choosing which line to start each list with. Thus, the lists are unlikely to be exact duplicates of the original file. Neither of these differences should be a problem. The lists are still valid, even if they are not identical to the originals. For the universe polygon (which completely surrounds the data coverage area) the Universal Transverse Mercator (UTM) coordinates of its representative point are likely to be different from the originals. The SDTS files do not appear to encode this particular representative point, so sdts2dlg inserts the coordinates of the southwest corner of the map area. Some floating-point numbers will have a different format from their original USGS versions. The USGS files normally put the first signifi- cant digit after the decimal point, while sdts2dlg puts it in front of the decimal point. The actual numeric values are the same, but the format differs. There are two fields in the header that don't always show up in existing optional-format files, although the specification allows them: the horizontal datum and the vertical datum. These are too useful to leave out, so sdts2dlg includes them. Finally, there may be data discrepancies due to errors in the program. Errors are a distinct possibility when it comes to attributes. There are many different kinds of possible attributes, and I have not yet found adequate test data for some of them. SEE ALSO
drawmap(1), sdts2dem(1) Jul 24, 2001 SDTS2DLG(1)
All times are GMT -4. The time now is 03:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy