All Questions
235
questions
14
votes
1
answer
73k
views
How to check Ubuntu crash log in last session?
My headless Ubuntu (11.10) crashed. When I plug in keyboard and monitor, I see an non-interactive cursor (no blink) on a black screen. SSh, telnet don't work from other machines. Ping works.
I have ...
13
votes
5
answers
24k
views
Text / log editor with auto-refresh support [closed]
I'm looking for a text editor / log manager of some kind that will automatically refresh a file's contents when it changes.
I have a single target log file (e.g. current.log) that is overwritten ...
12
votes
4
answers
5k
views
Walk me through the Linux log files (please)
I just tried loading a 2MB file in gedit and it silently died on me. I was wondering if anything might appear in a log file that might help me diagnose this: I checked syslog and found out it ...
12
votes
4
answers
24k
views
logrotate unable to rotate logs, getting "No such file error"
logrotate is unable to rotate my logs. I have checked the file permissions, they are fine.
I have even tried by putting "su root root" in the configuration file, still I am facing the same issue.
...
11
votes
1
answer
10k
views
How to stop journalctl showing audit logs and only keep it in a file?
I would like to have all auditd logs only in it's own log file and keep my journalctl view less polluted with events that most of the time, are generated by my own actions (single-user/personal ...
9
votes
2
answers
55k
views
How to change log level in /var/log/messages?
I'm running SUSE Linux Enterprise Server 10, SP2 (SLES10 SP2), and am seeing a large number of what support calls cosmetic errors being logged to /var/log/messages.
Does anyone know of a way to ...
8
votes
5
answers
17k
views
Writing a CPU/RAM usage log over a period of time to file on CentOS
I'm looking for an application or line of code that would let me observe a process, save the info in a number of variables, then put the gathered info on a file.
I've been trying with variations of ...
8
votes
4
answers
29k
views
Redirecting command output in docker
I want to do some simple logging for my server which is a small Flask app running in a Docker container.
Here is the Dockerfile
# Dockerfile
FROM dreen/flask
MAINTAINER dreen
WORKDIR /srv
# Get ...
8
votes
2
answers
19k
views
Where to look when the system crashes or something else horrible goes down?
My Linux Mint workstation is acting funky, it appears to be logging me out randomly, though I'm guessing what's really happening is that the X desktop is crashing. Maybe.
How do I troubleshoot this? ...
7
votes
3
answers
11k
views
logging RAM memory high-water mark of a Linux process
I would like to log the RAM memory high-water mark of a Linux process (kernel 3.2.0-36) by the time the process finishes. I am calling the process inside a Perl script. Something like:
my $cmd = "...
7
votes
3
answers
15k
views
What does "Still Running" mean (Linux)?
$ last -x reboot
reboot system boot 4.4.0-46-generic Mon Nov 14 12:15 still running
What does the "still running" mean at the end of the log entry?
Did the server reboot?
Is it going try later?
Is ...
6
votes
2
answers
20k
views
How can I view live logs on a Linux server (Ubuntu)
How can I view a live log on a Linux server, so that I can see new log entries instantly as they are being added?
6
votes
2
answers
5k
views
Specify top's screen width in batch mode
I am logging the output of: top -b -n1 -c so I can keep track of which processes are using how much memory and CPU each minute. When top shows the full command line (-c), the command line text gets ...
6
votes
2
answers
2k
views
Where to find Ubuntu One logs
Ubuntu one does not synchronize files since I upgraded from 9.10 to 10.04. The preferences panel keeps showing "Synchronization in progress...", but files are not downloaded from the repository. It ...
6
votes
1
answer
21k
views
Journalctl shows logs from about last hour only
I have a problem with journalctl logs, which doesn't show me logs older than about one hour.
First log entry is from about one hour ago, instead of 2 days as requested.
$ date -u
Wed May 13 08:59:21 ...