03-12-2002
df -k will put the output in kilobytes, and I have found it is a little more portable than df -h, even though I too prefer df -h.
Read the man page on "df" for details.
8 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
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
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
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
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
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
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
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
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
QUOT(8) System Manager's Manual QUOT(8)
NAME
quot - summarize filesystem ownership
SYNOPSIS
quot [ -acfguvi ] [ filesystem... ]
DESCRIPTION
quot displays the number of kilobytes in the named filesystem currently owned by each user or group. Note that this utility currently works
only for XFS.
OPTIONS
-a Generate a report for all mounted filesystems giving the number of kilobytes used by each user or group.
-c Display three columns giving file size in kilobytes, number of files of that size, and cumulative total of kilobytes in that size or
smaller file. The last row is used as an overflow bucket and is the total of all files greater than 500 kilobytes.
-f Display count of kilobytes and number of files owned by each user or group.
-g Report on groups.
-u Report on users (the default).
-v Display three columns containing the number of kilobytes not accessed in the last 30, 60, and 90 days.
-i Ignore mountpoints mounted by automounter.
-T Avoid truncation of user names longer than 8 characters.
-q Do not sort the output.
FILES
/etc/mtab mounted filesystem table
/etc/passwd default set of users
/etc/group default set of groups
SEE ALSO
du(1), ls(1).
BUGS
Currently, only the XFS filesystem type is supported.
QUOT(8)