03-22-2015
Are those spaces or tabs?
Some syslog implementations require the use of tabs.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I want to log-in to a remote server using shell script.
The server requires the following while allowing a connection:
username
password
one - letter authorisation.
How can i implement this in my script?
thanks,
abey (6 Replies)
Discussion started by: abey
6 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
Well I've had a bit more experience with Unix-like environments since my last post, now that I have started working on my website in earnest and am doing much of the file manipulation via the command line through SSH.
The thing is, I want to be able to log all console activity,... (4 Replies)
Discussion started by: patwa
4 Replies
3. Solaris
Hi,
I have Sun One Application server installed on 2 Solaris servers. Currently I am getting their logs in relative server. I am using log4j for logging. Now I want to change this. I want such that I should get both S1AS's log on third server with log4j. How can I do that ?
I got one idea... (0 Replies)
Discussion started by: neel.gurjar
0 Replies
4. HP-UX
Hi,
I wonder if anyone is able to assist me.
I have a HP UX server and some HP UX workstations that has been migrated from another network. I have changed the IP Addresses and everything seems to be working fine.
However, the users are complaining that they are unable to login to the UX... (1 Reply)
Discussion started by: michaelgim
1 Replies
5. BSD
Hi,
The output of the cat ttys on a free BSD m/c
console none unknown off secure
#
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0 "/usr/libexec/getty std.9600" unknown on secure
ttyd1 "/usr/libexec/getty std.9600" dialup off
ttyd2... (0 Replies)
Discussion started by: mlalitha
0 Replies
6. Shell Programming and Scripting
Hello everybody,
I have one small issue... :(
When i'm trying to connect another unix box through below script..
#!/usr/bin/bash
ssh $1 <<EOF
Commands
.
.
exit
EOF
But getting some syntax error "-sh: syntax error at line 2: `end of file' unexpected". I used to use... (2 Replies)
Discussion started by: raghu.iv85
2 Replies
7. Shell Programming and Scripting
My intention is to log the output to a file as well as it should be displayed on the console > I have used tee ( tee -a ${filename} ) command for this purpose. This is working as expected for first few outputs, after some event loggin nothing is gettting logged in to the file but It is displaying... (3 Replies)
Discussion started by: sanoop
3 Replies
8. UNIX for Dummies Questions & Answers
Hi,
my question is probably quite easy. On one linux machine I have messages being constantly being written to /var/log/messages. An ntpd message comes in every few seconds. I can see new ones with tail messages. On the other machine there seems to be no messages arriving in /var/log/messages.... (3 Replies)
Discussion started by: jackiebaron
3 Replies
9. Solaris
Dear all,
i have two users user1 and user2 i want force user1 to login first by user2 and then su - user1
i want to prevent logging user1 from console directly (5 Replies)
Discussion started by: maxim42
5 Replies
10. UNIX and Linux Applications
i am new to scripting ,i need bash script in jump server to pull the /etc/passwd of all servers and the ssh keys are installed (3 Replies)
Discussion started by: profiles
3 Replies
eli(8) System Manager's Manual eli(8)
Name
eli - error log initialization program
Syntax
eli [ options ]
Description
The command initializes error logging. This command enables error logging of hardware and system-related error packets, or error messages,
from the kernel errorlog buffer. It can also disable error logging, reconfigure error logging parameters, or initialize the kernel error-
log buffer.
Options
-d Disables error logging.
-e Enables error logging in multiuser mode.
-f Forces the subsequent option; the system will not prompt. This is the only command option you can use with another option.
-h Prints information about the command.
-i Initializes the kernel errorlog buffer. The previous contents of the errorlog buffer are lost.
-l Logs a one-line status message to the kernel errorlog buffer.
-n Only supported for local error logging. Disables logging error packets to disk by the daemon. High priority error messages continue
to be printed at the console. Note that error log packets can be viewed by using the option in real time, but are never written to
the disk. For this reason, this option is rarely used.
-q Suppresses the periodic display, on the console, of the missed error message that results from a full kernel errorlog buffer.
-r Reconfigures error logging. Use this option after changing the file.
-s Enables error logging in single-user mode.
-w Enables the missed error message to appear on the console every 15 minutes. This option is the opposite of
Examples
This example logs a one-line message into the errorlog file.
eli -f -l "This is a test message"
This example logs a message, up to and including the first new line, from the file
eli -f -l < myfile > /dev/null
Restrictions
You must have superuser privileges to use the command.
Only the -f option can be used with other options. You must use the syntax shown in the examples above.
Diagnostics
eli: Request Aborted.
The requested action was aborted. The reason for the aborted command is included with the output.
Files
See Also
elcsd.conf(5), elcsd(8), uerf(8)
Guide to the Error Logger
eli(8)