Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dpmsgettimeouts(3) [x11r4 man page]

DPMSGetTimeouts(3)						    X FUNCTIONS 						DPMSGetTimeouts(3)

NAME
DPMSGetTimeouts - retrieves the timeout values used by the X server for DPMS timings SYNOPSIS
cc [ flag ... ] file ... -lXext [ library ... ] #include <X11/extensions/dpms.h> Bool DPMSGetTimeouts ( Display *display, CARD16 *standby, CARD16 *suspend, CARD16 *off ); ARGUMENTS
display Specifies the connection to the X server standby Specifies the current standby timeout in seconds suspend Specifies the current suspend timeout in seconds off Specifies the current off timeout in seconds DESCRIPTION
The DPMSGetTimeouts function retrieves the timeout values used by the X server for DPMS timings. The value standby is the amount of time of inactivity in seconds before standby mode is invoked. A value of zero indicates that this mode has been disabled. The value suspend is the amount of time of inactivity in seconds before the second level of power savings is invoked. A value of zero indicates that this mode has been disabled. The value off is the amount of time of inactivity in seconds before the third and final level of power savings is invoked. A value of zero indicates that this mode has been disabled. RETURN VALUES
TRUE The DPMSGetTimeouts function returns TRUE when values are returned. FALSE The DPMSGetTimeouts function returns FALSE when no values returned. SEE ALSO
DPMSCapable(3), DPMSInfo(3), DPMSSetTimeouts(3) X Version 11 libXext 1.0.5 DPMSGetTimeouts(3)

Check Out this Related Man Page

DPMSGetTimeouts(3)						    X FUNCTIONS 						DPMSGetTimeouts(3)

NAME
DPMSGetTimeouts - retrieves the timeout values used by the X server for DPMS timings SYNOPSIS
cc [ flag ... ] file ... -lXext [ library ... ] #include <X11/extensions/dpms.h> Bool DPMSGetTimeouts ( Display *display, CARD16 *standby, CARD16 *suspend, CARD16 *off ); ARGUMENTS
display Specifies the connection to the X server standby Specifies the current standby timeout in seconds suspend Specifies the current suspend timeout in seconds off Specifies the current off timeout in seconds DESCRIPTION
The DPMSGetTimeouts function retrieves the timeout values used by the X server for DPMS timings. The value standby is the amount of time of inactivity in seconds before standby mode is invoked. A value of zero indicates that this mode has been disabled. The value suspend is the amount of time of inactivity in seconds before the second level of power savings is invoked. A value of zero indicates that this mode has been disabled. The value off is the amount of time of inactivity in seconds before the third and final level of power savings is invoked. A value of zero indicates that this mode has been disabled. RETURN VALUES
TRUE The DPMSGetTimeouts function returns TRUE when values are returned. FALSE The DPMSGetTimeouts function returns FALSE when no values returned. SEE ALSO
DPMSCapable(3), DPMSInfo(3), DPMSSetTimeouts(3) X Version 11 libXext 1.3.2 DPMSGetTimeouts(3)
Man Page

12 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

hdparm standby

Hi! I have a harddrive that I use in school. I allso wanna use it at home... It's built into a 5.25" rack, and is non-hotswap. My rack has a power key wich I can use to unpower the device. My question is, does the drive take damage if I just umount and run hdparm -y <dev> on it? 1.... (2 Replies)
Discussion started by: Esaia
2 Replies

2. UNIX for Dummies Questions & Answers

calculate the time differnce between two given timings

I want to calculate the time differnce between two given timings but i don't know how . Can you help me please ? (1 Reply)
Discussion started by: Olti
1 Replies

3. UNIX for Dummies Questions & Answers

Daylight savings change

Hey guys, How do i check and see if my server will automatically adjust itself for daylight savings? Thanks! (6 Replies)
Discussion started by: kingdbag
6 Replies

4. AIX

hacmp 5.3 primary and standby?

Hi All, How do I determine if a hacmp 5.3 server is a primary or a standby? Thanks in advance. (2 Replies)
Discussion started by: itik
2 Replies

5. Shell Programming and Scripting

compound Bash if then statement question

I am writing a Bash script that will either clone a database or setup a standby database. So Parameter 2 will be the operation type. If the value is not clone or standby I want to throw an error message. I suppose I can also do a case block. So far i have been unable to get the syntax working... (1 Reply)
Discussion started by: gandolf989
1 Replies

6. AIX

strange route issue in powerha 5.4?

hi all we upgraded hacmp(powerha) from 5.2 to 5.4 recently . during the failover testing, we found a strange network issue. after standby node took service ip address (172.15.100.8) online at standby NIC, we were able to log in the standby node by telnet 172.15.100.8 which stays at... (1 Reply)
Discussion started by: rs6000er
1 Replies

7. Solaris

IPMP active-standby configuration

Hi All, Need your help to explaining why when i configure 2 interface IPMP active-standby appear, INACTIVE and DEPRECATED parameter, detail screen shoot as below : root@machine01 # ifconfig -a e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 7 inet... (6 Replies)
Discussion started by: Wong_Cilacap
6 Replies

8. Shell Programming and Scripting

How to calculate time difference between start and end time of a process!

Hello All, I have a problem calculating the time difference between start and end timings...! the timings are given by 24hr format.. Start Date : 08/05/10 12:55 End Date : 08/09/10 06:50 above values are in mm/dd/yy hh:mm format. Now the thing is, 7th(08/07/10) and... (16 Replies)
Discussion started by: smarty86
16 Replies

9. UNIX for Advanced & Expert Users

Kill a process after a certain amount of time

I would like to kill a process after a certain amount of time. Can I please get some ideas on how to do this? (9 Replies)
Discussion started by: cokedude
9 Replies

10. UNIX for Dummies Questions & Answers

Does rsync check and ignore files that already exist?

Hi, We have two (2) servers named primary and standby. There is a directory named /db01/archive that we need to keep in-sync. Files get transferred from primary and standby. Sometimes when we do a failover or when there is a network issue, some files fail to get transferred. I want to use... (3 Replies)
Discussion started by: newbie_01
3 Replies

11. AIX

SEA to standby

hello, what will happen if i try to move sea of my 1 vio server to standby( using chdev command), when sea of other vio server is already in standby mode? (1 Reply)
Discussion started by: amvineeth
1 Replies

12. Solaris

Best practise for keeping cronjobs across 2 servers in sync

Hi all, I have 2 server A and B. B is acting as standby for A. The cronjobs running in A must not be run in B until failover. The activation of cronjobs in B can be manual. In server A, I am doing the following 1) create a cron/job script that does "crontab -l >... (5 Replies)
Discussion started by: javanoob
5 Replies