09-10-2009
Finding most busy file system
Hi Experts,
I was asked to find most busy file system on one of the server. It is Sun 10. Any idea to get this?
Thanks,
Deepak
9 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Can some one please tell me how to find out the proccess ID that is holding up a file.
I am attempting to remove a file and I am getting a message stating that it is busy.
i.e
rm filename
filename: 777 mode ? (y/n) y
rm: filename not removed. Text file busy
Thanks in advance. (1 Reply)
Discussion started by: jxh461
1 Replies
2. UNIX for Dummies Questions & Answers
How can I find out what C++ compilers are available on my system?
Thanks in advance (7 Replies)
Discussion started by: HelpMeIAmLost
7 Replies
3. UNIX for Dummies Questions & Answers
Can someone tell me the command to display the info about the CPU? I need the CPI id.. of my SUN box. Solaris 8.
It's some totally un-intuitive command, and i can't recall it.
tnx. (3 Replies)
Discussion started by: ireeneek
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have here a hard drive from a computer that was damaged, and now the costumer needs the data on the hard drive, but doesn't have any other computer to read data.
I don't really know what file system is on the disk.
How can I find out what file system is on the disk so I can read the... (4 Replies)
Discussion started by: dmarques
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
when I run sfdisk -l get:
Disk /dev/sda: 19452 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sda1 * 0+ 12 13- 104391 83 Linux... (1 Reply)
Discussion started by: mojoman
1 Replies
6. Solaris
Hello All,
I have noticed that one of my servers, the busiest has become increasingly slow to respond and execute commands, the running applications appear to be fine though.
Here is some output from vmstat :-
kthr memory page disk faults cpu
r b... (5 Replies)
Discussion started by: Wez
5 Replies
7. UNIX for Advanced & Expert Users
Hi,
We have a filesystem mystery on our hands. Given:
2 machines, A and Aa.
Machine Aa is the problem machine.
Machine A is running Ubuntu, kernel 2.6.22.9 #1 SMP Wed Feb 20 08:46:16 CST 2008 x86_64 GNU/Linux. Machine Aa is running RHEL5.3, kernel 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38... (2 Replies)
Discussion started by: mschwage
2 Replies
8. UNIX for Dummies Questions & Answers
I am familiar with using "lsof <filename>" or "fuser <filename>" to determine what process has a given file (usually a .nfs) open. However, I recently used this command and it returned a blank list. I suspect the process that has the .nfs file open might be on another system. Is there a way... (2 Replies)
Discussion started by: Special_K
2 Replies
9. Shell Programming and Scripting
I am trying to build a list of all files ending in *.cbl in the system, but when I try find / -name *.cbl, I only find one specific file name that is alphabetically first. Is there something I'm missing?
TIA
---------- Post updated at 11:20 AM ---------- Previous update was at 11:15 AM... (1 Reply)
Discussion started by: wbport
1 Replies
LEARN ABOUT SUNOS
drv_usecwait
drv_usecwait(9F) Kernel Functions for Drivers drv_usecwait(9F)
NAME
drv_usecwait - busy-wait for specified interval
SYNOPSIS
#include <sys/types.h>
#include <sys/ddi.h>
void drv_usecwait(clock_t microsecs);
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
PARAMETERS
microsecs The number of microseconds to busy-wait.
DESCRIPTION
drv_usecwait() gives drivers a means of busy-waiting for a specified microsecond count. The amount of time spent busy-waiting may be
greater than the microsecond count but will minimally be the number of microseconds specified.
delay(9F) can be used by a driver to delay for a specified number of system ticks, but it has two limitations. First, the granularity of
the wait time is limited to one clock tick, which may be more time than is needed for the delay. Second, delay(9F) may only be invoked
from user context and hence cannot be used at interrupt time or system initialization.
Often, drivers need to delay for only a few microseconds, waiting for a write to a device register to be picked up by the device. In this
case, even in user context, delay(9F) produces too long a wait period.
CONTEXT
drv_usecwait() can be called from user or interrupt context.
SEE ALSO
delay(9F), timeout(9F), untimeout(9F)
Writing Device Drivers
NOTES
The driver wastes processor time by making this call since drv_usecwait() does not block but simply busy-waits. The driver should only make
calls to drv_usecwait() as needed, and only for as much time as needed. drv_usecwait() does not mask out interrupts.
SunOS 5.10 12 Nov 1992 drv_usecwait(9F)