Sponsored Content
Operating Systems AIX How to determine what process is actively using my harddisk? Post 302338260 by depam on Monday 27th of July 2009 11:22:47 AM
Old 07-27-2009
Hi zaxxon,

Thanks for the prompt reply. I will try this tomorrow.
 

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
XGrabKeyboard(3X11)						     MIT X11R4						       XGrabKeyboard(3X11)

Name
       XGrabKeyboard, XUngrabKeyboard - grab the keyboard

Syntax
       int XGrabKeyboard(display, grab_window, owner_events, pointer_mode, keyboard_mode, time)
	  Display *display;
	  Window grab_window;
	  Bool owner_events;
	  int pointer_mode, keyboard_mode;
	  Time time;

       XUngrabKeyboard(display, time)
	  Display *display;
	  Time time;

Arguments
       display	 Specifies the connection to the X server.

       grab_window
		 Specifies the grab window.

       keyboard_mode
		 Specifies further processing of keyboard events.  You can pass or

       owner_events
		 Specifies a Boolean value that indicates whether the keyboard events are to be reported as usual.

       pointer_mode
		 Specifies further processing of pointer events.  You can pass or

       time	 Specifies the time.  You can pass either a timestamp or

Description
       The function actively grabs control of the keyboard and generates and events.  Further key events are reported only to the grabbing client.
       overrides any active keyboard grab by this client.  If owner_events is all generated key events are reported with respect to grab_window.
       If owner_events is 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 and events are always reported, independent of any event selection made by the client.

       If the keyboard_mode argument is 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 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 releasing 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 pointer event processing is unaffected by activation of the grab.  If pointer_mode is 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 releas-
       ing 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, fails and returns If grab_window is not viewable, it fails and returns If the
       keyboard is frozen by an active grab of another client, it fails and returns If the specified time is earlier than the last-keyboard-grab
       time or later than the current X server time, it fails and returns Otherwise, the last-keyboard-grab time is set to the specified time is
       replaced by the current X server time).

       can generate and errors.

       The function releases the keyboard and any queued events if this client has it actively grabbed from either or does not release the key-
       board and any queued events if the specified time is earlier than the last-keyboard-grab time or is later than the current X server time.
       It also generates and events.  The X server automatically performs an request if the event window for an active keyboard grab becomes not
       viewable.

Diagnostics
       Some numeric value falls outside the range of values accepted by the request.
		 Unless a specific range is specified for an argument, the full range defined by the argument's type is accepted. Any argument
		 defined as a set of alternatives can generate this error.

       A value for a Window argument does not name a defined Window.

See Also
       XAllowEvents(3X11), XGrabButton(3X11), XGrabKey(3X11), XGrabPointer(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															       XGrabKeyboard(3X11)
All times are GMT -4. The time now is 06:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy