Top Output To A File

Apr 27, 2008

Quote:

# If a PT_LOAD event is triggered, then if the following contains the path to
# a script, it will be run in a child process. For example, the script could
# contain commands to terminate and restart httpd, php, exim, etc incase of
# looping processes. The action script must have the execute bit an
# interpreter (shebang) set

It's a feature of CSF, how to write a script that will output the contents of top -c to another file?

View 3 Replies


ADVERTISEMENT

Output Of 2 Gb File Copy Test On SAS Hdd Under FreeBSD 7?

Oct 24, 2009

Can anyone provide me with output of 2 Gb file copy test on SAS hdd under FreeBSD 7 ?

I got something strange and just need compare results.

View 0 Replies View Related

Header Output Already Sent

Nov 17, 2008

Would any remote configs responsible for the warning "header output already sent"?

Why i ask this? Because I am programming with php, having this chronicle error, tried fixing every corners but helpless.

View 4 Replies View Related

Tcpdump Output

Feb 10, 2007

This is the command i'm running and its options:

tcpdump > output.file

Problem is that the only way to stop this command is pressing CTRL + C, and i just need some option to specify how much time the tcpdump will be running, i need it running for 1 minute for example, and then it should automatically stop.

View 1 Replies View Related

Full Dns Output

Sep 12, 2007

how do i get all the current dns values for a domain name? i have tried using
'dig domain any' and get varied results. the first time it is as if i ran 'dig domain a' I then run 'dig domain mx' and see the mx records. an issue of 'any' then shows the mx records so far i have to run dig with every record type. what is another way to get all the dns values for a domain name?

View 1 Replies View Related

Top Output Belongs To My VPS Only Or Whole Server?

Sep 26, 2008

I have question regarding the output of top command when it is run inside a VPS.

Does the CPU load (under lined in red) only belongs to my VPS or the whole server?

If it belongs to the whole server, then is the load underlined in green, the load my VPS currently has?

[url]

its a Virtuozzo based VPS

View 3 Replies View Related

Linux Get Last Line Of Output

Apr 4, 2008

What command could I use to get the last line of an output?

Heres why...

I use this command:

netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1
I would like to get just the last line of the output, the output looks like this:

1 203.118.105.*
1 80.195.165.*
1 87.211.51.*
1 91.40.90.*
8 82.2.222.*
213

The reason is because I'd like to get that last figure to place into a file on a certain time period (through a cron), which will then be graphed with PHP.

View 3 Replies View Related

Understanding Munin Output

Apr 18, 2008

I use Munin to monitor the health of our servers, I can tell by looking at the graphs there's nothing to worry about, however, I'm struggling to baseline acceptable performance.what would be classed as 'normal' output for some of the more relevant munin graphs.

I've been looking at the Apache* modules and this is the output from one of our servers:

average of: 300 accesses per minute, 6 busy servers and 4.10MB a minute volume

max of: 1400 accesses per minute, 81 busy servers and 51MB a minute volume

This is a dedicated box running one site.

We have another box that is running approximately 30 sites

average of: 30 accesses per minute, 1 busy server and a 500K a minute volume

max of: 322 accesses per minute, 11 busy servers and a 4MB a minute volume.

These servers are pretty much the same spec, dual core 64Bit, 4GB of ram, two SATA disks in RAID1.

View 2 Replies View Related

Include() With Phpsuexec Does Not Output Error

Oct 18, 2007

We have a strange issue where include('./somebadfilepath.txt');

Will not output the standard WARNING from PHP. Instead it just displays a blank page.

phpsuexec is installed.

This also happens for other functions like fopen or fopen when supplied a URL path. No error,

View 4 Replies View Related

Dissecting Server Load Output

Jan 24, 2007

to move to a new reseller hosting company.

They have provided me the following

Quote:

Please be informed that we have gold.dnsprotect.com server (207.210.100.18) and let us know if you would like to host your domain in this server.

The average load the on the server on any time is as shown below

root@gold [~]# w
06:58:19 up 22:11, 1 user, load average: 0.25, 0.42, 0.84

this means absolutely nothing to me, would someone be so good as to let me know what this jumble means?

View 6 Replies View Related

Apache :: After Upgrading To 2.4 Does Not Get PHP Output In Browser

Dec 20, 2013

I have upgraded to Apache 2.4 and Php 5.5.7. I am not able to get any php script to show output in the browser. Html and text files work fine.

phpinfo works fine and shows output.

Phpmyadmin gives "No data received" in chrome and "The connection was reset" in Firefox.

In command line php -f filename gives me output.

