Sponsored Content
Operating Systems AIX How to determine what process is actively using my harddisk? Post 302338233 by depam on Monday 27th of July 2009 10:19:53 AM
Old 07-27-2009
How to determine what process is actively using my harddisk?

Hi,

Is there any command that I can issue to check who is actively using my harddisk? I notice that yesterday the hdisk0 and hdisk1 is really actively being used and is reaching almost 100%. I realized that this is because of paging which is climbing up to 70%.

However, just this morning I see paging is at 7% but still the hdisk0 and hdisk1 is high. Any thoughts?

Thanks.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

clone harddisk

Hi, i have to make an excect physical copie of a sun unix station harddisk. I have to make all partitions the same on about 60 harddisks, and also they should contain the same data/info. I have hade a look at commands 'DD' and 'UFSDUMP' but both of them are not sufficient enough. Can... (5 Replies)
Discussion started by: dirk2
5 Replies

2. Shell Programming and Scripting

Actively watching for running processes

Here's a fun one... What's the best way to script looking for a process when it runs? For example, what if a process is running that's been set up graphically, which you would like the entire command line string for? Say it's rpm for the sake of having a command to use as an example. You want... (2 Replies)
Discussion started by: sysera
2 Replies

3. HP-UX

how to check whether a script is running actively or hanged/ in deadlock)

Hi I have a doubt regarding process states in HP unix system. Is there a way to check whether a process is hanged or still actively running? I have few scripts which run for a long time. but sometimes these are getting hanged. But i'm never sure whether they are running or waiting in kind of... (4 Replies)
Discussion started by: truth
4 Replies

4. UNIX for Dummies Questions & Answers

Determine which file is invoking process?

Hey Guys, I am trying to figure out what is chewing up a bunch of CPU on our SunFire V120 Boxes and I am having a little trouble drilling down the source. When I check the CPU usage it displays tail & cat as the top two processes PID USERNAME SIZE RSS STATE PRI NICE TIME CPU... (1 Reply)
Discussion started by: Jerrad
1 Replies

5. UNIX for Dummies Questions & Answers

determine total memory used by some user/process

HI guys, :confused:i would like to know how can i determine the total/approx memory used by a single user. Example Top output is below =========================================================================== top - 20:00:50 up 24 days, 2:48, 2 users, load average: 0.43, 0.40, 0.37... (3 Replies)
Discussion started by: cromohawk
3 Replies

6. What is on Your Mind?

How Many Technology Forums Do You Actively Participate In?

How Many Technology Forums Do You Actively Participate In? (29 Replies)
Discussion started by: Neo
29 Replies

7. AIX

unix host actively refused the connection attempt

Dear all, I am faced with an error "UX ER087-0" failling to connect to the server. Any ideas of what might be causing the error? Many thanks (17 Replies)
Discussion started by: captain.scorpio
17 Replies

8. Shell Programming and Scripting

Actively merge kde 3.x and gnome 2.x menus

ok, here's the scoop, google has similar, but nothing that quite fits the bill. here is what I'm up against: i have a linux system that is running both kde 3.x and gnome 2.x, selectable via gdm. the kde 3.x app menu is heavily modified and i'm looking for a way to import that over to the... (0 Replies)
Discussion started by: macphail
0 Replies

9. Shell Programming and Scripting

Determine amount of time to process

Hello all, Hopefully someone can point me in the right direction... I have a script written in bash which is pretty basic and just stop/starts various services based on particular conditions. What I am trying to build is a reporting type function which will send out an email with various stats... (3 Replies)
Discussion started by: systrex
3 Replies

10. Shell Programming and Scripting

How to determine the completion of a background process to trigger something else?

I've been thinking about a peculiar problem, and so far haven't been able to find out a convincing solution to that. To put it simply, I have a shell script (assume it to be parent_script.sh), calling another shell script (child_script.sh) 5 times, in nohup mode to be executed in the background.... (3 Replies)
Discussion started by: Aviktheory11
3 Replies
XtGrabKeyboard()														  XtGrabKeyboard()

Name
  XtGrabKeyboard - actively grab the keyboard.

Synopsis
  int XtGrabKeyboard(widget, owner_events, pointer_mode, keyboard_mode, time)
	   Widget widget;
	   Boolean owner_events;
	   int pointer_mode, keyboard_mode;
	   Time time;

