12-23-2009
Space occupied by core
Guys,
Can some one help me?
I need to find the total percent of space occupied by core files on my unix system.
I know df -k will give me the percent space utilization for a directory but how do we replicate the space for a file?
10 More Discussions You Might Find Interesting
1. Programming
Hi,
In Linux how to find out what will be the stack size allocated for a process?
Actually i have to fork n number of processess, and will call exec. I will be execing an executable which is already multithreaded and each thread size is defined. My doubt is how to know if the size of the... (2 Replies)
Discussion started by: rvan
2 Replies
2. UNIX for Advanced & Expert Users
I want to find out how many disk blocks are used by only data (and not metadata) by a file.
But as far as I can tell, if the file has holes, then there is no way to know this.
You can find out the logical size of the file (physical size + hole blocks).
You can get the physical size of the... (3 Replies)
Discussion started by: the_learner
3 Replies
3. Solaris
Hi,
I want to know the command which can be used for finding the % of disk space occupied by files & sub-folders inside a given mount in Sun Solaris
For eg: I have /tmp/ folder when I sat df -k it will give the percentage of space used by /tmp/.
Say if I want to see how much % the files &... (2 Replies)
Discussion started by: weblogicsupport
2 Replies
4. UNIX for Dummies Questions & Answers
Can anybody tell What is the exact difference between a Dual-core processor and a Core-to-duo processor ?Advance thanks to all my friends. (1 Reply)
Discussion started by: Ajith kumar.G
1 Replies
5. Programming
I have a dual core pc, I write a application with two child process.
I know I can add sched_get_cpu to know the process run on which core, but, it just when the sched_get_cpu is called, it will tell me the result, my quesion is how to know the child proceess spend how many times on one core. (2 Replies)
Discussion started by: yanglei_fage
2 Replies
6. Shell Programming and Scripting
I want to extend this script.
This must also be able to show me that a port is already assigned to a service but not running now
there must be three different messages
port 8949 is open but not listening
port 8959 is open
port 8999 hasn't been assigned to any service.
I know that... (1 Reply)
Discussion started by: charan314
1 Replies
7. Shell Programming and Scripting
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)
Discussion started by: bigben1220
4 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I am using Red Hat linux system. I see my /work directory has used space 300GB. But there are so many sub directory under /work. I want to list each direcotry and under all subdirectory. But i want to know how much space occupied by each directory. What kind of command i can use to... (3 Replies)
Discussion started by: govindts
3 Replies
9. Shell Programming and Scripting
I have long list of file wanna processed by a program:
data_1.txt
data_2.txt
data_3.txt
data_4.txt
data_5.txt
data_6.txt
data_7.txt
data_8.txt
.
.
data_1_2.txt
data_2_2.txt
data_3_2.txt
data_4_2.txt
data_5_2.txt
data_6_2.txt
. (12 Replies)
Discussion started by: perl_beginner
12 Replies
10. Fedora
Hi,
I run Fedora 17.
I created a physical volume of 30GB on a disk with 60GB of space so there is 30GB of free space. On the physical volume, I created my volume group and logical volumes. I assigned all the space in the physical volume to my volume group. I need to add the 30GB of free space... (1 Reply)
Discussion started by: mojoman
1 Replies
LEARN ABOUT HPUX
quot_hfs
quot_hfs(1M) quot_hfs(1M)
NAME
quot_hfs: quot - summarize ownership on an HFS file system
SYNOPSIS
filesystem ...
DESCRIPTION
The command displays the number of 1024-byte blocks in the named HFS filesystem that are currently owned by each user. filesystem is
either the name of the directory on which the file system is mounted or the name of the device containing the file system.
Options
recognizes the following options:
Generate a report for all mounted HFS file systems.
Report size rather than user statistics.
Generates histogram statistics in 3-column format:
Column 1: File size in blocks. Sizes are listed in ascending order up to 499 blocks per file. Files occupying 499
or more blocks are counted together on a single line as 499-block files (but column 3 is based on actual
number of blocks occupied).
Column 2: Number of files of size indicated in column 1.
Column 3: Cumulative total blocks occupied by files counted in current plus all preceding lines.
Use of this option overrides the and options.
Display number of files and space occupied by each user.
Specify the file system type
Calculate the number of blocks in the file based on file size
rather than actual blocks allocated. This option does not account for sparse files (files with holes in them).
Accept data from the
command (see ncheck(1M)) as input. Run the pipeline:
to produce a list of all files and their owners.
Report on users.
This is the default action.
Display three columns containing the number of blocks
not accessed in the last 30, 60, and 90 days.
Echo the completed command line, but perform no other
action. The command line is generated by incorporating the user-specified options and other information derived from This
option allows the user to verify the command line. If the options specified are valid, the completed command line is
echoed. If the options specified are not valid, an error message is printed.
AUTHOR
a disk quota command, was developed by the University of California, Berkeley, Sun Microsystems, Inc., and HP.
FILES
Static information about the file systems
Mounted file system table
Password file (contains user names)
SEE ALSO
du(1), find(1), ls(1), fstyp(1M), mount(1M), ncheck(1M), quot(1M), repquota(1M), quota(5).
quot_hfs(1M)