Search Results

Search: Posts Made By: john_prince
2,790
Posted By john_prince
Thanks a lot!
Thanks a lot!
2,790
Posted By john_prince
Hi Rudic, Being a biologist, I do get to...
Hi Rudic,

Being a biologist, I do get to work on awk very often, since this is typically a complex requirement, I thought of giving it a try.

I tried with headers part of it, but frankly not...
2,790
Posted By john_prince
Hi Rudic, This looks excellent. I have...
Hi Rudic,

This looks excellent.

I have two minor changes.

1. I need to print header only once.
2. Also, there should be a new first column "Timestamp" where timestamp value will be place...
2,790
Posted By john_prince
Each new set of data will start using timestamp...
Each new set of data will start using timestamp beginning with zzz.

zzz ***Wed Dec 16 10:32:30 GMT 2015

---------- Post updated at 11:48 PM ---------- Previous update was at 02:41 AM...
2,790
Posted By john_prince
Thanks a lot. One last query, in my file, I...
Thanks a lot.

One last query, in my file, I would have multiple set of data like this, ie. starting with timestamp. Is it possible to loop through the data?

Again appreciate your help.
2,790
Posted By john_prince
Yes, indeed. I planned to remove the two extra...
Yes, indeed. I planned to remove the two extra lines using sed, but that does not seem to work post removal.

Any suggestion how I can modify the code.
2,790
Posted By john_prince
I mentioned seems to work because now I am trying...
I mentioned seems to work because now I am trying with real data, and I see that it misses the first header ( ie vda ).


zzz ***Wed Dec 16 10:32:30 GMT 2015
avg-cpu: %user %nice %system...
2,790
Posted By john_prince
Thanks Rudic. This seems to work. Appreciate...
Thanks Rudic.

This seems to work. Appreciate if you can elaborate a bit. Being a biologist I do not use awk much, and to me this look pretty complex.
2,790
Posted By john_prince
Hi Jim, I looked at those results, but do...
Hi Jim,

I looked at those results, but do not find any similarities.

First thing seems complex is how to merge headers, while having data mapped.
2,790
Posted By john_prince
Convert rows into column along with header
Hi,

I have a requirement to format the data in a new order. Here is my source format :



ppp ***Wed Dec 16 10:32:30 GMT 2015
header1 header2 header3 header4 header5

server1 0.00 0.02...
1,674
Posted By john_prince
Thank you, i have got it.
Thank you, i have got it.
1,674
Posted By john_prince
I am using this within a perl script.
I am using this within a perl script.
1,674
Posted By john_prince
Regex Question
Hi I am trying to match lines having following string

BIND dn="uid=

putting something like this is not working :

/\sBIND dn="uid=/

Any suggestion.

Thanks. John
2,148
Posted By john_prince
Here is the larger set of data, as mentioned...
Here is the larger set of data, as mentioned previously we need to identify the occurrence and then perform an internal action, I need the code to identity the occurence :


[04/Jun/2013:13:06:13...
2,148
Posted By john_prince
Hi, Let me explain again - We're...
Hi,

Let me explain again -

We're looking for users who are making more than 3 heavy searches, within the log it will appear as "SRCH=Q".

As listed below in the log, what we would like to do...
2,084
Posted By john_prince
Thanks this is working! .
Thanks this is working! .
2,084
Posted By john_prince
Hi, can someone else help me with the...
Hi,

can someone else help me with the script?

John
2,084
Posted By john_prince
Hi, Thank you for the update. I am trying...
Hi,

Thank you for the update. I am trying to run, it is giving me syntax for the following line :

*) echo "Only y or n allowed."


- John
2,084
Posted By john_prince
Input for multiple files.
Hi,

I am trying to come up with a script, and would like the script to pick all the files place within a folder and interactive take my yes/no before processing within the command. Could you...
Forum: Solaris 04-05-2011
3,363
Posted By john_prince
Thank you!
Thank you!
Forum: Solaris 04-04-2011
3,363
Posted By john_prince
Thanks for sending the command, here is my...
Thanks for sending the command, here is my prtdiag output, is there any way I could know that if they've any slot free to put one more RAM :

prtdiag
System Configuration: Sun Microsystems ...
Forum: Solaris 04-04-2011
3,363
Posted By john_prince
Solaris Specs
Hi,

I have been requested for a complete hardware specs of Solaris 9 OS, and I need to do this for some 56 servers.

I was wondering if someone has some script will which pull everything, or a...
3,497
Posted By john_prince
command taking lot of time to execute
Hi,

I am running the following command, and it tries to delete some dn from ldap, however, it takes lot of time before it finally request LDAP server to delete it.

I am trying to find why it...
2,075
Posted By john_prince
Thank You !
Thank You !
2,075
Posted By john_prince
Thank you very much - it works. I have two...
Thank you very much - it works. I have two following questions:

1. If you see below output, first and second column are overlapping, which parameter i should increase to accommodate longer...
Showing results 1 to 25 of 106

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