Last lines of my Apache error log:

[mpm_winnt:notice] [pid 2028:tid 376] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
[Fri Dec 20 2013] [core:notice] [pid 2028:tid 376] AH00094: Command line: 'C:Program FilesApache Software FoundationApache24binhttpd.exe -d C:/Program Files/Apache Software Foundation/Apache24'
[Fri Dec 20 2013] [mpm_winnt:notice] [pid 2028:tid 376] AH00418: Parent: Created child process 2628
[Fri Dec 20 2013] [mpm_winnt:notice] [pid 2628:tid 276] AH00354: Child: Starting 64 worker threads.

In Php log it is giving no error.

httpd -t shows: Syntax ok

php -v shows:

PHP 5.5.7 (cli) (built: Dec 11 2013 13:48:27)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies

View 2 Replies View Related

Apache :: FastCGI Output Displayed Is Not HTML

May 21, 2013

I am using Apache 2.4.1 (Win64), PHP 5.3.10 on Microsoft Windows 2008 server. I have also installed Microsoft VC++ 2010 (64 bit). I successfully configured mod_fcgid 2.3.7 as per the instructions. This was confirmed by running info php page. But when I run FastCGI test scripts, the output is displayed in text form and not in html format.

View 1 Replies View Related

Apache :: End Of Script Output Before Headers - Server

Jun 13, 2013

I get this error sometimes in the apache log for my site (and then my server gets slower and slower until it goes offline):

Code:

[Thu Jun 13 11:58:48.675867 2013] [core:error] [pid 1368:tid 2344] [client 111.222.333.444:38360] End of script output before headers: index.php

I am using a Windows Server 2012 64 bit server, but I had the error on a Windows Server 2008 64 bit server too.

The new server only has 1 site on it - and it is a Joomla 2.5 site. The server is dedicated and has 8 CPU cores and 24 GB ram and so on.

I have googled the error enough to understand that my Apache server (downloaded from this site) is misconfigured somewhere.

View 2 Replies View Related

Squid Frontend Gives 0 Network Output For Seconds At The Time

Mar 27, 2009

I have an apache server on windows which I wanted to speed up using caching systems.

I tried installing squid, and I got it working with a basic example config. It seemed to work well, however under more heavy load I experienced some weird behaviour where network output is 0 for several seconds at the time, and all clients just hang in the wind and wait for a respons.

Remote to the server is working fine, so it's definitely a squid issue.. with only apache running the server is constantly sending out data, no halts there.

Any hints on what errors I should be looking for?

View 1 Replies View Related

Listing/banning Ipv6 Addresses From Netstat Output

Jan 19, 2008

I've been happily banning ip's using the output from

netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1

for over a year now, with iptables. However recently, after upgrading to apache 2.2, the connections in netstat get listed as ipv6. A row can look like this for example:

tcp6 0 0 ::ffff:12.123.123.123:80 ::ffff:12.123.12.:12382 ESTABLISHED-

(actual ip addresses changed)

As you can see, the remote ip address isn't complete, it's cut off, so the script used to sum up connections and insert into iptables isnt doing anything.

View 0 Replies View Related

System Performance Monitoring Package W/ Graphical Output

Apr 14, 2007

some software which would allow me to monitor critical information about my VPS and possibly give me graphs/charts that show me things like my system's load over time. Since it is a VPS I may want to see this charts/graphs via a web interface if I can't just download some rendered jpg's or somethin from the server on a regular basis.


So what I'm looking for is something kinda like the Bandwidth page under Web/FTP Stats in Cpanel so I can easily get a better idea over a few days or week(s) what times of the day my server is getting taxed and when load low.

View 5 Replies View Related

Plesk 12.x / Linux :: No Output For Command Mailq After Upgrading To 12.0.18

Apr 2, 2015

We have a plesk server running on a Ubuntu 14.04.2 LTS machine. We check the state of the mailqueue with nagios, executing the "mailq" command. After the AutoInstaller upgraded our installation from 12.0.18 update 38 to 39, we noticed, that the nagios check failed.

After investigating a little bit, it seems that we found the problem:

When I enter "mailq" in the shell, the command is executed and gives me an proper output. But when I try to execute the command with its full path "/usr/bin/mailq" nothing happens, and I have to cancel with [ctrl]+[c]. The which-command delivers exactly the same path as written above...

View 4 Replies View Related

Plesk 12.x / Linux :: Deny User Upload File Via File Manager Or Hidden File Tab?

Feb 10, 2015

I'm build Plesk Panel for Linux and Presence Builder, I don't want my user can upload their website to hosting via File Manager. How can I do it...

