I need some help in determining disc space. I ran the following commands on my IBM RS6000 server and this is what I get
# dfspace
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 32768 19832 40% 1225 15% /
/dev/hd2 802816 277256 66% ... (2 Replies)
Ok....
Can someone please point me in the right direction.
I simply want to know how to take the results of a dfspace or df command and be able to know how to determine how much disk space is either used or remaining.
1$ dfspace
Filesystem 512-blocks Free %Used Iused %Iused Mounted... (5 Replies)
Hi,
Just wanted to confirm that what Im doing is correct to calculate the space allocated to filesystem:
>df -k .
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/test 48720000 9337904 81% 14846 1% /home
The space allocated = 48720000/1024 =... (1 Reply)
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
How to Calculating space used in GB for any particular directory in unix
Currently I am using : df -h which gives me space for each mout point
ldndyn1:/vol/v01/dyn/sbcexp/dyn
1.1T 999G 29G 98% /sbcimp/dyn
but I need for some internal particular directory... (3 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write an awk script(company.awk) for the workers file to find the number of workers of each departman, total... (8 Replies)
Hello Friends,
I've been trying to calculate total number of a certain match in multiple data records files (DRs).
Let say I have a daily created folders for each day since the beginning of july like the following
drwxrwxrwx 2 mmsuper med 65536 Jul 1 23:59 20150701
drwxrwxrwx 2 mmsuper... (1 Reply)
Write a script using a Linux shell programming language to perform clock management for a small daycare.
The program should manage all time in and out routines. At the end of the each day should give the Total hours worked that day.
Example:
Time-In 6:30am
Lunch-Out 11 :25am... (1 Reply)
Discussion started by: sarapham409
1 Replies
LEARN ABOUT LINUX
sum
SUM(1) User Commands SUM(1)NAME
sum - checksum and count the blocks in a file
SYNOPSIS
sum [OPTION]... [FILE]...
DESCRIPTION
Print checksum and block counts for each FILE.
-r use BSD sum algorithm, use 1K blocks
-s, --sysv
use System V sum algorithm, use 512 bytes blocks
--help display this help and exit
--version
output version information and exit
With no FILE, or when FILE is -, read standard input.
AUTHOR
Written by Kayvan Aghaiepour and David MacKenzie.
REPORTING BUGS
Report sum bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report sum translation bugs to <http://translationproject.org/team/>
COPYRIGHT
Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for sum is maintained as a Texinfo manual. If the info and sum programs are properly installed at your site, the
command
info coreutils 'sum invocation'
should give you access to the complete manual.
GNU coreutils 8.5 February 2011 SUM(1)