hi ,
sometimes an important console messages is logged on the server .
but these messages only shown on console .
some messages may be important and need to be seen on ssh terminal .
how to see theses messages on the ssh terminal ,
its not important to be on ssh only , i mean if there an access file where theses console messages is logged , it would be another pretty solution .
regards
how to see the console messages from sshd terminal ??
-
- Posts: 78
- Joined: 2013/01/19 13:04:07
- Contact:
Re: how to see the console messages from sshd terminal ??
tail /var/log/messages
If you want it "live":
tail -f /var/log/messages
or try dmesg for bootup and other event messages.
If you want it "live":
tail -f /var/log/messages
or try dmesg for bootup and other event messages.
-
- Posts: 78
- Joined: 2013/01/19 13:04:07
- Contact:
Re: how to see the console messages from sshd terminal ??
[quote]
philr5150 wrote:
tail /var/log/messages
If you want it "live":
tail -f /var/log/messages
or try dmesg for bootup and other event messages.[/quote]
hi ,
thanks very much
ive tested it , but it dont show all the logs .
i mean that there are another logs not shown in the file log above !
regards
philr5150 wrote:
tail /var/log/messages
If you want it "live":
tail -f /var/log/messages
or try dmesg for bootup and other event messages.[/quote]
hi ,
thanks very much
ive tested it , but it dont show all the logs .
i mean that there are another logs not shown in the file log above !
regards
Re: how to see the console messages from sshd terminal ??
Well if you're looking for something specific, go to /var/log and see what files are in there. For example, httpd logs are (usually) in /var/logs/httpd. So you'd have to see what you have.
If you want something specific - like SMART disc issues or something - you'd need to say so we know where to guide you. You're asking for a specific answer to a generic question, not easy to give that :-)
If you want something specific - like SMART disc issues or something - you'd need to say so we know where to guide you. You're asking for a specific answer to a generic question, not easy to give that :-)