View 2 Replies View Related

Input/output Error On /home Partition On A Freebsd Server

Mar 8, 2008

I'm getting the feared "input/output error" on /home partition on a freebsd server this server runs RAID-1, dmesg shows:

twed0: controller error - device failure (flags = 0x40)
g_vfs_done():twed0s1g[READ(offset=36997054464, length=16384)]error = 5

anyone knows what's my best action here? unmount /home and fsck it? or shutdown the server and replace a drive? (but, from this error message, I couldn't guess which drive is it... also, the 3dm raid monitoring didn't find any problem, so maybe it's the controller?)

View 3 Replies View Related

Apache :: Enabling Output Buffering And Zlib / How To Check Performance

May 22, 2014

Should I enable output buffering and zlib compression in PHP configuration editor to increase performance?

In global php.ini I have:

output_buffering = Off
;output_handler =
zlib.output_compression = Off
;zlib.output_handler =

View 1 Replies View Related

Plesk 12.x / Linux :: Error Reading Data From FastCGI Server And End Of Script Output Before Headers

Feb 17, 2015

I have an issue with running of the php-scripts. It runs via Cron (as it consumes a lot of memory), after aprox. 10 minutes after the start-time of the script the following error appears in the error-log file (path - /var/www/vhosts/system/subdomain.domain.tld/logs/error_log)

[Tue Feb 17 19:46:57.003326 2015] [fcgid:warn] [pid 28629] (104)Connection reset by peer: [client XX.XXX.XXX.XXX:48450] mod_fcgid: error reading data from FastCGI server
[Tue Feb 17 19:46:57.003368 2015] [core:error] [pid 28629] [client XX.XXX.XXX.XXX:48450] End of script output before headers: Name_of_the_script.php

For a very strange reason another PHP-script, that has the same code, but just runs less arrays, and therefore consumes less memory and can be run via browser - works perfectly from both browser and the cron. The php.ini for this domain set up correctly (see the attachment)...

View 1 Replies View Related

1.com/file.php, 2.com/file.php Where File.php Is Hosted On Main.com/file.php

May 26, 2008

Say I have 2 websites and they all use file.php which is located on mainserver.com/file.php.

I want to use the file like this:
website1.com/file.php
website2.com/file.php

View 2 Replies View Related

Ffmpeg :: Cannot Open Shared Object File: No Such File Or Directory In Unknown On Line 0

Mar 6, 2008

Rapidly growing error logs showing the same message

$ug-non-zts-20020429/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429//usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0

root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429
./ ../ eaccelerator.so*
root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429
./ ../ eaccelerator.so*

Using cpanel 11 / centos 4

View 1 Replies View Related

How Can I Show Hidden File In Cpanel File Management Tool

Jun 16, 2008

i have a server with centos,

i need to edit the hidden file .htaccess from the file management tool of cpanel,

but the hidden files not shown,

ow can i modify the setting and let the files shown in the file management tool of cpanel?

View 6 Replies View Related

Plesk 12.x / Windows :: STOP Resetting File Permissions On DLL File?

Sep 17, 2014

How can we stop Plesk resetting the file permissions on a dll file that is found in

C:Program Files (x86)

??

Specifically,

we have a file, jmail.dll,

here

C:Program Files (x86)Dimacw3JMail

By default Plesk permissions are set to DENY for PSACLN.

But the JMail plugin cannot work with these permissions !

We change this to be ALLOW for READ & EXECUTE and DENY for WRITE.

And everything works fine.

But every time Plesk does an update it reverts it back !

This means that a number of our customers contact forms stop working !

View 12 Replies View Related

/usr/bin/gzip -p Correct Option To Unzip First File To Second File?

Nov 22, 2008

I'm trying to do this

/usr/bin/gzip -p /home/mysite/public_html/shop/feeds/myfile.xml.zip > /home/mysite/public_html/shop/feeds/myfile.xml

But it just tells me

/usr/bin/gzip: invalid option -- p
X-Powered-By: PHP/5.2.5
Content-type: text/html

How do I find the correct option to unzip first file to second file?

View 8 Replies View Related

Apache :: How To Discover Which Php File Allows Malicious File Upload

Oct 10, 2014

i manage linux apache webserver with a few wordpress blogs and from time to time i see someone inject a malicious .php file into wp-content/uploads/2014/10/ directory.

i think its some bad plugin or theme, but these is more blogs, i ugrade, update, WP, but

how can i setup some monitor to tell me which php file (or even line in php file) injected that malicious .php ? I have linux root access so i can setup anything 

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved