07-12-2013
Am so happy for the above explanations dude,, Thanks a lot for spending your valuable time for answering this question and doubts...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I need to get current error messages with time from alert.log.Below is my shell script but it's not working to meet this objective.
could anyone pls share on the above issue for resolution:
####################################################################
## ckalertlog.sh ##... (2 Replies)
Discussion started by: a1_win
2 Replies
2. Solaris
Hi,
I would like to move all files that are updated in last 10 hrs. to some temporary folder.
Please help. (3 Replies)
Discussion started by: sanjay1979
3 Replies
3. UNIX for Dummies Questions & Answers
I want to add a crontab entry which should execute for every 4 hours and that 4 hours calculation should begin from the current time.
Normally if I set the crontab entry like this,
00 */4 30 05 * root date >>/tmp/cronout
The above will execute the date command for every 4 hours like... (7 Replies)
Discussion started by: Ganeshwari
7 Replies
4. Shell Programming and Scripting
How can view log messages between two time frame from /var/log/message or any type of log files.
when logfiles are very big and especially many messages with in few minutes, I would like to display log messages between 5 minute interval.
Could you pls give me the command? (1 Reply)
Discussion started by: johnveslin
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I want to add some hours and minutes to the current date. For example, if the current date is "July 16, 2012 15:20", i want to add 5 hours 30 minutes to "July 16, 2012 00:00" not to "July 16, 2012 15:20". Please help.
Thanks! (4 Replies)
Discussion started by: manojgarg
4 Replies
6. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
Show all users who are currently logged in, sorted from earliest to latest log in time. The log in time includes the month, day, and time.
2. Relevant commands, code, scripts, algorithms:
finger, who, sort, pipe, head, tail,
... (8 Replies)
Discussion started by: vtmd
8 Replies
7. Shell Programming and Scripting
I have created the script to grep the errors from weblogic logs files and redirecting output to file.txt ...From file.txt I'm using awk command to collect the past 20 mins output...The script running from cron every 15 mins... The script working well...
Now the challenges, I'm trying to use... (27 Replies)
Discussion started by: zenkarthi
27 Replies
8. Shell Programming and Scripting
HI,
I want to search for a logs which are trace between specific date and time from logs file.
My logs are generated like this :-
Tue Jun 18 05:00:02 EEST 2013 | file_check.sh| Message:script has files to process.
Thu Jun 20 05:00:02 EEST 2013 | file_check.sh| Message:script has files to... (5 Replies)
Discussion started by: ketanraut
5 Replies
9. Shell Programming and Scripting
Hello,
I wanted to search specific string in the acitve log file and send an email if the search string found in the log.
Log file is written by application all the time. So, script has to search if any new log entry has the specific string for example " sample exception" and send an email. (1 Reply)
Discussion started by: balareddy
1 Replies
10. Shell Programming and Scripting
hi can any one please help on below .im new to shell scrpting
i need to write a shell script which will check particular log file is presented or not in specific location ,if yes how long it was not modified/not rolling ?if its not modified/log is not rolling script will have to send mail (9 Replies)
Discussion started by: 4Learning
9 Replies
PARTY(1) General Commands Manual PARTY(1)
NAME
party - set OS responses mode
SYNOPSIS
party ON|OFF|WHEREIS [ - ] dnv
DESCRIPTION
Operating systems being what they are, the admin people can easily grow tired of command responses that resemble dyslexic eugene-
speak filtered through Kernighan and Ritchie's collective back-brains. To alleviate this, we have included a slightly more
`casual' mode, in which the responses to all commands are first filtered through a customising routine (DUDE) , which makes them
sound a little more friendly while retaining their full information content (usually). The rooted(c) system prompt is changed to
`What now, dude?' and output from each command is terminated by `No problem, dude.'
OPTIONS
-v Verbose mode (ALL commands have a `verbose' mode). When this option is present, all filtered responses are preceeded by a
message: `This response has been parsed by the DUDE filter and is not intended to be some sort of sleazy come-on.'
-d Don't restart all processes after recompiling the /uselss/libs/eugene file (see below). This alows any important tasks to
complete beforehand.
-n Notify all users that they are about to be force-logged out and force-logged in again.
ON Activates the DUDE filter.
OFF De-activates the DUDE filter.
WHEREIS
Doesn't do anything, but we couldn't resist it.
EXAMPLES
%-) party on
What now, dude?
To compare the differing responses, here is output provided by the ispi -s command, with party OFF and party ON:
party OFF
line who why how long
==========================================================
000 rooted that's you, dweeb! epoch
----------------------------------------------------------
00F wp she's supposed to be 0:44:12
typing up the end of
financial year report,
but she's been doing her
resume when she thinks
no-one is watching
----------------------------------------------------------
014 maint playing games, as usual 0:51:16
party ON
Well, let's see who's on, eh? There's you, of course, on line 000 (Imagine that! Hahaha!) Oh look, on serIOus line 00F, it's that
cute little secretary - looks like she's lost her keyboard template again, she's been hitting the escape key for the past five minutes!
AND OF COURSE, the guys down in maintenance are playing `cosmic ballcrushers'. As usual. Well, who else, um, no-one really
interesting like, ya know, oh hang on, DTR is toggling on serIOus line 03D.. oh, no problem, it's that stuffed modem again. You want
maybe I should send some AMail to maintenance and get 'em to look at it? No problem, dude.
What now, dude?
FILES
/uselss/libs/bill&ted/DUDE
This is the pipe process, usually
started at system shoe, which lies
idle until party ON is issued.
/uselss/libs/eugene
Contains all of the ordinary, ho-hum
confusing computer - jargonese
responses which commands ordinarily
issue. Text file.
/uselss/libs/eugene.spoo
compiled version of the eugene file.
/ephemeral/eugene.chex
Checksum for the compiled eugene file.
SEE ALSO
crp(1), stuffio(2), doobrie(9), gouge(3), ftang(65534), wi(-1), edmond(29), jumpstart(2), vo_mit(992)
BUGS
The -n option can be slow.
If the n option is issued, some users in a wi editing session may not receive the `warning, restart imminent' message until after the
restart.
There is no way selectively to follow symbolic links.
Sunburne Computer, Inc. 9 October 1991
Aug 18, 1997 PARTY(1)