03-07-2009
Thank you for your reply . I have applied the command, but I am getting an error as
# awk -F'[ :]' '{_[$1 $2 $3 $4 $13]++} _[$1 $2 $3 $4 $13]>2 {print $10}' access.log
awk: cmd. line:2: fatal: cannot open file `access.log' for reading (No such file or directory)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello
I need to show my MAC-Adress on a Unix System, is there someone that know how? (2 Replies)
Discussion started by: nkochr
2 Replies
2. Solaris
Hello together
how can I find a ipadress from a login into remote system console?
Thanks a lot
Urs (1 Reply)
Discussion started by: MuellerUrs
1 Replies
3. AIX
hello
I need for a script to capture the ip address from the connected user.
I have 5 logical partitions.
With "who", i have the ip adress, but only for 2 servers.
Do you know another command to know the ip address of connected clients ?
thank you (14 Replies)
Discussion started by: pascalbout
14 Replies
4. HP-UX
I want change my IP address and hostname in my machine by use the console. Can any one tell me how can I execute that by command ?
Thanks & Regards (1 Reply)
Discussion started by: magasem
1 Replies
5. Shell Programming and Scripting
Dear All,
Please can you help me to crack this query?
If the log files for the task above all had a naming convention of myoutput_YearMonthDay.log (i.e. myoutput_20060215) How would you find only those log files created between the 10th and the 20th of each month going back the last 365 days.... (1 Reply)
Discussion started by: justin_mca
1 Replies
6. IP Networking
well i'm trying to change the ip adress on an old alphaserver runing tru64 4.0F using the
ifconfig hme0 IP_ADDRESS mask MASK broadcast BROADCAST
and when i check it using ifconfig -a it shows the new ip and all is well
but when the server is rebooted it reverts back to the old ip (3 Replies)
Discussion started by: randUSR()
3 Replies
7. Shell Programming and Scripting
This is probably a real n00b question but i`m not able to figure it out.
I have a folder of configuration files that contain IP-adresses. The line i`m interested in looks like this:
IP_ADDRESS="123.123.123.1123"
Some have muliple ip adresses, so the line will look like :
... (5 Replies)
Discussion started by: DaneV
5 Replies
8. Shell Programming and Scripting
Hi All,
I have a file which is "|" pipe delimited. The file has 3 fields. the last field contains email ids which has different host names.
I want to sort the file based on host name, which is in 3rd filed and needs to create a file for each host.
For example, if out of 1000 records, 10... (6 Replies)
Discussion started by: ace_friends22
6 Replies
9. IP Networking
Hello, I have a problem of routing traffic on two virtual interfaces I have created on my machine (CentOs6)
By using tunctl I created two virtual interfaces tap1 and tap2
let s imagine I gave them two different address
tap1: 10.1.1.1 net 255.255.255.0
tap2: 10.1.2.1 net 255.255.255.0
... (0 Replies)
Discussion started by: nicandro
0 Replies
10. UNIX for Beginners Questions & Answers
+ 8.00747 /NodeList/0/DeviceList/0/$ns3::PointToPointNetDevice/TxQueue/Enqueue ns3::PppHeader (Point-to-Point Protocol: IP (0x0021)) ns3::Ipv4Header (tos 0x0 DSCP Default ECN Not-ECT ttl 63 id 0 protocol 17 offset (bytes) 0 flags length: 540 10.1.3.3 > 10.1.2.4) ns3::UdpHeader (length: 520 49153 >... (11 Replies)
Discussion started by: Nipa
11 Replies
LEARN ABOUT OSF1
strclean
strclean(8) System Manager's Manual strclean(8)
NAME
strclean - Removes outdated STREAMS error log files
SYNOPSIS
/usr/sbin/strclean [-d logdir] [-a age]
FLAGS
Specifies a maximum age in days for the STREAMS error log files if this not the default age of 3. The value of age must be an integer
greater than or less than 3. Specifies a directory for the location of the STREAMS error log files to be removed if this is not the
default directory /var/adm/streams.
DESCRIPTION
The strclean command cleans the STREAMS error logger directory of log files (error.mm-dd) that contain error messages sent by the STREAMS
log driver (strlog). If no other directory is specified (the logdir argument), the command removes error log files in the /var/adm/streams
directory. If no other age is specified (the age argument), the command removes error log files that have not been modified in 3 days.
The strclean command is executed by the cron daemon on a periodic basis.
EXAMPLES
To remove the day-old error log files from a directory called /tmp/streams, enter: strclean -d /tmp/streams -a 1
FILES
One or more error log file or files on which strclean operates. The mm.dd in the filename indicates the month and day of the messages con-
tained in the file.
RELATED INFORMATION
Commands: strerr(8), cron(8).
Interfaces: strlog(7). delim off
strclean(8)