03-31-2010
I tried the following thing
dmesg >> test
cat /root/test | egrep -i "bad|error|not found|fatal|FATAL|softerror|error|panic|link is down|failing path|checker failed path"
This is working
But how can i sent mail to my outlook if any of these patterns found?
Also i wanted to included if any coredumps observed .
pls help !
sai
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
ok ok ok, this is my third post on the day I become a member. I should stop. I'm sure all my questions are in the wrong forums. I'm sorry.
my question is about lm_sensors, and hardware monitoring.
I have the goods, lm_sensors.tar.gz, and i2c.tar.gz
and I'm rather confusled. could someone... (2 Replies)
Discussion started by: plusran
2 Replies
2. UNIX for Advanced & Expert Users
Hi everybody,
I am currently setting up a web site for customers to place orders. Having placed the order the file will be downloaded onto the Unix server (SCO UNIX v 5.0.4). At this point I need to be able to monitor the system for the file being resident and if it is then perform an action on... (2 Replies)
Discussion started by: cookiejar
2 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I was given the task to write a shell script that must detect hardware problems on Unix Solaris and AIX servers. Problems that should be detected by this script are for example: abnormally high temperature or voltage etc...
So, does anyone know if that kind of information is logged in a... (2 Replies)
Discussion started by: VeroL
2 Replies
4. AIX
Hello again,
I would like to know if the following commands:
diag, errpt, lscfg, lspv, lsvg, lsps, lslv for AIX and
prtdiag, psrinfo, sysdef for SUN are native to these systems or if they are in fact scripts that are added after the unix installation.
Thank you in advance.
Have a nice day (4 Replies)
Discussion started by: VeroL
4 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I am looking for a way to inventory the hardware and software components of many Solaris 8 servers/workstations. I would like to script this to run against a list of IP's in a text file.
For Windows there are many such programs available (like Belarc)
Is there anything similar for... (4 Replies)
Discussion started by: limey
4 Replies
6. Shell Programming and Scripting
Hi there all,
#!/usr/bin/ksh
Set -x
MIN_MB_FREE="100MB" # Min. MB of Free FS Space
MAX_PERCENT="85%" # Max. FS percentage value
FSTRIGGER="1000MB" # Trigger to switch from % Used to MB Free
WORKFILE="/tmp/df.work" # Holds filesystem data
>$WORKFILE #... (0 Replies)
Discussion started by: draco
0 Replies
7. Shell Programming and Scripting
Hi,
Anybody please let me know the command to find the Hardware and Software components used in any HP-UNIX or Sun Solaris UNIX server ? I need to get all the configuration of the UNIX server.
Thanks,
Rohit.. (1 Reply)
Discussion started by: ronix007
1 Replies
8. UNIX for Dummies Questions & Answers
Folks;
What is a good free tool i can use on my SUSE10 to monitor the hardware so i can be notified in case of any failure such as fan failure, etc..? (2 Replies)
Discussion started by: Katkota
2 Replies
9. Windows & DOS: Issues & Discussions
:wall:hi all, as hp support pack has hpasm, hpacu command using in linux server to show and monitor hareware status.
hpacu command was avaialbe in windows server also, but where can find hpasm command in windows, it looks hp support pack not support hpasm in windows. any one can help? an... (1 Reply)
Discussion started by: maxlee24
1 Replies
10. Solaris
We have hardware RAID configured on our T6320 server and two LDOMs are running on this server. One of our disk got failed and replaced. After replacemnt the newly installed disk not detected by RAID controlled so Oracle suggested to upgrade the REM firmware. As this is the standalone production... (0 Replies)
Discussion started by: rock123
0 Replies
LEARN ABOUT CENTOS
runsimtest
RUNSIMTEST(1) IB MANAGEMENT SIMULATOR RUNSIMTEST(1)
NAME
RunSimTest - Run a test over the IB management simulator
SYNOPSYS
RunSimTest [-h] [-o osm-path][-f flow-file][-c checker-file]
-t topology [-n osm-node-name][-p osm-port-num][-s seed][-V verbosity-list]
This command starts the simulator and runs the the given test flow on top of it. Then it runs the checker flow. The default test flow
starts OpenSM and wait for Subnet-Up event. User given flow can make use of the provided facilities for starting OpenSM and tracking it
events.
ARGUMENTS
-t topology
A topology file describing the fabric (see ibdm-topo-file)
OPTIONS
-f flow-file
A tcl file sourced by the sim after the fabric is setup. See following discussion about the provided API and global variables that are
available for the flow.
-c checker-file
A tcl file defining when osm completed and what checks are requierd to validate it's outputs. The procedure named 'checker' is invoked
by the test flow to start the checking flow. The default flow waits for OpenSM to complete setup the fabric and run ibdmchk.
-o osm-path
Full path to OpenSM (/usr/local/ofed/osm-sim/bin/opensm). NOTE OpenSM should be compiled with --with-osmv=sim to be able to connect to
the simulator.
-n osm-node
Topology file node name the SM runs on (default H-1/U1)
-p port-num
Port number the SM attaches to (default 1).
-s seed
Random seed to be used.
-V verbosity-list
Module verbosity list. The first should be the global verbosity. See IBMgtSim for full list of modules. Examples:
-V 0xffff = Full verbosity on all modules
-V '"0x3 server 0x6f2 sma 0xffff"' = Only fatal and error
for all modules full verbosity for the SMA module and default
verbosity for the Server module.
-h This help message
AUTHOR
Eitan Zahavi, Mellanox Technologies LTD, eitan@mellanox.co.il
IBMGTSIM 1.0 2008-06-16 RUNSIMTEST(1)