Search Results

Search: Posts Made By: Juha
2,806
Posted By Juha
Thanks balajesuri & Chubler_XL!! both solutions...
Thanks balajesuri & Chubler_XL!! both solutions work perfectly :)
2,806
Posted By Juha
awk script to find time difference between HTTP PUT and HTTP DELETE requests in access.log
Hi,

I'm trying to write a script to determine the time gap between HTTP PUT and HTTP DELETE requests in the HTTP Servers access log.

Normally client will do HTTP PUT to push content e.g....
3,103
Posted By Juha
How to print line if two lines above it matches patterns.?
Hi,

I could only find examples to print line before/after a match, but I'd need to print line after two separate lines matching.

E.g.: From the below log entry, I would need to print out the...
Forum: SuSE 09-24-2015
5,416
Posted By Juha
How to configure sntp client with multiple time sources?
Hi,

What is the syntax to configure sntp client to have multiple time sources?
I tried to use the below syntax, but when the src1 is not reachable, the sntp does not even try to sync to src2:
...
Forum: Red Hat 08-17-2015
1,975
Posted By Juha
Automatically updating sudoers User_Alias userlist?
Hi,

I'm just wondering if it is possible to have the User_Alias user list updated when creating a new user?

So, I have the following configuration in /etc/sudoers.d/ADMINUSERS file
...
Forum: IP Networking 03-07-2013
10,442
Posted By Juha
Tcpdump -i any producing duplicate packages?
Hi,

Can anyone explain why do I see same request twice in tcpdump package when I use "tcpdump -i any"?

So I'm tracing packets on eth1.800 interface, but using "tcpdump -i any" to capture them....
1,419
Posted By Juha
Ah :) perfect! Thanks a lot radoulov!
Ah :) perfect! Thanks a lot radoulov!
10,525
Posted By Juha
Perl XML::DOM: How to test if element exists?
Hi,

I'm trying to write a script for some xml file handling, but I'm not getting too far with it.

I've got the following xml content

<?xml version="1.0" encoding="UTF-8"?>
<Test...
1,419
Posted By Juha
Perl: How to delete an entry from hash of lists?
I've got a hash of lists such as below:


%lists = (
"111" => [ "01", "10" ],
"222" => [ "20", "10", "12" ],
"333" => [ "33" ],
);


How do I remove a particular...
8,097
Posted By Juha
Perl script to parse output and print it comma separated
I need to arrange output of SQL query into a comma separated format and I'm struggling with processing the output...

The output is something like this:


<Attribute1 name><x amount of white...
3,133
Posted By Juha
Great! It works perfectly! thanks :)
Great! It works perfectly! thanks :)
3,133
Posted By Juha
Thanks franklin, did not work for me however.. ...
Thanks franklin, did not work for me however..


# awk '/ProcessType:/ && !p {i=-4;p=1} i++ > 0' file
awk: syntax error near line 1
awk: bailing out near line 1


With nawk it executes but...
3,133
Posted By Juha
SED: delete matching row and 4 next rows?
Hi,

Tried to look for solution, and found something similar but could not adapt the solution for my needs..

I'm trying to match a pattern (in this case "ProcessType")in a logfile, then delete...
Forum: Solaris 03-19-2009
1,844
Posted By Juha
Hey, no.. that I did not try.. I ended up going...
Hey, no.. that I did not try.. I ended up going onsite and used the dhcpmgr :)
Forum: Solaris 03-17-2009
1,844
Posted By Juha
delete NISdmain using dhtadm?
Hi,

Does anyone know how could I delete the NISdmain and NISservs from the DHCP configuration table using dhtadm.. or other commandline way. I was not supposed to configure it and I want to remove...
5,520
Posted By Juha
Late thanks for your replies guys :) works fine! ...
Late thanks for your replies guys :) works fine!

//Juha
4,455
Posted By Juha
-nt Test if file1 is newer than file 2. The...
-nt Test if file1 is newer than file 2. The modification date is used for this and the next comparison.
5,520
Posted By Juha
Perl: Better way to match string within a string
Hi,

I'm trying to get one field out of many as follows:

A string of multiple fields separated with "/" characters:
"/ab=12/cd=34/12=ab/34=cd/ef=pick-this.one/gh=blah/ij=something/"

I want...
Forum: Solaris 11-24-2008
5,272
Posted By Juha
Found the problem... corrupted libjvm.so file.. a...
Found the problem... corrupted libjvm.so file.. a bit of a challenge to find that out.

Thanks anyway incredible!
Forum: Solaris 11-23-2008
5,272
Posted By Juha
fatal: relocation error: R_SPARC_WDISP22
Hello,

I wonder if anyone has a clue what could be wrong.

I get the following error on SUN Netra-T4 server when some applications try to start (e.g. slpd) also even if I try commands such as...
Forum: Solaris 06-18-2008
8,663
Posted By Juha
Hi, editing the vfstab did the trick......
Hi,

editing the vfstab did the trick... however I still can't boot up the server, I can run fsck when booting from CD, but when I try to boot the server to single user mode without CD it boots up...
Forum: Solaris 06-17-2008
8,663
Posted By Juha
sd did not work... got an error that cannot open...
sd did not work... got an error that cannot open boot device
Forum: Solaris 06-17-2008
8,663
Posted By Juha
I actually have /pci@1f,0/pci@1/scsi@8/disk@0,0 ...
I actually have /pci@1f,0/pci@1/scsi@8/disk@0,0

not sure if it should disk or sd?
Forum: Solaris 06-17-2008
8,663
Posted By Juha
Solaris 8 booting from wrong device
Hi,

I'm trying to boot solaris 8 box and it seems to boot off from wrong device:


ok boot -s
Boot device: /pci@1f,0/pci@1/scsi@8/disk@0,0:a File and args: -s
SunOS Release 5.8 Version...
5,402
Posted By Juha
Yep :) Samma på finska :D Thanks for both of...
Yep :) Samma på finska :D

Thanks for both of you era and KevinADC!
Showing results 1 to 25 of 46

 
All times are GMT -4. The time now is 01:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy