Sponsored Content
Operating Systems Linux SuSE Non root user want to see /var/log/messages - any suse equivalent of Solaris dmesg Post 302915857 by frustrated1 on Friday 5th of September 2014 06:44:12 AM
Old 09-05-2014
Non root user want to see /var/log/messages - any suse equivalent of Solaris dmesg

Hi

New to Suse - mainly used Solaris.
In solaris dmesg will also show you contents of messages log file but in Suse Liux it doesnt appear to.

I dont have root access to this Suse server, and wondering is there any other tool / utility that allows me to see the messages file contents like on Solaris?



Thanks
 

9 More Discussions You Might Find Interesting

1. Solaris

diff b/w /var/log/syslog and /var/adm/messages

hi sirs can u tell the difference between /var/log/syslogs and /var/adm/messages in my working place i am having two servers. in one servers messages file is empty and syslog file is going on increasing.. and in another servers message file is going on increasing but syslog file is... (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

2. Solaris

Difference between dmesg and /var/adm/messages?

Can anyone explain me the difference between difference between dmesg and /var/adm/messages in solaris. I tried to find out the difference but I didn't get much info on that. As per my knowledge both are used to check the logs.. (3 Replies)
Discussion started by: rogerben
3 Replies

3. UNIX for Dummies Questions & Answers

dmesg equivalent of shutdown messages

dmesg is used to print bootup messages. How can i get/read the shutdown log messages? (1 Reply)
Discussion started by: proactiveaditya
1 Replies

4. UNIX for Advanced & Expert Users

/var/adm/messages vs /var/log/messages

The /var/adm/messages in Solaris seem to log more system messages/errors compared to /var/log/messages in Linux. I checked the log level in Linux and they seem OK. Is there any other log file that contains the messages or is it just that Linux doesn't log great many things? (2 Replies)
Discussion started by: gomes1333
2 Replies

5. Emergency UNIX and Linux Support

/var/log/wtmp SuSE log permission rollback

Hello All, On my SuSE system, I have wtmp log this log file permission is 644 but every reboot the file permission rollback to 664. In the logrotate.conf and logrotate.d/wtmp files the wtmp logrotate set to 644. I would like to know, which "file" or "script" modify the wtmp log to rollback to... (7 Replies)
Discussion started by: kalaso
7 Replies

6. Solaris

Difference between /var/log/syslog and /var/adm/messages

Hi, Is the contents in /var/log/syslog and /var/adm/messages are same?? Regards (3 Replies)
Discussion started by: vks47
3 Replies

7. UNIX for Dummies Questions & Answers

/etc/sudoers for allowing oracle user to /var/log/messages

So I want the DBA to access /var/log/messages and so I logged in as root and then edited the sudoers file as follows "oracle ALL= (root) /bin/view, /var/log/messages" However when I login as oracle and try "sudo more /var/log/messages" I get Sorry, user oracle is not allowed to... (1 Reply)
Discussion started by: gubbu
1 Replies

8. Shell Programming and Scripting

Log all the commands input by user at real time in /var/log/messages

Below is my script to log all the command input by any user to /var/log/messages. But I cant achieve the desired output that i want. PLease see below. function log2syslog { declare COMMAND COMMAND=$(fc -ln -0) logger -p local1.notice -t bash -i -- "$USER:$COMMAND" } trap... (12 Replies)
Discussion started by: invinzin21
12 Replies

9. Shell Programming and Scripting

Transfer the logs being thrown into /var/log/messages into another file example /var/log/volumelog

I have been searching and reading about syslog. I would like to know how to Transfer the logs being thrown into /var/log/messages into another file example /var/log/volumelog. tail -f /var/log/messages dblogger: msg_to_dbrow: no logtype using missing dblogger: msg_to_dbrow_str: val ==... (2 Replies)
Discussion started by: kenshinhimura
2 Replies
dmesg(1M)																 dmesg(1M)

NAME
dmesg - collect system diagnostic messages to form error log SYNOPSIS
DESCRIPTION
looks in a system buffer for recently printed diagnostic messages and prints them on the standard output. The messages are those printed by the system when unusual events occur (such as when system tables overflow or the system crashes). If the argument is specified, com- putes (incrementally) the new messages since the last time it was run and places these on the standard output. This is typically used with (see cron(1)) to produce the error log by running the command: every 10 minutes. The arguments and allow substitution for the defaults and where should be a file containing the image of the kernel virtual memory saved by the savecrash(1M) command and should be the corresponding kernel. If the system is booted with a kernel other than /stand/vmunix say /stand/vmunix_new, must be passed this name, the command must be, WARNINGS
The system error message buffer is of small, finite size. is run only every few minutes, so there is no guarantee that all error messages will be logged. AUTHOR
was developed by the University of California, Berkeley. FILES
error log (conventional location) memory scratch file for option special file containing the image of kernel virtual memory the kernel, system name list SEE ALSO
savecrash(1M). dmesg(1M)
All times are GMT -4. The time now is 03:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy