05-16-2012
Quote:
Originally Posted by Corona688
I don't know if you even have screen, and aren't an expert on using it.
Do you even have screen?
whereis screen
Also:
introduction to screen
This User Gave Thanks to Corona688 For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
The developers want me to search and capture the weblogic log, you know this big logs of htmls.
They want to me to have ranges on the date and time. Like
from "2010-01-20 14:04:46,186" to "2010-01-20 15:00:12,490"
I can only do this,
cat /usr/local/bea/logs_prod1/debug.log |... (1 Reply)
Discussion started by: itik
1 Replies
2. Linux
Hi All,
The developers want me to search and capture the weblogic log, you know this big logs of htmls.
They want to me to have ranges on the date and time. Like
from "2010-01-20 14:04:46,186" to "2010-01-20 15:00:12,490"
I can only do this,
cat /usr/local/bea/logs_prod1/debug.log... (1 Reply)
Discussion started by: itik
1 Replies
3. Shell Programming and Scripting
Hi Folks,
I have to monitor a several logs file which I do mostly by tails -f command but now I want that when i tail the logs it should show me the logs of 10 mins before as I do not want to see the logs of all the time which are even 1 hour old i, i just want to see the latest logs of 20... (1 Reply)
Discussion started by: punpun66
1 Replies
4. Shell Programming and Scripting
Hi Gurus
I need to collect the logs between two time stamp... The log files 12 hours format (ex- Nov 14, 2013 12:10:16 AM UTC) I tried the below commands but no luck.
awk '$0 >= "Nov 14, 2013 9:40:01" && $0 <= "Nov 14, 2013 9:55:01"' file
sed -n '/Nov 14, 2013 7:58:00 PM UTC/,/Nov 14, 2013... (5 Replies)
Discussion started by: zenkarthi
5 Replies
5. Shell Programming and Scripting
Hi,
I have been working on the error Log script, where errors are pulled from server.
I need to pull the data of the error logs between two dates & time, for example :
22/12/2014 20:00:00
22/12/2014 22:00:00
Whatever error have came during this duration.
Now the question is the record... (6 Replies)
Discussion started by: amitgpta90
6 Replies
6. Shell Programming and Scripting
Hi, please help me to collect the entire log files between two time stamp.
for example,
I am looking script to collect the entire log between "2015-03-27 15:59" to "2015-03-27 16:15" in the below sample log file.
OS : RHEL 6.3
Date/Time : 24 hours format, the time is printing each log... (12 Replies)
Discussion started by: jerryknj
12 Replies
7. Shell Programming and Scripting
I am creating log monitoring script and stuck up to get the logs between two time stamp.
can you please help me to create the script to get the logs between two time stamp, for example, I need the complete logs between # Time: 150328 1:30:10 and # Time: 150328 19:10:57
OS : Cent OS 6.x... (8 Replies)
Discussion started by: zenkarthi
8 Replies
8. Shell Programming and Scripting
I want to extract the logs between the current time stamp and 15 minutes before and sent an email to the people configured. I developed the below script but it's not working properly; can someone help me?? I have a log file containing this pattern:
Constructor QuartzJob
... (3 Replies)
Discussion started by: puneetkhullar
3 Replies
9. Shell Programming and Scripting
Hi Guys, I'm very new to Shell scripting and have to design a code which I'm not able to find a way to. I will try to explain the aim in detail and shall be obliged if anyone could help me with the coding snippet.
I have an input file who's every row has a few details about an autosys Job. I shall... (0 Replies)
Discussion started by: Crusnik02
0 Replies
10. UNIX for Beginners Questions & Answers
Hi Guys, I'm very new to Shell scripting and have to design a code which I'm not able to find a way to. I will try to explain the aim in detail and shall be obliged if anyone could help me with the coding snippet.
I have an input file who's every row has a few details about an autosys Job. I shall... (1 Reply)
Discussion started by: Crusnik02
1 Replies
LEARN ABOUT ULTRIX
defaultgcofscreen
BlackPixelOfScreen(3X11) MIT X11R4 BlackPixelOfScreen(3X11)
Name
BlackPixelOfScreen, WhitePixelOfScreen, CellsOfScreen, DefaultColormapOfScreen, DefaultDepthOfScreen, DefaultGCOfScreen, DefaultVisualOf-
Screen, DoesBackingStore, DoesSaveUnders, DisplayOfScreen, XScreenNumberOfScreen, EventMaskOfScreen, HeightOfScreen, HeightMMOfScreen, Max-
CmapsOfScreen, MinCmapsOfScreen, PlanesOfScreen, RootWindowOfScreen, WidthOfScreen, WidthMMOfScreen - screen information functions and
macros
Syntax
BlackPixelOfScreen(screen)
WhitePixelOfScreen(screen)
CellsOfScreen(screen)
DefaultColormapOfScreen(screen)
DefaultDepthOfScreen(screen)
DefaultGCOfScreen(screen)
DefaultVisualOfScreen(screen)
DoesBackingStore(screen)
DoesSaveUnders(screen)
DisplayOfScreen(screen)
int XScreenNumberOfScreen(screen)
Screen *screen;
EventMaskOfScreen(screen)
HeightOfScreen(screen)
HeightMMOfScreen(screen)
MaxCmapsOfScreen(screen)
MinCmapsOfScreen(screen)
PlanesOfScreen(screen)
RootWindowOfScreen(screen)
WidthOfScreen(screen)
WidthMMOfScreen(screen)
Arguments
screen Specifies a pointer to the appropriate structure.
Description
The macro returns the black pixel value of the specified screen.
The macro returns the white pixel value of the specified screen.
The macro returns the number of colormap cells in the default colormap of the specified screen.
The macro returns the default colormap of the specified screen.
The macro returns the default depth of the root window of the specified screen.
The macro returns the default GC of the specified screen, which has the same depth as the root window of the screen.
The macro returns the default visual of the specified screen.
The macro returns or which indicate whether the screen supports backing stores.
The macro returns a Boolean value indicating whether the screen supports save unders.
The macro returns the display of the specified screen.
The function returns the screen index number of the specified screen.
The macro returns the root event mask of the root window for the specified screen at connection setup.
The macro returns the height of the specified screen.
The macro returns the height of the specified screen in millimeters.
The macro returns the maximum number of installed colormaps supported by the specified screen.
The macro returns the minimum number of installed colormaps supported by the specified screen.
The macro returns the number of planes in the root window of the specified screen.
The macro returns the root window of the specified screen.
The macro returns the width of the specified screen.
The macro returns the width of the specified screen in millimeters.
See Also
AllPlanes(3X11), ImageByteOrder(3X11), IsCursorKey(3X11)
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
BlackPixelOfScreen(3X11)