07-26-2009
Identifying IO without the use of IOTop
Hey,
I'm in the process of working on a script to identify IO usage on a high IO server I have setup (Debian Etch). My question is how can identify specific processes that are using much of these resources, I can identify the processes using IOTOP, but doing it remotely via script can be a pain since I have to grep and awk through the entire content in real time.
I also can look at the open file handles via:
lsof | awk '{print $2}' | sort | uniq -c | sort -k1 -g
But that doesn't give sound enough proof as I'm looking for an abusive user not specifically something that has X amount of file handles open.
Does anyone have to identify specific processes that are either writing or reading excessively?
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'd like to be able to identify in which column a string occurs. So far I know that I can tell how many columns there are and how to return a specific column:
$ sar -r | grep 'kbswpcad' | awk 'NF = 9 { print $NF }'
%swpused
I've even managed to get the columns to output to an array but I... (2 Replies)
Discussion started by: pondlife
2 Replies
2. Shell Programming and Scripting
HP-UX
All,
I work in a manufacturing environment where some users connect to our Progress-based system with wireless RF units (Bar-code). Sometimes they go out of range and get disconnected but their session remains alive (ghost sessions). This sometimes causes record lock problems and is a pain.... (6 Replies)
Discussion started by: rm-r
6 Replies
3. Solaris
Hi Experts,
Can we use some command from unix to find the available network interface? I did tried
Its listing following, however how can I decide the which vender card is attached
e.g. if its hme , bge or some thing else
Thanks (7 Replies)
Discussion started by: kumarmani
7 Replies
4. UNIX for Dummies Questions & Answers
how to identify the processes running by giving the parent process id (1 Reply)
Discussion started by: trichyselva
1 Replies
5. Shell Programming and Scripting
Hi all, I'd like to know how to identify the first word in a string (in bash) for e.g.
echo "enter your name"
read name
(user enters 'Joe Bloggs' for e.g.)
echo "hello $name"
(output says "hello Joe")
Thanks for any help (5 Replies)
Discussion started by: kazazza
5 Replies
6. UNIX for Dummies Questions & Answers
If I have a file like:
9350. 0.288426
9370. 0.320469
9390. 0.394475
9410. 0.353157
9430. 0.336001
9450. 0.336692
9470. 0.356827
9490. 0.359891
9510. 0.346305
9530. 0.356506
9550. 0.348306
9570. 0.36832
9590. 0.379067
9610. 0.0246704
9630. 0
9650. 0
9670. 0 (5 Replies)
Discussion started by: cosmologist
5 Replies
7. Shell Programming and Scripting
Hi,
A script is running for multiple databases so data is also being populated for multiple DBs in a.txt file.
I need to rename this file once all the data is populated. Kindly suggest me How can I check once file is populated completely before renaming?
Thanks in advance. (3 Replies)
Discussion started by: ravigupta2u
3 Replies
8. UNIX for Beginners Questions & Answers
morning,
i introduce the following sentence:
"sudo lsof -i | grep smtp"
ang get a list of the processes. two of them i don't know what is the function: 29574 & 29575, with the following indication: "memo" the rest of the processes shown are smtpd. i kill these two processes and they disappear,... (4 Replies)
Discussion started by: brijan007
4 Replies
LEARN ABOUT OPENSOLARIS
identify
identify(9E) Driver Entry Points identify(9E)
NAME
identify - determine if a driver is associated with a device
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI). This entry point is no longer supported. nulldev(9F) must be specified in the dev_ops(9S) structure.
SEE ALSO
nulldev(9F), dev_ops(9S)
ATTRIBUTES
See attributes(5) for a description of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Stability Level |Obsolete |
+-----------------------------+-----------------------------+
WARNING
For Solaris 10 and later versions, drivers must remove the identify(9e) implementation to recompile. Otherwise, the compiler generates
errors about DDI_IDENTIFIED and DDI_NOT_IDENTIFIED.
SunOS 5.11 11 Apr 2003 identify(9E)