09-16-2014
top command should give you the output as per your requirement. You may need to install the package if required.
Also you can try ps -aef command and check if there are any idle/hung processes.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys
I am looking for a python / PERL script which will send me email when ever my disk becomes more than 90% full.
By the way my OS is Win XP.
If anybody have already has written same type of script or something very similar kind of script, that will also be very helpful.
Thanks... (1 Reply)
Discussion started by: csaha
1 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
One very urgent issue and I need your help.
I have two V490 servers installed with Sun Solaris 10.
I have traced out that the disk usage is running out of space for both the servers. Currently the /dev/md/dsk/d10 device is 91% in one server and another is 56% and it is increasing... (1 Reply)
Discussion started by: ailnilanjan
1 Replies
3. Shell Programming and Scripting
I would like to write shell/perl script which identifies the top unix processes that are performing high disk I/O's or/and writes
If any one knows the solution please help me?
-Swamy (0 Replies)
Discussion started by: avsswamy
0 Replies
4. UNIX for Advanced & Expert Users
Guys,
Is there any UNIX command that captures the 'Unix process which is performing high disk I/O reads and writes'.
can you help me in this?
-Swamy (6 Replies)
Discussion started by: avsswamy
6 Replies
5. Shell Programming and Scripting
Hi Unix Gurus i am somewhat new to unix scripting so need your help to
create a script as below.
# This script would find the process consuming memory beyond a certain #limit. if the meemory consumption is more than 100% for a period of 1
# minute for the specific process. the script would... (0 Replies)
Discussion started by: robinforlinux
0 Replies
6. Red Hat
Hi,
I have monitored that disk utilization is very high on one of red hat linux VM.
Would like to know how to find out that issue of high disk utilization is because of disk or Installed Application on that server is causing the problem.
Regards,
Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies
7. AIX
Hi, say for example if there is high disk write IO in one disk (detected from NMON), how to we identify what processes is writing on that particular disk? (3 Replies)
Discussion started by: ngaisteve1
3 Replies
8. Shell Programming and Scripting
Hi ,
I am trying to :wall: my head while scripting ..I am really new to this stuff , never did it before :( .
how to find cpu's system high time and user time high in a script??
thanks , help would be appreciated !
:) (9 Replies)
Discussion started by: sushwey
9 Replies
9. Solaris
This is Solaris-10 box. I can see disk I/O is high and performance is very very slow for applications running on it. What should I check to fix this issue ?
root@dbrpd01:/# iostat -xntz | head -7
tty
tin tout
7 79
extended device statistics
r/s w/s kr/s ... (6 Replies)
Discussion started by: solaris_1977
6 Replies
10. Shell Programming and Scripting
Hello,
I would like to create a script that will maintain HA/failover of a process between two servers.
I wanted to send a continuous heartbeat message through a script to another server when everything is working fine, if a process has gone down then the same message should be sent another... (4 Replies)
Discussion started by: Mahesh_RPM
4 Replies
LEARN ABOUT DEBIAN
dpm-drain
DPM-DRAIN(1) DPM Administrator Commands DPM-DRAIN(1)
NAME
dpm-drain - drain a component of the Light Weight Disk Pool Manager
SYNOPSIS
dpm-drain --poolname pool_name [ --server fs_server ] [ --gid gids ] [ --group groups ] [ --size amount_to_drain ]
dpm-drain --server fs_server [ --gid gids ] [ --group groups ] [ --size amount_to_drain ]
dpm-drain --server fs_server --fs fs_name [ --gid gids ] [ --group groups ] [ --size amount_to_drain ]
dpm-drain --help
DESCRIPTION
dpm-drain drains a component of the Light Weight Disk Pool Manager: a filesystem, a disk server or a pool, optionally filtered by a list of
gids/groups. It replicates files which belong to the given list of gids/groups (if specified) to another filesystem and removes the origi-
nal file. It gives an error message for files still pinned. The pool name, the disk server name or the filesystem name can be specified.
Volatile files which have expired will not be copied and will be deleted during the draining process.
If no specfic file server and file system is specified, or no limit is placed on the files to drain, then the involved active file sys-
tem(s) will have their status changed to RDONLY. If any of the involved file systems are marked as DISABLED they will not have their sta-
tus changed, however an attempt will still be made to replicate the files from them and, if successful, delete the original.
Files which are to be moved and belong to a space will be moved to a different location (e.g. file system or disk server) but remain in the
same space. If there is no alternate location within the same space an error will be reported for the file and it will not be drained.
Replicas of files with a lifetime will also have lifetime at least as long as the original. If this is not possible (for example available
pools have a maximum lifetime too short) then an error is given and the file will not be drained.
This command requires ADMIN privilege.
pool_name
specifies the disk pool name previously defined using dpm-addpool.
server specifies the host name of the disk server to be drained.
fs specifies the mount point of the dedicated filesystem.
gid specifies the comma separated list of gids to which the files must belong.
group specifies the comma separated list of groups to which the files must belong.
size specifies the minimum number of bytes to drain. The number may be post-fixed with 'k', 'M', 'G' or 'T' for kilobyte, Megabyte, Giga-
byte and Terabyte respectively. Draining is halted once the desired target has been reached or passed. If size is not specified or
is given as zero dpm-drain will drain all eligible files.
EXAMPLE
setenv DPM_HOST dpmhost
setenv DPNS_HOST dpnshost
dpm-drain --poolname Permanent
dpm-drain --server lxb1921.cern.ch
dpm-drain --server lxb1921.cern.ch --fs /storage
dpm-drain --poolname Permanent --gid 105
dpm-drain --server lxb1921.cern.ch --group dteam
dpm-drain --server lxb1921.cern.ch --gid 105,104
EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed.
SEE ALSO
dpm(1), dpm-qryconf(1)
LCG
$Date: 2010-04-20 09:11:48 +0200 (Tue, 20 Apr 2010) $ DPM-DRAIN(1)