I am looking for something similar to the windows SEARCH FILES comman
with the option "files containing ..." (that is where I can specify a
string and it will find all files containing that string -- not just having
the string as part of the name but actually containing it in the text).
Is there
[EMAIL PROTECTED] írta:
I am looking for something similar to the windows SEARCH FILES comman
with the option "files containing ..." (that is where I can specify a
string and it will find all files containing that string -- not just having
the string as part of the name but actually containin
[EMAIL PROTECTED] a écrit :
I am looking for something similar to the windows SEARCH FILES comman
with the option "files containing ..." (that is where I can specify a
string and it will find all files containing that string -- not just having
the string as part of the name but actually contain
[EMAIL PROTECTED] schrieb:
> I am looking for something similar to the windows SEARCH FILES comman
> with the option "files containing ..." (that is where I can specify a
> string and it will find all files containing that string -- not just having
> the string as part of the name but actually con
[EMAIL PROTECTED] wrote:
I am looking for something similar to the windows SEARCH FILES comman
with the option "files containing ..." (that is where I can specify a
string and it will find all files containing that string -- not just having
the string as part of the name but actually containing
[EMAIL PROTECTED] wrote:
> I am looking for something similar to the windows SEARCH FILES comman
> with the option "files containing ..." (that is where I can specify a
> string and it will find all files containing that string -- not just
> having the string as part of the name but actually contai
On Fri, Oct 3, 2008 at 6:54 AM, Bo Lynch <[EMAIL PROTECTED]> wrote:
> On Fri, October 3, 2008 10:00 am, [EMAIL PROTECTED] wrote:
>>
>> I am looking for something similar to the windows SEARCH FILES comman
>> with the option "files containing ..." (that is where I can specify a
>> string and it will
On Fri, Oct 3, 2008 at 7:24 AM, Akemi Yagi <[EMAIL PROTECTED]> wrote:
> On Fri, Oct 3, 2008 at 6:54 AM, Bo Lynch <[EMAIL PROTECTED]> wrote:
>>
>> I would recommend taking a look at grep. THere are many ways you can use it.
>
> One such example is:
>
> find . -type f -exec grep -il !* {} \; -exec g
On Fri, October 3, 2008 10:00 am, [EMAIL PROTECTED] wrote:
>
> I am looking for something similar to the windows SEARCH FILES comman
> with the option "files containing ..." (that is where I can specify a
> string and it will find all files containing that string -- not just
> having
> the string a
On Fri, 2008-10-03 at 16:04 +0200, Niki Kovacs wrote:
> [EMAIL PROTECTED] a écrit :
> > I am looking for something similar to the windows SEARCH FILES comman
> > with the option "files containing ..." (that is where I can specify a
> > string and it will find all files containing that string -- n
On Fri, Oct 3, 2008 at 7:27 AM, Akemi Yagi <[EMAIL PROTECTED]> wrote:
> On Fri, Oct 3, 2008 at 7:24 AM, Akemi Yagi <[EMAIL PROTECTED]> wrote:
>> On Fri, Oct 3, 2008 at 6:54 AM, Bo Lynch <[EMAIL PROTECTED]> wrote:
>>>
>>> I would recommend taking a look at grep. THere are many ways you can use it.
>
MHR wrote:
> On Fri, Oct 3, 2008 at 7:27 AM, Akemi Yagi <[EMAIL PROTECTED]> wrote:
> > On Fri, Oct 3, 2008 at 7:24 AM, Akemi Yagi <[EMAIL PROTECTED]> wrote:
> > > On Fri, Oct 3, 2008 at 6:54 AM, Bo Lynch
> > > <[EMAIL PROTECTED]> wrote:
> > > >
> > > > I would recommend taking a look at grep. THe
On Fri, Oct 3, 2008 at 1:08 PM, Bowie Bailey <[EMAIL PROTECTED]> wrote:
>
> Or you can do it like this:
>
> find . -type f -exec grep -H {} \;
>
Or this:
grep -rH .
Wait, that's too short
:-)
mhr
___
CentOS mailing list
CentOS@centos.org
http:/
Akemi Yagi wrote:
>> find . -type f -exec grep -il !* {} \; -exec grep -i !* {} \; -exec echo \;
>>
>> alias it to, say, findword and run: findword
>
> Sorry, I missed the "!" in the above paste:
>
> find . -type f -exec grep -il \!* {} \; -exec grep -i \!* {} \; -exec echo \;
If you are usi
On Mon, Oct 6, 2008 at 2:41 AM, Ralph Angenendt <[EMAIL PROTECTED]> wrote:
>
> If you are using GNU grep (well, you are using CentOS),
>
> grep -ri "foo" dir/to/search/in
>
> seems much shorter to me.
>
Without the -H you don't get the file names
mhr
__
MHR wrote:
> On Mon, Oct 6, 2008 at 2:41 AM, Ralph Angenendt <[EMAIL PROTECTED]> wrote:
> > If you are using GNU grep (well, you are using CentOS),
> >
> > grep -ri "foo" dir/to/search/in
> >
> > seems much shorter to me.
> >
>
> Without the -H you don't get the file names
Hu?
| [EMAIL PROTE
On Mon, Oct 6, 2008 at 9:26 AM, Ralph Angenendt <[EMAIL PROTECTED]> wrote:
>
> Hu?
>
> | [EMAIL PROTECTED] httpd]$grep -ri virtu conf* | grep -v "#"
> | conf.d/ssl.conf:
> | conf.d/ssl.conf:
> | [EMAIL PROTECTED] httpd]$grep -rHi virtu conf* | grep -v "#"
> | conf.d/ssl.conf:
> | conf.d/ssl.conf:
>
A while ago I sent mail about wanting to find all files that had a certain
text string in it and changing it to something else. People mentioned
that there is a system tool to do it (gnome has it too). I ran this, for
example to find all files WITH "prog" in the name, and then I did a ps
and I s
On 6 Oct 2008, at 09:33, MHR wrote:
On Mon, Oct 6, 2008 at 9:26 AM, Ralph Angenendt <[EMAIL PROTECTED]
> wrote:
Hu?
| [EMAIL PROTECTED] httpd]$grep -ri virtu conf* | grep -v "#"
| conf.d/ssl.conf:
| conf.d/ssl.conf:
| [EMAIL PROTECTED] httpd]$grep -rHi virtu conf* | grep -v "#"
| conf.d/ssl.c
Jeremiah Heller wrote:
> On 6 Oct 2008, at 09:33, MHR wrote:
>
>> On Mon, Oct 6, 2008 at 9:26 AM, Ralph Angenendt <[EMAIL PROTECTED]
>>> | [EMAIL PROTECTED] httpd]$grep -ri virtu conf* | grep -v "#"
>>> | conf.d/ssl.conf:
>>> | conf.d/ssl.conf:
>>
>> Doh! Of course - -r implies multiple files, so
On Mon, Oct 6, 2008 at 2:41 AM, Ralph Angenendt <[EMAIL PROTECTED]> wrote:
> Akemi Yagi wrote:
>>
>> Sorry, I missed the "!" in the above paste:
>>
>> find . -type f -exec grep -il \!* {} \; -exec grep -i \!* {} \; -exec echo
>> \;
>
> If you are using GNU grep (well, you are using CentOS),
>
> g
Hey guys,
Sorry not sure what's wrong with this statement. I've tried a few
variations of trying to exclude the /var/www directory.
[root@224432-24 apr-1.5.1]# find / -name "*httpd*" -type d \( ! -name www \)
/usr/lib/httpd
/usr/lib64/httpd
/var/www/vhosts/johnnyenglish/httpdocs
/var/www/lpadde
Hi,
I am trying to delete files that are more than 7 days old. When I
run it interactively it works, no problem, but it does not run
from a file stored in cron.daily. The rest of that daily file
runs properly. [The execute bit is on].
I don't see anything in the /var/log/messages.
-
Well, in your specific case you could replace it only in files that
are *.c or *.h, you can easily use an additional parameter to "find"
to accomplish that:
On Mon, Oct 6, 2008 at 12:34, <[EMAIL PROTECTED]> wrote:
> find . -type f |
> while read fil
> do
> sed -i 's/prog/n
Another question about find. I looked at the gnome tool and tried to
simulate what it is doing. I can't use it directly because it won't
do sed. Basically I want to find all files with a string (except binary)
and change it. let STR be the string I am looking for. NEW is new string.
I am doi
On Wed, Oct 8, 2008 at 9:49 PM, <[EMAIL PROTECTED]> wrote:
>
> Basically I want to find all files with a string (except binary)
> and change it. let STR be the string I am looking for. NEW is new
string.
Hmm, why not ditch find entirely, and just use grep? Something like:
TFIL=/usr/tmp/dummy$
On 10/28/2014 11:00 PM, Tim Dunphy wrote:
Hey guys,
Sorry not sure what's wrong with this statement. I've tried a few
variations of trying to exclude the /var/www directory.
[root@224432-24 apr-1.5.1]# find / -name "*httpd*" -type d \( ! -name www \)
/usr/lib/httpd
/usr/lib64/httpd
/var/www/
Hi
find / -name "*httpd*" -type d |grep -v www\
Thanks.. Ideally I'd like to use the -delete flag to find once i have the
right command. But with that I suppose I could use find / -name "*httpd*"
-type d |grep -v www\ | xargs rm -rfv
Assuming that the initial find doesn't do anything too scary
2014-10-28 23:00 GMT+02:00 Tim Dunphy :
> Hey guys,
>
> Sorry not sure what's wrong with this statement. I've tried a few
> variations of trying to exclude the /var/www directory.
>
>
> [root@224432-24 apr-1.5.1]# find / -name "*httpd*" -type d \( ! -name www
> \)
> /usr/lib/httpd
> /usr/lib64/ht
>
> In centos, the apache package is named httpd, not apache. try removing the
> packages first. (yum remove httpd)
Yup! Already done. I did say I removed apache packages, realizing the name
of the package is actually httpd in centos. My bad for not communicating
clearly. This exercise is just t
On 10/28/2014 04:00 PM, Tim Dunphy wrote:
Hey guys,
Sorry not sure what's wrong with this statement. I've tried a few
variations of trying to exclude the /var/www directory.
[root@224432-24 apr-1.5.1]# find / -name "*httpd*" -type d \( ! -name www \)
/usr/lib/httpd
/usr/lib64/httpd
/var/www/
On 10/28/2014 5:32 PM, Robert Nichols wrote:
On 10/28/2014 04:00 PM, Tim Dunphy wrote:
Hey guys,
Sorry not sure what's wrong with this statement. I've tried a few
variations of trying to exclude the /var/www directory.
[root@224432-24 apr-1.5.1]# find / -name "*httpd*" -type d \( ! -name
w
On Fri, Feb 22, 2008 at 01:40:11PM -0800, [EMAIL PROTECTED] alleged:
> Hi,
>
> I am trying to delete files that are more than 7 days old. When I
> run it interactively it works, no problem, but it does not run
> from a file stored in cron.daily. The rest of that daily file
> runs properly. [The e
[EMAIL PROTECTED] wrote:
Hi,
I am trying to delete files that are more than 7 days old. When I
run it interactively it works, no problem, but it does not run
from a file stored in cron.daily. The rest of that daily file
runs properly. [The execute bit is on].
I don't see anything in the /var
On Fri, Feb 22, 2008 at 9:16 PM, Robert <[EMAIL PROTECTED]> wrote:
>
>
> [EMAIL PROTECTED] wrote:
> > Hi,
> >
> > I am trying to delete files that are more than 7 days old. When I
> > run it interactively it works, no problem, but it does not run
> > from a file stored in cron.daily. The rest
Around 02:42am on Saturday, February 23, 2008 (UK time), Matt Shields scrawled:
> You can also do it like this
>
> /usr/bin/find /mnt/iog -type f -name '*.tar.gz' -mtime +7 -print -exec
> rm -f {} \;
man tmpwatch
Steve
--
A: Because it messes up the order in which people normally read text.
Hi
I have to use find to change the perms of a directory and files within
that directory recursively but i need to exclude a directory within the
top level directory, as its a netapp and so contains a read only
.snapshot dir.
I have tried...
# find /var/data/foo -path '\.\/\.snapshot' -prune
On Fri, Oct 10, 2008 at 7:19 AM, Eric Sisolak <[EMAIL PROTECTED]> wrote:
> On Wed, Oct 8, 2008 at 9:49 PM, <[EMAIL PROTECTED]> wrote:
>>
>> Basically I want to find all files with a string (except binary)
>> and change it. let STR be the string I am looking for. NEW is new
>> string.
>
> Hmm, why
Is there an 'after the fact' way to find what yum groups are
installed, including ones that were added with 'yum groupinstall'
instead of the initial anaconda install?
--
Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.
Hey all,
I'm trying to do a find of all files with the phrase 'varnish' in the
name, but want to exclude a user home directory called
/usr/local/digitalplatform.
Here's what I was able to come up with:
find / -path '/usr/local/digitalplatform/*' -prune -o -name "*varnish*"
Which results in thi
does anyone knows/have that comic picture of "tux" the Linux penguin that:
- has four pictures in it
- it defines 4 "levels" of the knowledge of tux, who is "symbolizing a
learning person"
- the first one: tux is just a Linux "fanboy"; second: tux is working, and
say's: "...stupid rpm"; three: I c
My Centos 5 server has seen the average load jumped through the roof
recently despite having no major additional clients placed on it.
Previously, I was looking at an average of less than 0.6 load, I had a
monitoring script that sends an email warning me if the current load stayed
above 0.6 for mor
Tom Brown wrote:
> Hi
>
> I have to use find to change the perms of a directory and files within
> that directory recursively but i need to exclude a directory within the
> top level directory, as its a netapp and so contains a read only
> .snapshot dir.
>
> I have tried...
>
> # find /var/da
> Your "-path" argument is wrong. Try this:
>
> find /var/data/foo -path '/var/data/foo/.snapshot' -prune -o -exec chown
> usera:groupb {} +
>
> You need the whole path, and there is no need to escape the '.' character.
> I've also used "+" as the terminator. That's just an efficiency issu
On Mon, Apr 27, 2015 at 11:58:08AM -0500, Les Mikesell wrote:
> Is there an 'after the fact' way to find what yum groups are
> installed, including ones that were added with 'yum groupinstall'
> instead of the initial anaconda install?
Yes. "yum grouplist" will tell you the groups that are current
On 04/27/2015 01:47 PM, Matthew Miller wrote:
> On Mon, Apr 27, 2015 at 11:58:08AM -0500, Les Mikesell wrote:
>> Is there an 'after the fact' way to find what yum groups are
>> installed, including ones that were added with 'yum groupinstall'
>> instead of the initial anaconda install?
>
> Yes. "y
On Mon, Apr 27, 2015 at 1:47 PM, Matthew Miller wrote:
> On Mon, Apr 27, 2015 at 11:58:08AM -0500, Les Mikesell wrote:
>> Is there an 'after the fact' way to find what yum groups are
>> installed, including ones that were added with 'yum groupinstall'
>> instead of the initial anaconda install?
>
On Mon, Apr 27, 2015 at 03:45:16PM -0500, Johnny Hughes wrote:
> But, I think that is a YUM database and not based on the RPM database,
> so it is possible that you can have all the RPMs for a group installed
> and not actually have it listed as installed.
> At least I sometimes find myself in that
On Mon, Apr 27, 2015 at 04:04:41PM -0500, Les Mikesell wrote:
> Interesting, but it seems to _only_ show groups that weren't included
> in the anaconda install. For example where the saved anaconda-ks-cfg
> shows @gnome-desktop and @development, 'yum grouplist' only shows
> 'MATE Desktop' which
On Mon, Apr 27, 2015 at 4:34 PM, Matthew Miller wrote:
> On Mon, Apr 27, 2015 at 04:04:41PM -0500, Les Mikesell wrote:
>> Interesting, but it seems to _only_ show groups that weren't included
>> in the anaconda install. For example where the saved anaconda-ks-cfg
>> shows @gnome-desktop and @de
On Mon, Apr 27, 2015 at 4:52 PM, Les Mikesell wrote:
> On Mon, Apr 27, 2015 at 4:34 PM, Matthew Miller wrote:
>> On Mon, Apr 27, 2015 at 04:04:41PM -0500, Les Mikesell wrote:
>>> Interesting, but it seems to _only_ show groups that weren't included
>>> in the anaconda install. For example wher
On 2015-04-27, Les Mikesell
wrote:
--SNIP--
> And I guess the other piece of this would be finding individual
> packages that are not encompassed by the groups - or pulled in by
> dependencies.Is there some database-like approach to take the full
> list of packages, then reduce it to the min
Just grep it out.
find . -print | grep -v digitalplatform
-v excludes
On Sun, May 11, 2014 at 11:33 AM, Tim Dunphy wrote:
> Hey all,
>
> I'm trying to do a find of all files with the phrase 'varnish' in the
> name, but want to exclude a user home directory called
> /usr/local/digitalplatform.
So:
find / -print | grep -v digitalplatform | grep varnish
On Sun, May 11, 2014 at 11:39 AM, Hal Wigoda wrote:
> Just grep it out.
>
> find . -print | grep -v digitalplatform
>
> -v excludes
>
> On Sun, May 11, 2014 at 11:33 AM, Tim Dunphy wrote:
>> Hey all,
>>
>> I'm trying to do a find of
Thanks. But what if I want to turn that statement into one that will delete
everything it finds? I need to preserve the contents of that directory.
As in : find / -path '/usr/local/digitalplatform/*' -prune -o -name
"*varnish*" -exec rm -rfv {} \;
I'm thinking the grep -v would be a visual thing,
find / -print | grep -v digitalplatform | grep varnish | xargs rm
But test this first - you don't want to remove anything by accident.
On Sun, May 11, 2014 at 11:44 AM, Tim Dunphy wrote:
> Thanks. But what if I want to turn that statement into one that will delete
> everything it finds? I need
On Sun, 2014-05-11 at 12:33 -0400, Tim Dunphy wrote:
> Hey all,
>
> I'm trying to do a find of all files with the phrase 'varnish' in the
> name, but want to exclude a user home directory called
> /usr/local/digitalplatform.
find / -path /usr/local/digitalplatform -prune -name \*varnish\* doesn'
Hal & Jack
Both are perfect! Thanks
[root@uszmpwsls014lb ~]# find / -print | grep -v digitalplatform | grep
varnish
/var/lib/varnish
/var/lib/varnish/uszmpwsls014lb
/var/lib/varnish/uszmpwsls014lb/_.vsl
/var/lib/varnish/varnish_storage.bin
/usr/lib64/libvarnish.so.1
/usr/lib64/libvarnishapi.so.1
On Sun, May 11, 2014 at 12:33:47PM -0400, Tim Dunphy wrote:
> find / -path '/usr/local/digitalplatform/*' -prune -o -name "*varnish*"
Try
find / -path /usr/local/digitalplatform -prune -o name '*varnish*' -print
Without the explicit -print, find will implicitly add one
e.g
find / \( -path ..
On 05/11/2014 01:06 PM, Tim Dunphy wrote:
> Hal & Jack
>
> Both are perfect! Thanks
>
> [root@uszmpwsls014lb ~]# find / -print | grep -v digitalplatform | grep
> varnish
> /var/lib/varnish
> /var/lib/varnish/uszmpwsls014lb
> /var/lib/varnish/uszmpwsls014lb/_.vsl
> /var/lib/varnish/varnish_storage
Why not copy the directory elsewhere, then delete the rest and move it
back? You'd take a copy of it anyway, if it is important, right?
Cheers,
Cliff
On Mon, May 12, 2014 at 4:44 AM, Tim Dunphy wrote:
> Thanks. But what if I want to turn that statement into one that will delete
> everything i
> On Mon, May 12, 2014 at 4:44 AM, Tim Dunphy wrote:
>
>> Thanks. But what if I want to turn that statement into one that will delete
>> everything it finds? I need to preserve the contents of that directory.
>>
>> As in : find / -path '/usr/local/digitalplatform/*' -prune -o -name
>> "*varnish*"
don't forget to escape that exclamation point if typing on bash.
On Tue, May 13, 2014 at 1:50 AM, Nicolas Thierry-Mieg <
nicolas.thierry-m...@imag.fr> wrote:
> > On Mon, May 12, 2014 at 4:44 AM, Tim Dunphy
> wrote:
> >
> >> Thanks. But what if I want to turn that statement into one that will
>
Noob Centos Admin wrote:
> My Centos 5 server has seen the average load jumped through the roof
> recently despite having no major additional clients placed on it.
> Previously, I was looking at an average of less than 0.6 load, I had a
> monitoring script that sends an email warning me if the c
On Dec 29, 2009, at 11:44 PM, Noob Centos Admin
wrote:
> My Centos 5 server has seen the average load jumped through the roof
> recently despite having no major additional clients placed on it.
> Previously, I was looking at an average of less than 0.6 load, I had
> a monitoring script th
Hi,
> last time I saw something like that, it was a bunch of chinese 'bots'
> hammering on my public services like ssh.
>another admin had turned
> pop3 on too, this created a very heavy load yet they didn't show up in
> top (bunches of pop3 and ssh processes showed up in ps -auxww,
> however, plu
Hi,
> Try blocking the IPs on the router and see if that helps.
Unfortunately the server's in a DC so the router is not under our control.
> You can also run iostat and look at the disk usage which also
> generates load.
I did try iostat and its iowait% did coincide with top's report, which
is
Noob Centos Admin wrote:
> However, iostat reports much lower %user and $system compared to top
> running at the same time so I'm not quite sure if I can rely on its
> figures.
> ...
> iostat
> Linux 2.6.18-128.1.16.el5xen 12/30/2009
> avg-cpu: %user %nice %system %iowait %steal %idle
>
On Dec 30, 2009, at 1:05 AM, Noob Centos Admin
wrote:
> Hi,
>
>> Try blocking the IPs on the router and see if that helps.
>
> Unfortunately the server's in a DC so the router is not under our
> control.
That sucks, oh well.
>> You can also run iostat and look at the disk usage which also
Am Mittwoch, den 30.12.2009, 05:44 +0100 schrieb Noob Centos Admin:
> since initially it seems like the high load may be due to I/O wait
Maybe this will help you to identify the IO loading process:
http://dag.wieers.com/blog/red-hat-backported-io-accounting-to-rhel5
Chris
financial.com AG
Mun
On 12/29/2009 11:44 PM, Noob Centos Admin wrote:
> My Centos 5 server has seen the average load jumped through the roof
> recently despite having no major additional clients placed on it.
> Previously, I was looking at an average of less than 0.6 load, I had a
> monitoring script that sends an emai
On 2009-12-29 23:44, Noob Centos Admin wrote:
> My Centos 5 server has seen the average load jumped through the roof
> recently despite having no major additional clients placed on it.
> Previously, I was looking at an average of less than 0.6 load, I had a
> monitoring script that sends an email w
Hi,
> > since initially it seems like the high load may be due to I/O wait
> Maybe this will help you to identify the IO loading process:
>
> http://dag.wieers.com/blog/red-hat-backported-io-accounting-to-rhel5
Thanks for the suggestion, I did install dstat earlier while trying to
figure things
Hi,
> You should also try out "atop" instead of just using top. The major
> advantage is that it gives you more information about the disk and
> network utilization.
Thanks for the tip, I tried it and if the red lines are any
indication, it seems that atop thinks my disks (md raid 1) are the
pr
Hi,
> Dstat could at least tell you if your problem is CPU or I/O.
This was the result of running the following command which I obtained
from reading up about two weeks ago when I started trying to
investigate the abnormal server behaviour.
dstat -c --top-cpu -d --top-bio --top-latency
usr sys
>> Look at the first two columns. What column have higher numbers? If r,
>> you're CPU-bound. If b, you're I/O bound.
>
> procs ---memory-- ---swap-- -io --system--
> -cpu--
> r b swpd free buff cache si sobibo in cs us sy id wa
> st
>
Am Donnerstag, den 31.12.2009, 12:34 +0100 schrieb Chan Chung Hang
Christopher:
> >> Look at the first two columns. What column have higher numbers? If r,
> >> you're CPU-bound. If b, you're I/O bound.
> >
> > procs ---memory-- ---swap-- -io --system--
> > -cpu--
Christoph Maser wrote:
> Am Donnerstag, den 31.12.2009, 12:34 +0100 schrieb Chan Chung Hang
> Christopher:
Look at the first two columns. What column have higher numbers? If r,
you're CPU-bound. If b, you're I/O bound.
>>> procs ---memory-- ---swap-- -io --syste
Hi,
> Yes, these figures indicate that you are fairly close to being cpu bound.
>
> What kind of filtering are you doing? If you have any connection
> tracking/state related rules set, you will need to be using a fair
> amount of cpu.
Initially, when the load start going up, I had thought the APF
Noob Centos Admin wrote:
> Hi,
>
>> Yes, these figures indicate that you are fairly close to being cpu bound.
>>
>> What kind of filtering are you doing? If you have any connection
>> tracking/state related rules set, you will need to be using a fair
>> amount of cpu.
>
> Initially, when the load
Hi,
> I do not know about now but I had to unload the modules in question.
> Just clearing the rules was not enough to ensure that the netfilter
> connection tracking modules were not using any cpu at all.
Thanks for pointing this out. Being a noob admin as my pseudonym
states, I'd assumed stoppi
I initiated services shutdown as previously planned and once the
external services like exim, dovecot, httpd, crond (because it kept
restarting these services), the problem child stood out like a sore
thumb.
There was two exim instances that didn't go away despite service exim
stop. Once I killed
Just an concluding update to anybody who might be interested :)
My apologies for blaming spamassassin in the earlier email. It was
taking so long because of the real problem.
Apparently the odd exim processes that was related to the mail loop
problem I nipped was still the culprit. I had overlook
On 2009-12-31 15:13, Noob Centos Admin wrote:
> Just an concluding update to anybody who might be interested :)
>
> My apologies for blaming spamassassin in the earlier email. It was
> taking so long because of the real problem.
>
> Apparently the odd exim processes that was related to the mail loo
Hey guys,
Is there any way to find out the last user to access a file on a CentOS
6.5 system?
Thanks
Tim
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailma
Hi:
I use to find all the leave packages with "package-cleanup
--leaves --all". but the "--all" parameter no longer valid under
CentOS-8. is there alternative command I can use to find out all the
leave packages?
___
CentOS mailing list
CentOS@centos.
Hi all:
I'm doing an audit of some Linux machines, and have used this awk
one-liner to find accounts with uid > 499:
awk -F: '{if ($3 > 499) print $0}' < /etc/passwd
It works great if you run it on a host directly, but if I try to ssh
to a remote host and run the command it fails:
mybox$ ssh se
Hello,
I try to find in a directory hicharchy the most recent time of file update.
I think, there could be a solution with find?
Thank you for help in advance
Best regards
Helmut Drodofsky
___
CentOS mailing list
CentOS@centos.org
http://lists.cento
If I run this:
find /path/to/files/ -type f -mtime -2 -name *.xml.gz
I get the expected results, files with modify time less than two days old.
But, if I run it like this, with the print0 flag:
find /path/to/files/ -print0 -type f -mtime -2 -name *.xml.gz
I get older files included as well. A
hello list,
I'm trying to write a script that will search through a directory of trace
logs for an oracle database. From what I understand new files are always
being created in the directory and it's not possible to know the exact
names of the files before they are created. The purpose of this is
On Fri, Jan 23, 2015 at 03:50:44PM -0500, Tim Dunphy wrote:
> Is there any way to find out the last user to access a file on a CentOS
> 6.5 system?
Unless you're using auditd (or a similar service) to watch the file,
no. You could probably use the logs and `last` to see who was logged
in at the
On Fri, January 23, 2015 3:13 pm, Jonathan Billings wrote:
> On Fri, Jan 23, 2015 at 03:50:44PM -0500, Tim Dunphy wrote:
>> Is there any way to find out the last user to access a file on a CentOS
>> 6.5 system?
>
> Unless you're using auditd (or a similar service) to watch the file,
> no. You co
Hey guys,
Unless you're using auditd (or a similar service) to watch the file,
no. You could probably use the logs and `last` to see who was logged
in at the time and make a guess.
Also, you can look into shell history files (though that might be cleaned
by users). Admin is allowed to do that
On Sat, January 24, 2015 11:27 am, Tim Dunphy wrote:
> Hey guys,
>
> Unless you're using auditd (or a similar service) to watch the file,
> no. You could probably use the logs and `last` to see who was logged
> in at the time and make a guess.
>
>
>
> Also, you can look into shell history files (
On Sat, Jan 24, 2015 at 12:32:01PM -0600, Valeri Galtsev wrote:
> One other thing I would try: disable selinux, and see if that lets
> apache read file, e.g.:
>
> setenforce 0
Setting SELinux to permissive temporarily is a good start, although
it's also helpful to check the audit logs, with:
au
Hi,
I am running CentOS Linux release 7.9.2009 (Core). Is there a way to find
out which process consumed network bandwidth during a specific time period?
For example, the Nginx process consumed how much network traffic on Sept
01, 2021.
Best Regards,
Kaushal
On Thu, 2008-02-28 at 02:56 -0600, Sean Carolan wrote:
> Hi all:
>
> I'm doing an audit of some Linux machines, and have used this awk
> one-liner to find accounts with uid > 499:
>
> awk -F: '{if ($3 > 499) print $0}' < /etc/passwd
>
> It works great if you run it on a host directly, but if I t
On Thu, 2008-02-28 at 04:27 -0500, William L. Maltby wrote:
> On Thu, 2008-02-28 at 02:56 -0600, Sean Carolan wrote:
> > Hi all:
> >
> > I'm doing an audit of some Linux machines, and have used this awk
> > one-liner to find accounts with uid > 499:
> >
> > awk -F: '{if ($3 > 499) print $0}' < /
On Thu, 2008-02-28 at 09:48 +, Jim Wight wrote:
> On Thu, 2008-02-28 at 04:27 -0500, William L. Maltby wrote:
> > On Thu, 2008-02-28 at 02:56 -0600, Sean Carolan wrote:
> > > Hi all:
> > >
> > > I'm doing an audit of some Linux machines, and have used this awk
> > > one-liner to find accounts
> > ssh servername awk -F: "'{if (\$3 > 499) print \$0}'" < /etc/passwd
>
> ssh servername awk -F: "'{if (\$3 > 499) print \$0}' < /etc/passwd"
>
> otherwise '< /etc/passwd' happens on the client.
Awesome, thanks!
___
CentOS mailing list
CentOS@centos.
1 - 100 of 163 matches
Mail list logo