EasyManuals Logo
Home>IBM>Server>Carrier Grade X3650 T

IBM Carrier Grade X3650 T User Manual

IBM Carrier Grade X3650 T
108 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #59 background imageLoading...
Page #59 background image
IBM® Carrier Grade Server X3650 T
Revision 3.0
51
Quiet (log entry is not returned). Returns zero if an entry is found and non-zero if no
entries are found.
-o <format>
Display log output in user specified format using:
recid - Record ID (1-N)
event_type - Event Type (devadd,devmnt,devchg,devunmnt,
devfail,devrm
dev_type - Device Type (device or key)
severity - Severity ()
time - Time (1-N in seconds)
date - Regular Year-Month-Day and Time (ISO format)
dev - Device (/dev/sdb1,/dev/sdc1,..)
mntpnt - Mount Point (/etc/sysconfig/syscon,
/etc/sysconfig/syscon2,..)
uid - User ID
gid - Group ID
pid - Process ID
pgrp - Process Group ID
nodeid - Machine Node ID
mesg - Message section of the Log entry
Format string fields must be comma separated. The fields will be displayed in the order specified.
The -s option can be used to select the display separator. The default separator is a space.
Example: syscon_log_read -o recid,event_type,dev_type,date "date > 2004-11-03T10:25"
[query string]
The query string allows a user to filter the log file for only certain events. The full query language
is defined in syscon_query
(1) man page. Three examples are provided below:
The following query string will limit the displayed entries to only key insertions:
syscon_log_read "event_type = devadd && dev_type = key"
The following query string will limit the displayed entries to events with record IDs between 5 and
10: syscon_log_read "recid > 4 && recid <= 10"
The following query string will show all events that contain the string "changed" in the message
portion of the event entry: syscon_log_read "data contains changed"
-s space,comma,semicolon
This option allows you to force a special separator. The default is to separate fields with a
space character, but a "," or ";" may also be specified with this option.
Example:
syscon_log_read -f -o recid,event_type,dev_type,severity,pid,date
"dev_type = device && date > 2005-03-10T09:45"
7 devchg device INFO 7683 2005-03-10T09:56
8 devunmnt device ALERT 7683 2005-03-10T09:57
9 devmnt device INFO 7683 2005-03-10T09:57
syscon_log_write – Utility (for super-user only) that generates syscon
device events such as device add, remove, mount, umount. Usage:
Usage: syscon_log_write [armufdp] –p mntpnt –d dev message
-a Send a SysCon device add event.
-r Send a SysCon device remove event.
-m Send a SysCon device mount event.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM Carrier Grade X3650 T and is the answer not in the manual?

IBM Carrier Grade X3650 T Specifications

General IconGeneral
BrandIBM
ModelCarrier Grade X3650 T
CategoryServer
LanguageEnglish

Related product manuals