Inputs
  widget    Specifies the widget for whose window the keyboard is to be grabbed.  Must be of class Core or any subclass thereof.

  owner_events
	    Specifies  whether	the pointer events are to be reported normally within this application (pass True) or only to the grab window
	    (pass False).

  pointer_mode
	    Controls processing of pointer events during the grab.  Either GrabModeSync or GrabModeAsync.

  keyboard_mode
	    Controls processing of keyboard events during the grab.  Either GrabModeSync or GrabModeAsync.

  time	    Specifies the time when the grab should take place.  Pass either a timestamp (from an event) or the constant CurrentTime.

Description
  If the specified widget is realized XtGrabKeyboard() calls XGrabKeyboard() specifying the widget's window as the grab_window,  passing  its
  remaining  argument unmodified, and returning whatever XGrabKeyboard() returns.  If the widget is not realized, XGrabKeyboard() immediately
  returns GrabNotViewable.  No future automatic ungrab is implied by XtGrabKeyboard().

  See the "Background" section below for a description of the arguments and an explanation of event  processing  during  an  active  keyboard
  grab.

Usage
  When	the keyboard is grabbed, all key events are delivered to the widget you specify or to your application, regardless of the location of
  the pointer.	There are not many occasions when this is a reasonable thing to do, because it locks out input to other applications.	xterm
  grabs the keyboard to implement secure mode.

  Most	applications  will  never  need  to  issue a grab.  XtAddGrab() (called by XtPopup()) can be used to implement modal popups inside an
  application, and XtSetKeyboardFocus() can be used to redirect keyboard focus within an application.  Neither	function  actually  issues  a
  grab, and so does not interrupt event processing by other clients.

  To cancel an active keyboard grab, use XtUngrabKeyboard().

Background
  The  XGrabKeyboard()	function  actively  grabs  control of the keyboard and generates FocusIn and FocusOut events.  Further key events are
  reported only to the grabbing client.  XGrabKeyboard() overrides any active keyboard grab by this client.  If owner_events  is  False,  all
  generated  key  events  are  reported  with  respect to grab_window. If owner_events is True and if a generated key event would normally be
  reported to this client, it is reported normally; otherwise, the event is reported with respect  to  the  grab_window.  Both	KeyPress  and
  KeyRelease events are always reported, independent of any event selection made by the client.

  If  the keyboard_mode argument is GrabModeAsync, keyboard event processing continues as usual.  If the keyboard is currently frozen by this
  client, then processing of keyboard events is resumed.  If the keyboard_mode argument is GrabModeSync, the state of the keyboard  (as  seen
  by client applications) appears to freeze, and the X server generates no further keyboard events until the grabbing client issues a releas-
  ing XAllowEvents() call or until the keyboard grab is released.  Actual keyboard changes are not lost while the keyboard  is	frozen;  they
  are simply queued in the server for later processing.

  If  pointer_mode  is GrabModeAsync, pointer event processing is unaffected by activation of the grab.  If pointer_mode is GrabModeSync, the
  state of the pointer (as seen by client applications) appears to freeze, and the X server generates no further  pointer  events  until  the
  grabbing  client  issues a releasing XAllowEvents() call or until the keyboard grab is released.  Actual pointer changes are not lost while
  the pointer is frozen; they are simply queued in the server for later processing.

  If the keyboard is actively grabbed by some other client, XGrabKeyboard() fails and returns AlreadyGrabbed.  If grab_window  is  not	view-
  able,  it  fails  and  returns  GrabNotViewable.   If  the  keyboard	is  frozen  by an active grab of another client, it fails and returns
  GrabFrozen.  If the specified time is earlier than the last-keyboard-grab time or later than the  current  X	server	time,  it  fails  and
  returns  GrabInvalidTime.   Otherwise,  the  last-keyboard-grab time is set to the specified time (CurrentTime is replaced by the current X
  server time).

  XGrabKeyboard() can generate BadValue and BadWindow errors.

See Also
  XtAddGrab(1), XtGrabButton(1), XtGrabKey(1), XtGrabPointer(1), XtRegisterGrabAction(1), XtUngrabButton(1), XtUngrabKey(1), XtUngrabKey-
  board(1), XtUngrabPointer(1).

Xt - Keyboard Handling														  XtGrabKeyboard()
All times are GMT -4. The time now is 02:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy