06-30-2014
So what have you done so far?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
Let me know how to write a script that
runs a <a backup command> to check the backups of a particular client
from the last_night & today' dates
and print the out. (2 Replies)
Discussion started by: new2prog
2 Replies
2. UNIX for Dummies Questions & Answers
Hello everybody, iam new to unix. here is a question i had.
when i run errpt -a , sample out put is as follows
LABEL: FCP_ARRAY_ERR4
IDENTIFIER: D5385D18
Date/Time: Mon Sep 25 11:15:59
Sequence Number: 182869
Machine Id: 000166784C00
Node Id: ... (0 Replies)
Discussion started by: karthikosu
0 Replies
3. Shell Programming and Scripting
Hello everyone,
By any chance, anyone has a script (shell) that I can modify for the following:
I have daily log files and they look like:
Accept aabbcc "111.11.111.111 uid=MyID, ou=People, o=helloworld.com" "webagent"
Reject aabbcc "111.11.111.111 uid=MyID, ou=People,... (11 Replies)
Discussion started by: cmontr
11 Replies
4. Shell Programming and Scripting
Hi,
I am a newbie in unix.
I have to solve a problem.
I have a file ( properties.file) with different (key=value) values, as below
agent.x=xyz
agent.y=xyz
agent.z=xyz
I have some other files in the system in different locations with different (key=value) values.
... (5 Replies)
Discussion started by: raghu.amilineni
5 Replies
5. AIX
Hi
Is there a way to re-generate AIX error report after clearing it? I mean if I did errclear 0, Does the error log get erased? Is there a command that will get entries back in errpt?
I hope that made sense. (5 Replies)
Discussion started by: Dardeer
5 Replies
6. Shell Programming and Scripting
Hi Guys,
Error report is still displaying on the console after executing the below command. Is there any error in the syntax?
check_event=$(cat /sbt/driver/RegressionTests/ResultsArchive/${environment}/$backupPath/TestEvents.txt | g
rep "Test Cases FAIL" | cut -c 18-) 2> log2 (4 Replies)
Discussion started by: ajincoep
4 Replies
7. UNIX for Dummies Questions & Answers
Google is not helpful here.
It is probably trivial but I can't get my head around it.
How do I capture an error which crashes out due to say a syntax error to a file?
(Note that I manually reset error.log to zero length.)
Consider this junk code:-
#!/bin/sh
# Launch as ./trap.sh... (2 Replies)
Discussion started by: wisecracker
2 Replies
8. AIX
Hi Gurus,
Here is a requirement from my side, i have a script root password expiary, means this script will examine if root password has been expired or not,
if it's expired then it will write into a file and mail to certain mail id till here everything is fine. But i want it to write to errpt,... (3 Replies)
Discussion started by: linux.amrit
3 Replies
9. AIX
Hi
i need to understand what "errpt -s 0328000014" will do in script.
will this only capture data for 28th march at 00:00 hrs. if issue happen it is ok else nothing
or for 28th march and onwords it will run and and check every day at 00:00 hrs for issue to occur
below is the snippet... (1 Reply)
Discussion started by: scriptor
1 Replies
10. UNIX for Beginners Questions & Answers
Hi all
I have a unix script that generates a report with the following information:
uptime, mounted file systems, disk usage (> 90% --> critical, <75%-90%> --> warning, < 75% healthy), Mem usage, CPU usage and load average.
But I would like to create one single report containing all this... (5 Replies)
Discussion started by: fretagi
5 Replies
SA2(8) Linux User's Manual SA2(8)
NAME
sa2 - Write a daily report in the /var/log/sa directory.
SYNOPSIS
/usr/lib64/sa/sa2
DESCRIPTION
The sa2 command is a shell procedure variant of the sar command which writes a daily report in the /var/log/sa/sardd file, where the dd
parameter indicates the current day. The sa2 command handles all of the flags and parameters of the sar command.
The sa2 command is designed to be started automatically by the cron command.
EXAMPLES
To run the sa2 command daily, place the following entry in your root or adm crontab file:
5 19 * * 1-5 /usr/lib64/sa/sa2 -A &
This will generate a daily report called /var/log/sa/sardd It will also remove reports more than one week old.
FILES
/var/log/sa/sardd
Indicate the daily report file, where the dd parameter is a number representing the day of the month.
AUTHOR
Sebastien Godard (sysstat <at> orange.fr)
SEE ALSO
sar(1), sadc(8), sa1(8), sadf(1)
http://pagesperso-orange.fr/sebastien.godard/
Linux AUGUST 2010 SA2(8)