02-01-2008
you possibly have a file that is open by a process but the handle has been deleted.
have a look at your ps listing - see if anything jumps out, or try trawling through /proc with find looking for any processes using large files
10 More Discussions You Might Find Interesting
1. Solaris
hello
I am new to the UNIX I want to know what command is used
1.To know the Memory consumed by a process at a time .
2.To know the How many CPU's in a server.
3.To know the RAM size.
4.To know the Hard Disk size. (3 Replies)
Discussion started by: maheshkoushik
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
under UNIX AIX how determine the amount of memory consumed per user ?
Many thanks before. (1 Reply)
Discussion started by: big123456
1 Replies
3. HP-UX
Hi! I am new to HP-UX. :o
By using the command glance, I found the user memory usage was very high. I would like to know is there any command can show the process which consume most available memory ? (Just like the command top, but order by memory, not CPU) (1 Reply)
Discussion started by: alfredo
1 Replies
4. Shell Programming and Scripting
Hi All,
I have a simple question on unix command. Here, I need to find the most time consumed process running at present in my HP -UX server.
Though it is possible through top command but to redirect the output I want the same done through some command like ps -aef.
Also I need the user who... (2 Replies)
Discussion started by: Sreejith_VK
2 Replies
5. 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
6. Shell Programming and Scripting
Hi!!!
how can I obtain the consumed memory of a process?
nowadays i'm using ps -efo pid, pmem, comm,args ....
but the information is in percentage, is that correct?
so, i want to know how can obtain the consumed memory of a process in mb?
thanks in advance!
Richard (3 Replies)
Discussion started by: rcrutz_18
3 Replies
7. Red Hat
one our linux machine root fs usage shows 90% but inode use %
i sarched more then 10 MB files and found few with less mb,s
any once help to solve this
$ df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p3 3.9G 3.3G 409M 90% /
$ df -i /... (9 Replies)
Discussion started by: venikathir
9 Replies
8. Solaris
I need to log the size of physical/virtual memory consumed by any given given process using c/c++ code running on solaris and aix without using the proc filesystem. Please advise. (1 Reply)
Discussion started by: Manisha Paul
1 Replies
9. AIX
Hi,
Below is the code snippet I use on Linux (Centos) to retrieve the Process Name, PID and memory consumed on Linux (Centos) host:-
top -b -n 1 | awk -v date="$tdydate" -v ip="$ip" 'NR>7 {print date","ip","$12,","$1,","$10}'
Any idea how the same can be retrieved on an AIX host? This... (1 Reply)
Discussion started by: Vipin Batra
1 Replies
10. UNIX for Advanced & Expert Users
I am trying to check how much memory is consumed by OS Kernel using below command, Is this the correct command that I'm using
grep Slab /proc/meminfo
Output : Slab: 3106824 kB
IF I convert KB to GB, It means 2.9 GB of RAM is consumed
Below details for reference
... (4 Replies)
Discussion started by: sam@sam
4 Replies
balance(8) System Manager's Manual balance(8)
NAME
balance - Balances the percentage of used space among volumes in a domain.
SYNOPSIS
/usr/sbin/balance [-v] domain
OPTIONS
Displays information on which files are being moved to different volumes. Selecting this option slows down the balance procedure.
OPERANDS
Specifies the name of the AdvFS file domain.
DESCRIPTION
The balance utility evenly distributes the percentage of used space between volumes in a multivolume domain. This improves performance and
evens the distribution of future file allocations.
Use the showfdmn command to determine the percentage of used space on each volume. This information allows you to determine the need to
balance the volumes.
The balance utility can be used at any time, but it is particularly useful after adding or removing a volume (addvol, rmvol) because these
procedures can cause file distribution to become uneven.
When you plan to run both the defragment and balance utilities on the same domain, run the balance utility before running the defragment
utility. The balance utility often improves the balance of free space, thus enabling the defragment utility to run more quickly.
Before you can balance volumes in a file domain, all filesets in the file domain must be mounted. If you try to balance volumes in an
active file domain that includes unmounted filesets, the system displays an error message indicating that a fileset is unmounted.
RESTRICTIONS
You must be the root user to use this utility.
You cannot run the balance utility while the addvol, rmvol, defragment, rmfset, or balance utility is running on the same file domain. If
you attempt to do this, a warning message is displayed.
The balance utility does not operate on striped files in the domain and does not include them in its calculations on used space.
EXAMPLES
The following example shows the procedure for determining the percentage of used space on each volume of the two-volume usr_domain file
domain and then redistributing the files to balance the percentage of used space. The final showfdmn command shows the redistributed per-
centage of used space. # showfdmn usr_domain
Id Date Created LogPgs Domain Name 2dcab512.000d1ed0 Fri May 7 14:22:26 1999 512 usr_domain
Vol 512-Blks Free % Used Cmode Rblks Wblks Vol Name
1L 819200 126848 85% on 128 128 /dev/dsk8g
2 768281 768080 0% on 128 128 /dev/dsk9d
---------- ---------- ------
1587481 894928 44%
# balance usr_domain
balance: Balancing domain 'usr_domain' balance: Balanced domain 'usr_domain'
# showfdmn usr_domain
Id Date Created LogPgs Domain Name 2dcab512.000d1ed0 Fri May 7 14:22:26 1999 512 usr_domain
Vol 512-Blks Free % Used Cmode Rblks Wblks Vol Name
1L 819200 459248 44% on 128 128 /dev/dsk8g
2 768281 433632 44% on 128 128 /dev/dsk9d
---------- ---------- ------
1587481 892880 44%
The files are now distributed more evenly between the two volumes.
SEE ALSO
Commands: addvol(8), defragment(8), rmvol(8), showfdmn(8)
balance(8)