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
kc2img(1)						      General Commands Manual							 kc2img(1)

NAME
kc2img - convert KC files to raw KC tape images SYNOPSIS
kc2img <infile> <outfile> DESCRIPTION
kc2img converts the following file types to raw KC tape images. Those files contain the data bytes as written by the KC tape routines with block number and checksum removed. So each block is saved as 128 bytes. Machine code files start with an 128 byte header (one block) that contains filename, load start address, load end address and optionally a start address whose presence is flagged by a status byte. Basic files only have a 13 byte header with filename and filesize. 1) files used by the KC emulator by Arne Fitzenreiter (usually named .TAP) 2) files used by the GEMINI-SOFT KC emulator (usually named .GPF for machine code files and .GBF for basic files) 3) BASIC files (usually named .SSS) 4) KC image files that contain the data written by the KC tape routines without block number and checksum (usually named .KCC or .KCB where the .KCB files are BASIC files with an autostart routine) BUGS
Basic files are not handled properly. SEE ALSO
kcemu(1x), kctape(1), kc2tap(1), kc2wav(1), kc2raw(1) AUTHOR
This manual page was written by Torsten Paul <Torsten.Paul@gmx.de>, for the Debian GNU/Linux system (but may be used by others). kc2img(1)
All times are GMT -4. The time now is 12:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy