Disk usage (Mac OS 10.4)


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Disk usage (Mac OS 10.4)
# 1  
Old 12-04-2005
Disk usage (Mac OS 10.4)

I'd like to know a simple way to find how much disk space my account is using on my computer, I was using "mdfind "kMDItemFSOwnerGroupID == '502'" | du -ch"

but then I realized that it didn't change for 501 or 503, any help would be appreciated.
# 2  
Old 12-05-2005
Quote:
Originally Posted by H1tokori
I'd like to know a simple way to find how much disk space my account is using on my computer, I was using "mdfind "kMDItemFSOwnerGroupID == '502'" | du -ch"

but then I realized that it didn't change for 501 or 503, any help would be appreciated.
Try:

du -sk /Users/yourusername/
# 3  
Old 12-05-2005
ok, seems to work thanks, can't believe i used such a complex command for something so simple
# 4  
Old 12-05-2005
Quote:
Originally Posted by H1tokori
ok, seems to work thanks, can't believe i used such a complex command for something so simple
It's all good. Enjoy. Smilie
# 5  
Old 12-05-2005
Go to finder, hit "apple + I" to get volume info

Hope that helps.

You'll get in the info for the volume if you highlight your hard drive in finder with that command.
# 6  
Old 12-05-2005
Quote:
Originally Posted by FredSmith
Hope that helps.

You'll get in the info for the volume if you highlight your hard drive in finder with that command.
This is also good advice if you'd like to use the GUI.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

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

2. HP-UX

Disk Usage

Hi Experts, glance is showing disk util 100% on of production domain and while collecting sar data using sar -d 5 5, avserv for some of the disks are more than 10 miliseconds. Need your advise on steps that needs to be taken to reduce the disk utilitzation. device %busy avque r+w/s ... (2 Replies)
Discussion started by: sai_2507
2 Replies

3. UNIX for Dummies Questions & Answers

Disk Usage

Hi, I have always felt problems using commands to check disk usage, or I should say I might not be using the commands properly. dfspace and free are 2 most frequent command that I use, but the data that it echoes is not comprehandable atleast to me.:wall::wall::wall::wall::wall: I want... (4 Replies)
Discussion started by: TH3M0Nk
4 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. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

6. Shell Programming and Scripting

Disk Usage

Hi, I want to retrieve the directory in the shell script that is using maximum space on the disk.I was using du command but it displays all the directories that are using the space on the disk.How can retrieve the only directory which uses the maximum space on the disk?? Thanks in advance. ... (4 Replies)
Discussion started by: harikamamidala
4 Replies

7. Shell Programming and Scripting

disk usage

Hi ,.. I am working on a script like.... it has to monitor the disk usage (df -H) and if usage is above 95% then it has to return the particular mount point details... i am in confusion to use awk or sed..... regards rrs (1 Reply)
Discussion started by: rrs
1 Replies
Login or Register to Ask a Question