Search Results

Search: Posts Made By: anil529
1,261
Posted By Corona688
Please use code tags, not icode tags, use the...
Please use code tags, not icode tags, use the https://www.unix.com/images/editor/code.png button.

It's possible that your script is not working because find is not in $PATH, cron gives a very...
1,261
Posted By RudiC
Corona688 was talking about the find command, not...
Corona688 was talking about the find command, not your crontab entry.
1,838
Posted By drysdalk
Hi, OK, I see. That will work I suppose,...
Hi,

OK, I see. That will work I suppose, though may I ask: why don't you just re-mount the new filesystem directly as the PostgreSQL filesystem ? Or is the new space not a whole filesystem of...
1,838
Posted By drysdalk
Hi, Great, glad you got that sorted. One...
Hi,

Great, glad you got that sorted. One last thing that may disappoint, however. If you're doing this because you're hoping to basically add the free space of the /prod/OpenCSS filesystem to...
1,838
Posted By drysdalk
Hi, Just to check something: the order in a...
Hi,

Just to check something: the order in a bind mount is source first, then destination. So in my above examples, it was the content of path1 that I wanted to show up under path2. Is it the...
1,838
Posted By drysdalk
Hi, Your syntax is basically correct, as far...
Hi,

Your syntax is basically correct, as far as I can tell. Here's the results of a test on my own system, running Ubuntu 16.04 x86_64:


$ pwd
/home/unixforum/271681
$ ls
path1 path2
$...
Forum: Red Hat 03-14-2017
2,319
Posted By Corona688
There's a lot more configuration in setting up a...
There's a lot more configuration in setting up a mail server than "enable sendmail".

If you don't need a full-on mail server and only want to send mail via something else's email account, you can...
Forum: Red Hat 03-14-2017
2,319
Posted By drysdalk
Hi, In RHEL/CentOS 7, the default mail...
Hi,

In RHEL/CentOS 7, the default mail server (MTA) is Postfix rather than Sendmail. Sendmail is certainly still available as a supported and installable alternative via yum, but unless you...
7,241
Posted By Don Cragun
... ... ... I'd suggest changing this: if [[...
... ... ...
I'd suggest changing this:
if [[ $CPU_LOAD > $THRESHOLD ]];

to
if [ $CPU_LOAD -gt $THRESHOLD ];


Also I'd debug what the value of CPU_LOAD is actually at the time of the email...
7,241
Posted By drysdalk
Hi, (Edit: forgot to include the date in the...
Hi,

(Edit: forgot to include the date in the mail)

Here's a version of your script that's as streamlined as I've been able to make it:


#!/bin/bash

hostname="`/bin/hostname`"...
7,241
Posted By vgersh99
Yes Nagios is already monitoring load , ...
Yes Nagios is already monitoring load ,
0,15,30,45 * * * * /unixmon/servermon.p > /dev/null 2>&1
*/5 * * * * /etc/applicationMonitoring.sh

---------- Post updated at 03:04 PM ----------...
7,241
Posted By drysdalk
Hello, On my own test system (which is...
Hello,

On my own test system (which is running Ubuntu 16.04 LTS x86_64) this script does basically appear to work. At any rate, it certainly doesn't generate any false positives for me when run...
7,241
Posted By drysdalk
Hi, Also, if you could please supply the...
Hi,

Also, if you could please supply the full contrab entry that's being used on the live server itself to run the script every five minutes that would be good too (i.e. the entire line you see in...
Forum: Red Hat 02-24-2017
24,749
Posted By jlliagre
This question is asked in the Red Hat forum so...
This question is asked in the Red Hat forum so there is no doubt the OP is running Linux. The Linux kernel is designed to use all otherwise free RAM as cache with no penalties.

Note that under...
Forum: Red Hat 02-23-2017
24,749
Posted By bakunin
Hold on! If your application is a database then...
Hold on! If your application is a database then it is usually better to give most memory directly to the database (how this is done depends on the database used: in i.e. Oracle this is called "SGA")....
Forum: Red Hat 02-21-2017
24,749
Posted By jim mcnamara
First off, you are running a hypervisor -VMware. ...
First off, you are running a hypervisor -VMware. No problems, but I do not understand the cpu queue length on a system that is doing almost nothing.

If your output ran from the base system,...
Forum: Red Hat 02-21-2017
24,749
Posted By jlliagre
You shouldn't focus on a single metric and assume...
You shouldn't focus on a single metric and assume it is the key to performance. Better to provide everything useful for us to figure out what is going on on your system (hardware description, sizing,...
Forum: Red Hat 02-20-2017
24,749
Posted By jlliagre
No, on the opposite, using your RAM as cache is...
No, on the opposite, using your RAM as cache is expected to improve your system performance.

No. Unused RAM is wasted RAM.
Forum: Red Hat 02-23-2017
24,749
Posted By rbatte1
I suppose it comes down to the decision if memory...
I suppose it comes down to the decision if memory is cleared when the particular process that owned it terminates, or if the OS keeps it in memory in case it is needed again soon.

Additionally,...
Forum: Red Hat 02-22-2017
24,749
Posted By rbatte1
I would focus more on the swap/page rates. If...
I would focus more on the swap/page rates. If you are swapping/paging because you have exhausted real memory, then you will start to feel the performance cost of swapping/paging. What output do you...
Forum: Red Hat 02-23-2017
24,749
Posted By MadeInGermany
I hear this over and over again, from the Linux...
I hear this over and over again, from the Linux community. Always use 100%, a usage under 100% is wasted RAM, blabla.

Unix Vendors do not think so.
For example the HP-UX buffer cache that is...
Showing results 1 to 21 of 21

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