Hey Guys, thanks for the replies...
Yea I guess its a feature of my Bash Version 4.2.42(1) Shell.
If you look at my .bash_history file you can see every other line has a UNIX timestamp and in between are the actual
commands. So I guess the history command then converts the timestamp to a normal date formatted string and outputs like:
Thanks Again,
Matt
Hi,
I wanna to find files with specific date and time. I know this command: ls -ltr /system1/*.505 | grep 'Jan 18 09:00'.
I want the 'Jan 18 09:00' not hard coded, I want it coming from the system date and time. And I want the time varies from 09:00-09:05.
Is this possible without heavy... (3 Replies)
Hello,
I have a process a.out that runs from /a and /b
How can I get the pid of the one running from /a
ps -C /a/a.out
does not work
Thanks! (4 Replies)
I have a script which archives log file events which are 90-days old. Script works fine but I wanted some input on one aspect of this script. My nawk statement, bolded below, that removes events 90-days prior from today, I need it to find anything 90-days or older. The log file date pattern looks... (0 Replies)
Hi,
I have these changes needed to modify a shell script that will run on a specific date of a month, below pseudocode, appreciate any answers..thanks..
if date of the month is 26th then
..event 1
fi
if date of the month is 26th and month are MAR,JUN,SEP,DEC then
..event2
... (7 Replies)
I can't get this to work. Running a single command works fine:
find . -name "*.dat" -exec wc -l '{}' \;
gives me the file name and number of lines in each .dat file in the directory.
But what if I want to pipe commands, e.g. to grep something and get the number of lines with that pattern... (3 Replies)
hi all
I would like to help me find the problem with this script to find and print to the screen a specific date of a log file that I have on my server, the date it is received as the first argument in the script $ 1
Here I show you a few lines that made the idea of my log file:
****... (4 Replies)
Dear all,
kindly i have some files with different dates i need to grep word from these files but i need to search in files with date 2012-12-02 not all files in this directory
do u have any command (4 Replies)
Hello All,
I have written a script which which is working fine to a certain logic of it. But i want a part of the script to run two commands at 00:10 hrs every day. These two command are
1. rm -rf /path/to/folder
2. mail the content of a file.
How do i achieve this. Thanks.
... (4 Replies)
Hi,
I am looking to find files of a specific date.
I am on Sun Solaris so newermt doesnot work..
I thought of using mtime but not getting how to use it.
Please help me with this..
Regards
Abhinav (3 Replies)
I want to get list of linux commands used on Jan 01 2014 with the help of HISTORY command or some other linux commands,.
Kindly help. (3 Replies)
Discussion started by: karthick nath
3 Replies
LEARN ABOUT CENTOS
xcb_randr_set_crtc_config_unchecked
xcb_randr_set_crtc_config(3) XCB Requests xcb_randr_set_crtc_config(3)NAME
xcb_randr_set_crtc_config -
SYNOPSIS
#include <xcb/randr.h>
Request function
xcb_randr_set_crtc_config_cookie_t xcb_randr_set_crtc_config(xcb_connection_t *conn, xcb_randr_crtc_t crtc, xcb_timestamp_t timestamp,
xcb_timestamp_t config_timestamp, int16_t x, int16_t y, xcb_randr_mode_t mode, uint16_t rotation, uint32_t outputs_len, const
xcb_randr_output_t *outputs);
Reply datastructure
typedef struct xcb_randr_set_crtc_config_reply_t {
uint8_t response_type;
uint8_t status;
uint16_t sequence;
uint32_t length;
xcb_timestamp_t timestamp;
uint8_t pad0[20];
} xcb_randr_set_crtc_config_reply_t;
Reply function
xcb_randr_set_crtc_config_reply_t *xcb_randr_set_crtc_config_reply(xcb_connection_t *conn, xcb_randr_set_crtc_config_cookie_t cookie,
xcb_generic_error_t **e);
REQUEST ARGUMENTS
conn The XCB connection to X11.
crtc TODO: NOT YET DOCUMENTED.
timestamp TODO: NOT YET DOCUMENTED.
config_timestamp
TODO: NOT YET DOCUMENTED.
x TODO: NOT YET DOCUMENTED.
y TODO: NOT YET DOCUMENTED.
mode TODO: NOT YET DOCUMENTED.
rotation TODO: NOT YET DOCUMENTED.
outputs_len
TODO: NOT YET DOCUMENTED.
outputs TODO: NOT YET DOCUMENTED.
REPLY FIELDS
response_type
The type of this reply, in this case XCB_RANDR_SET_CRTC_CONFIG. This field is also present in the xcb_generic_reply_t and can be
used to tell replies apart from each other.
sequence The sequence number of the last request processed by the X11 server.
length The length of the reply, in words (a word is 4 bytes).
status TODO: NOT YET DOCUMENTED.
timestamp TODO: NOT YET DOCUMENTED.
DESCRIPTION RETURN VALUE
Returns an xcb_randr_set_crtc_config_cookie_t. Errors have to be handled when calling the reply function xcb_randr_set_crtc_config_reply.
If you want to handle errors in the event loop instead, use xcb_randr_set_crtc_config_unchecked. See xcb-requests(3) for details.
ERRORS
This request does never generate any errors.
SEE ALSO AUTHOR
Generated from randr.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
XCB 2014-06-10 xcb_randr_set_crtc_config(3)