Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
34 - 1
#!/bin/sh
2
#  This shell script can be executed by mcelog in daemon mode when a sockets
3
#  receives Bus and Interconnect errors
4
#
5
# environment:
6
# MESSAGE	Human readable consolidated error message
7
# LOCATION	Consolidated location as a single string
8
# SOCKETID	Socket ID of CPU that includes the memory controller with the DIMM
9
# CPU		Linux CPU number that triggered the error
10
# SET		PCI segment number
11
# BUS		PCI bus number
12
# DEVICE	PCI device number
13
# FUNCTION	PCI function number
14
#
15
# note: will run as mcelog configured user
16
# this can be changed in mcelog.conf
17
 
18
logger -s -p daemon.err -t mcelog "$MESSAGE"
19
logger -s -p daemon.err -t mcelog "Location: $LOCATION"
20
 
21
[ -x ./iomca-error-trigger.local ] && . ./iomca-error-trigger.local
22
 
23
exit 0