a thought - why not clear the messages everyday after storing it into a log file with current date? a cron should do.
---------- Post updated at 11:53 PM ---------- Previous update was at 11:48 PM ----------
I just noticed the logs are already rotated. Not sure if your system does it. Check these files
On a second thought I guess these are created either when the system boots up or shuts down.
---------- Post updated 03-19-14 at 12:00 AM ---------- Previous update was 03-18-14 at 11:53 PM ----------
Script log_dmesg
Cron entry
and may be include some log rotation logic if needed.
Oct 22 13:40:07 snmpdx: community_check() : bad community from
Oct 22 13:40:07 snmpdx: session_open() failed for a pdu received from
any help?
thanks (4 Replies)
hey,i use freeBSD 4.7stable, dmesg returns me a tons of info like:
ax R *Handler Int
16 aio_max R *Handler Int
17 aio_prio_delta_max R *Handler Int
18 delaytimer_max R *Handler Int
19 mq_open_max R *Handler Int
20 pagesize R *Handler Int
21 rtsig_max R *Handler Int... (6 Replies)
hi,
when i do a "dmesg" command, i saw many of this message appeared.
Nov 12 07:00:20 catty graph_ftp: graph_ftp ftp faild
it seems like it has some problems with my gftp application?
pls tell me what's wrong and how to solve it.
thanks alot. (1 Reply)
Hi all,
I have a very weard error message in my dmesg output, and I cannot find the solution in google. Does anyone know what it might be ?
Equivalently mapped reserve pool exhausted;
Overall application performance may be improved by increasing the "eqmemsize" tunable parameter (currently... (3 Replies)
I am setting up a printer for a friend. I've built the box using (Gnu/Linux), Slackware-current, Kernel 2.6.7. I have the same setup. Currently the only way I have access to my friends machine is across the Internet via SSH, so I'm unable to manually check cabling at the moment.
On my Slackware... (0 Replies)
hi all,
this is my permenent error.how to clear this error permenently...
please help me out. here is my error output.
please tell me clearly as i am very new to Linux(beginner)
hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error:... (2 Replies)
When running dmesg, the output is a long list of the following:
ACPI Error: No object attached to node 0xffffff00016622e0 20090521 exresnte-211
ACPI Error (uteval-0329): Method execution failed (Node 0xffffff00016622e0), AE_AML_NO_OPERAND
As a workaround I resort to sysctl, which gives... (0 Replies)
Dear All,
I am looking to enable Date and time in dmesg output for for centos 5.8.
Unfortunately the current version doesn't support -T option.
Also i am looking for solutions which can enable the date& time via kernal or updating the dmesg utility.
or maybe via single command line.
... (3 Replies)
Dear All ,
Very recently I find there are a lot of I/O errors in our Red HAt Linux Server.
Pl find the below
end_request: I/O error, dev sdcp, sector 0
sd 7:0:0:32784: SCSI error: return code = 0x00010000
end_request: I/O error, dev sdn, sector 0
sd 7:0:0:33289: SCSI error: return... (7 Replies)
Discussion started by: jegaraman
7 Replies
LEARN ABOUT OPENSOLARIS
sulog
sulog(4) File Formats sulog(4)NAME
sulog - su command log file
SYNOPSIS
/var/adm/sulog
DESCRIPTION
The sulog file is a record of all attempts by users on the system to execute the su(1M) command. Each time su(1M) is executed, an entry
is added to the sulog file.
Each entry in the sulog file is a single line of the form:
SU date time
result port user-newuser
where
date The month and date su(1M) was executed. date is displayed in the form mm/dd where mm is the month number and dd is the day
number in the month.
time The time su(1M) was executed. time is displayed in the form HH/MM where HH is the hour number (24 hour system) and MM is the
minute number.
result The result of the su(1M) command. A ` + ' sign is displayed in this field if the su attempt was successful; otherwise a ` - '
sign is displayed.
port The name of the terminal device from which su(1M) was executed.
user The user id of the user executing the su(1M) command.
newuser The user id being switched to with su(1M).
EXAMPLES
Example 1 A sample sulog file.
Here is a sample sulog file:
SU 02/25 09:29 + console root-sys
SU 02/25 09:32 + pts/3 user1-root
SU 03/02 08:03 + pts/5 user1-root
SU 03/03 08:19 + pts/5 user1-root
SU 03/09 14:24 - pts/5 guest3-root
SU 03/09 14:24 - pts/5 guest3-root
SU 03/14 08:31 + pts/4 user1-root
FILES
/var/adm/sulog su log file
/etc/default/su contains the default location of sulog
SEE ALSO su(1M)SunOS 5.11 6 Jun 1994 sulog(4)