Search Results

Search: Posts Made By: xdawg
722
Posted By xdawg
Restoring Centos after rebuild?
So I'm going to rebuild a Centos server in order to have the disk encrypted, it's a clean install (no data on it yet) other than it was tricky getting the GPU/drivers to work properly.

So I want...
1,091
Posted By xdawg
Encryption in Linux?
Hi, we have a brand new Centos 6.8 build, and after some discussion it seems that there is some interest in securing the entire system using whole disk encryption.

What is/are the best option/s,...
Forum: Red Hat 02-01-2017
989
Posted By xdawg
Cloning an empty sever (except OS) onto a smaller drive?
Actually this is a Centos 6.x question, but I think it fits here.

I have a client that has a pretty beefy server that will be running all sorts of VMs once I unleash it to the developers. For...
1,209
Posted By xdawg
NFS question when you have a subdirectory that you don't want to be shared?
I have a somewhat interesting problem, we've decided to load balance a java application and as such I'll be running our application on four physical machines as opposed to the single machine it's...
3,255
Posted By xdawg
Cronjob output to file AND to email (as attachment)
I have a shell script that runs on our webserver logs, and grabs various useful data and then outputs this data to a .csv file.

What I want to do now is schedule a cronjob to run this script for...
3,495
Posted By xdawg
Ok yeah that makes sense, thanks
Ok yeah that makes sense, thanks
3,495
Posted By xdawg
Thanks again Don! :b:
Thanks again Don! :b:
3,495
Posted By xdawg
Ok sorry, lets see if I can clarify from the...
Ok sorry, lets see if I can clarify from the following log sample:



qtp111659197-5776 - 05-26@09:37:34:240 INFO (TimingInfoProxy.java:41) -...
3,495
Posted By xdawg
Agreed. :b: Thanks for the hint. So...
Agreed. :b:



Thanks for the hint. So here's what I did below:

awk '
match($0, /"username":"[^"]*"/) {
split($3, d, "@")
user = substr($0, RSTART + 12, RLENGTH - 17)
...
3,495
Posted By xdawg
Awesome, that worked perfectly. Many...
Awesome, that worked perfectly.

Many thanks again to both Don and Rudi!

---------- Post updated 05-29-15 at 11:24 AM ---------- Previous update was 05-28-15 at 08:06 PM ----------

Ok, so...
3,495
Posted By xdawg
Thanks RudiC, the output was mostly correct,...
Thanks RudiC, the output was mostly correct, however some lines of output were just blank space after the date (I added the commas so later I can output into csv easily):

3, 05-22 ,

Hmm, I'm...
3,495
Posted By xdawg
The log entries that I would like excluded do not...
The log entries that I would like excluded do not contain "username":"email@address"So basically I only want entries that do contain "username":"email@address" to be displayed in the output
3,495
Posted By xdawg
It returns the data I need, the only other issue...
It returns the data I need, the only other issue is that it also returns counts for entries that aren't user related as the log files do contain entries that don't have to do with user activity.
...
3,495
Posted By xdawg
Sorry about that, after your initial response I...
Sorry about that, after your initial response I realized what I omitted what I thought was useless data was in fact important data for this task :)


Sorry for the confusion on this too, the...
3,495
Posted By xdawg
Thanks, yes I would like the output sorted by...
Thanks, yes I would like the output sorted by increasing alphanumeric username as primary sort key, and increasing data & time as the secondary (I didn't find out until today that they want the time...
3,495
Posted By xdawg
Completey new to scripting, question/help?
So I need to write a script that can parse our logs and give me the amount of daily activity per user on our website. Unfortunately I'm still learning the very basics so please bear with me :eek:....
1,145
Posted By xdawg
Ok thanks, that's what I needed to know :b:
Ok thanks, that's what I needed to know :b:
1,145
Posted By xdawg
Cron job question
Hi,
I have a cron job that I want to run twice a week, on Tues/Thurs, and I want it to run three times - specifically at 10pm, 11:10pm, and 12:20am respectively.

I "think" the way to do this...
Forum: Red Hat 01-18-2015
2,194
Posted By xdawg
Ok, so I'm looking at it now, I have the MAC...
Ok, so I'm looking at it now, I have the MAC addresses for the new NICs. However, it insists that eth0 is not present.

Doing and ifconfig -a shows me new devices, eth6 eth7 eth8 and eth9 have...
Forum: Red Hat 01-17-2015
2,194
Posted By xdawg
Centos server, had to replace the motherboard now the embedded NICs don't work
Basically what the title says. Had to replace the motherboard on an HP DL380 G6 today, of course now the embedded NICs don't work because the ifcfg-eth files have the MAC addresses for the embedded...
Forum: Red Hat 12-19-2014
1,189
Posted By xdawg
I want to centralize user authentication
Right now it is just a simple environment consisting of a small number of CentOS boxes, but I would like to set up central user authentication to make things easier, especially as we expand (I've...
Forum: Red Hat 12-09-2014
1,355
Posted By xdawg
Yep, that's what I needed to know, thanks!
Yep, that's what I needed to know, thanks!
Forum: Red Hat 12-08-2014
1,355
Posted By xdawg
Best solution for a network share?
This is in a CentOS 6 environment, our developer needs to be able to specify a relative path to a shared folder so that four machines can all point to the same shared directory, so I need to know the...
1,786
Posted By xdawg
I don't know, that's what I'm trying to figure...
I don't know, that's what I'm trying to figure out :D

I emailed the guy but he has yet to respond, but I'm guessing it has something to do with the way he has them clustered.

The way...
1,786
Posted By xdawg
Apologies, I will remember that in the future :b:...
Apologies, I will remember that in the future :b:

These interfaces do show up in ifconfig, however none of them show as being up so quite frankly I'm not sure why they're there.

I was able to...
Showing results 1 to 25 of 31

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