9 More Discussions You Might Find Interesting
1. Ubuntu
I have a user who's having troubles logging into one of my servers, that is authenticating with AD. After glancing over /etc/passwd, I found the users account is different than mine and others who aren't having any issues. What's the difference between these two accounts? What's the "1 60 14 60" ?... (1 Reply)
Discussion started by: Nvizn
1 Replies
2. UNIX for Dummies Questions & Answers
I am totally new to shell scripting. I want to see people from which domain access my website. I want to generate the domain names from IP addresses in the Apache access.log file.
There are around 54 log files. I concatenate all the files into one.
I am using Ubuntu 12.04 LTS.
So I... (4 Replies)
Discussion started by: Ronni
4 Replies
3. Shell Programming and Scripting
when i run this command:
tail -200 /var/log/httpd/access_log | awk -F'' '{sub(/:*$/,"",$2);print $2}'
i get:
13/Aug/2012:20:56
13/Aug/2012:20:56
13/Aug/2012:20:56
13/Aug/2012:20:56
13/Aug/2012:20:56
13/Aug/2012:20:56
13/Aug/2012:20:56
13/Aug/2012:20:56
13/Aug/2012:20:56... (3 Replies)
Discussion started by: SkySmart
3 Replies
4. Shell Programming and Scripting
In part of my script I use awk to pull out the urls.
awk '{print $8}' then I take them and send them to grep.`
Some of them are straight .com/ or .org or whatever (address bar entries), while others are locations of images, js, etc.
I'm trying to only pull any line that ends with .com/... (11 Replies)
Discussion started by: druisgod
11 Replies
5. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
Write a parser for a web server access log that will provide the statistics outlined below. Remember to format your output in a neat form. You may complete this assignment with one Awk script or a shell script using a combination of... (6 Replies)
Discussion started by: codyhazelwood
6 Replies
6. Solaris
The localhost-access.log has a size 3gb. What can apache2 break log on the parts 300mb, or the other issue, make log every week and index it with prifix current date(localhost-access_date.log)?
Please help. (3 Replies)
Discussion started by: sotich82
3 Replies
7. Shell Programming and Scripting
I am trying to get the content of Apache access.log file for the current date for viewing purposes.
I can get it with the following sed command
sed -n '/09\/Oct\/2008/,/09\/Oct\/2008/p' access.log | less
now I want to enhance it such that it will automatically take current date instead of... (4 Replies)
Discussion started by: ysprathap
4 Replies
8. UNIX for Dummies Questions & Answers
Solaris 8 OS
I believe root access is being logged by my server but I only see it being written to the terminal. I want to know if there is a log file and how to not just log root access but if I can also log the IP address from which it is coming?
Thanks in advance. (1 Reply)
Discussion started by: dsbeck
1 Replies
9. Shell Programming and Scripting
I need help with one of my log files I got following format:
This is only a smal part of the file !
.........
--------------------------------------
2003-08-05 12:23:13.939781
logNo : 1380008
Server started - Activate; 10.48.4.51
--------------------------------------
2003-08-05 ... (4 Replies)
Discussion started by: joerg
4 Replies