Server :: Program To Check Cpu Load?

Jul 28, 2011

my server get hanged when ever their is loading problem. i wanna a program to get cpu load and also when load get high from a specified load value it should restart service. is their is any programm or how to write that programm..

View 12 Replies


ADVERTISEMENT

Programming :: Check Server Load Via Php?

Mar 4, 2011

We have 7 webservers running in a cluster, and I have zenoss running which does monitor space, network, even performance, but I would like a nice small webpage that I could break into just a few rows of a table. I would like to be able to simple do a reload every 30/60 seconds, and just have the following;row1: server load, memory userow2: server load, memory useBefore the row, if the load > x change the css to make it red (so I could notice it), etc. The css, the refresh, etc. is all simple, I am jut wondering how I could go about getting the load and memory use from PHP.I could setup a bash script that could get the info and spit it to a file as a last resort, but curious if there was a more direct way.

View 3 Replies View Related

Server :: Cannot Load Mcrypt Extension. Please Check PHP Configuration?

Nov 23, 2010

i have centos 5 running with apache, mysql, php and phpmyadmin. phpadmin is working well but it is showing the following error on the page:- Cannot load mcrypt extension. Please check your PHP configuration.i just try to install mcrypt but it is asking for required dependencies libmcrypt.

View 1 Replies View Related

CentOS 5 Server :: Cp Directory Recursively With Load Check?

Nov 21, 2010

how the bash script should look to copy huge directory with multiple sub-folders to a new place place while checking load and stopping for several seconds if load reached lets say 3 or 4 ? I only know the simple command cp -r /dir/allfiles /dir/newplace However would like to copy over 30 000 files which will cause me a high load.

View 1 Replies View Related

Programming :: /usr/bin/expect : Script To Check Server Load Using Both Expect And Bash?

Jul 27, 2010

I am trying to make a script that can be used to check server load on a remote server and produces sound on our local machine, when server load exceeds a particular limit.1. I want to execute command uptime or uptime | awk '{print$10}'on the remote server and store the result in a variable(say x), and later use it in the bash script.

Bash Part
#!/bin/bash
x=$(/root/Desktop/exp)

[code]...

View 1 Replies View Related

Networking :: How To Check What Program Is Using Port

Sep 6, 2010

I want to check what program is using some ports. I have

Code:

netstat -a | grep localhost
tcp 0 0 localhost:58935 localhost:www ESTABLISHED
tcp6 355 0 localhost:www localhost:58935 ESTABLISHED
udp 0 0 localhost:53888 localhost:53888 ESTABLISHED

I try ps aux | grep 53888. What other command can I use?

View 2 Replies View Related

Ubuntu :: Run Program To Check Programs Dependencies

May 18, 2011

I'm not talking about like:

apt-get check

I mean it's like, and I thought it was this:

valgrind <application>

Needs:
x
y
z

Does anyone know what I'm talking about? A lot of programs I'm getting segmentation faults like Rhythmbox, a few games, etc. so I dunno.

EDIT: gdb kind of works, but doesn't show me what another program would..

View 1 Replies View Related

Ubuntu :: Program To Check When Internet Connection Is Gone?

Jun 24, 2011

My internet connection is really bad,so I need some kind of program to make a text file or something saying when internet connection is gone and time and date,also if possible to say why is it gone,is it my problem or is it my internet providers problem.

View 1 Replies View Related

Programming :: C Program To Check If Network Connection Available Or Not?

Jun 3, 2011

I am writing a simple C program which has to find whether the system is connected to network/internet or not..

View 10 Replies View Related

Ubuntu Networking :: Check Which Program Is Using The Internet Connection?

Feb 11, 2010

I'm using Ubuntu 9.10. My internet connection is an ADSL which I have set up using "pppoeconf". The connection starts at boot up. I can also start it if needed by using "sudo pon dsl-provider" and can stop it by using "poff dsl-provider".Recently I noticed that when I start my computer, there is some program (or programs) which is connecting automatically to the internet and downloading and uploading a lot of data. The data transferred can exceed 200 mb or 300 mb in an hour. I don't know what is being uploaded or downloaded.I know for sure that no file sharing programs like bittorrent clients are started at bootup so it is strange that this much data to be downloaded and uploaded without me sharing files or downloading files explicitly. The update software also does not run by default as I have opted to start it manually.

Is there any application which shows the programs that are connected to any particular port and transmitting and receiving data?In Windows XP I use a program called "What's Running" which clearly lists the programs using the different ports in the local machine and the remote IP addresses that the program is connected to. It also shows which program is transmitting and receiving data at any point in time. Is there any similar program for Linux?My internet connection is a data limited package otherwise I probably would not have bothered.

View 2 Replies View Related

General :: Check Version Of Program Using Command Lines?

Jan 20, 2010

How to check the version of a program, in particular geant4, in linux using the command lines?

View 4 Replies View Related

Programming :: Check The Presence Of USB Using /proc Interface In A C Program

Feb 22, 2010

I want to check whether a USB is plugged in its slot from a C program. I want to make use of /proc interface for the same. During my reading i found that /proc/bus/usb/devices will tell how many USB devices are currently present.

So whether i can open this file and use stat call to identify whether the size is 0. If size is 0, i can assume no USB present. Else i can assume USB is present.

Whether my understanding correct. If USB inserted, how can i check the folders present in the USB stick.

View 2 Replies View Related

Fedora :: Program To Recursively Check A Web Site For Broken Links?

Sep 21, 2010

Is there a program, or command, that will allow me to recursively check a web site for broken links?

View 2 Replies View Related

General :: Gotten An Error Message To Please Check That The Dcopserver Program Is Running?

Oct 31, 2010

I have gotten an error message to please check that the dcopserver program is running.Where do I look to see if it is running?

View 3 Replies View Related

Programming :: Make The Program Check If Either On Of The Input (either $Title Or $Author) Is Not Filled Up

Jan 11, 2010

Title : Author : Price
France : Mark : 40
Persia : John : 50

how i arranged my database. I am trying to write aprogram which does a search either using Title, Author or both.

[Code]....

but i am still unclear on how i am able to make the program check if either on of the input(either $Title or $Author) is not filled up, and if one of it is not filled up, use the other one which is filled to do a search.

View 6 Replies View Related

Ubuntu :: Make Rhythmbox Appear On Program Load?

Jul 12, 2010

I'm wondering if anyone can tell me how to make rhythmbox appear when I load it? At the moment it just puts an icon in my notification tray. However, I just want it to appear so I can choose music! Does anyone know how I can just make rhythmbox appear on screen when I start it up?On a related note, does anyone know why rhythmbox has this odd behaviour? If I'm starting the music program, there's pretty much a 100% chance I want to start playing music, and I can't do that without looking at my music list in the player. So why would it not appear by default?

View 3 Replies View Related

Ubuntu :: Making Program To Load With Sudo On Startup?

Feb 2, 2010

I cannot figure how to make a program start-up when Ubuntu boots. I want the "sudo firestarter" command to run so the firestarter icon appears in the panel.

View 7 Replies View Related

Fedora Installation :: F12 - USB / DVD Copy Program Fails To Load Properly

Feb 3, 2010

I downloaded the Fedora Live USB creator and the program consistently fails to load properly onto the flash drive. I have also downloaded the DVD iso program from this site and get only errors when trying to boot with an ISO burner? I am attempting to load the program on Sun Virtual Box, which is like VMare's Workstation, and the prompt consistently reads error when attempting to install. Also the progress bar on the Live USB loader never stops even after it the cmd prompt says it is complete.

View 1 Replies View Related

Ubuntu Security :: When Logged Into Every Day Account And Tried To Load The Program, It Prompted For Password?

Jul 8, 2010

I installed IPlist earlier today on my main/admin account (which I only use for installing programs. I don't use this account daily.) and everything was fine. When I logged into my every day account and tried to load the program, it prompted me for my password. When I entered it, I got this message:Quote:Failed to run /usr/sbin/ipblock start_gui as user root.The underlying authorization mechanism (sudo)t allow you to run this program. Contact the system administrator.Does this mean I am not able to use this program on this account, or is there a way around it? I'm new to Ubuntu so forgive me if I'm asking the obvious. I looked around and couldn't find an answer. I really don't want to use my admin account for daily activities, but I also really want to be able to use IPlist

View 2 Replies View Related

General :: Dos Option - Format Hard Drives - Load Out Side Of A Windows Program

Mar 25, 2011

what are all the options dos- ect! to format a HD. for the Linux platform is there not a way to load Linux out side of a Windows program .

View 7 Replies View Related

Programming :: Using Java Runtime - Program Which Simply Calculates The Load Average Of A Process

Feb 10, 2011

I'm new to the linux world and its been quit sometime since i've done any programming. However, I'm writing a program which simply calculates the load average of a process. In doing this I need to use the uptime command for linux in a java program. I've done a little bit of searching on the net and it mentions this is possiable by using java runtime command. Unfortunatly though I have yet to find a working example of this. I've tried just simply reading the /proc/uptime file but I have no clue how to format the 2 numbers in seconds to make it the same as if you just typed in uptime in the linux command prompt.

View 2 Replies View Related

Server :: Check If Any JDBC Driver For Mysql Server Is Installed On System

Oct 4, 2010

I have a RHEL5 machine having mysql5.0.22 is installed in it. i also installed java through "jdk-1_5_0_19-linux-i586.bin" package, and its version is 1.5.0_19. I am trying to check if any JDBC driver for Mysql Server is installed on my system . How can I do this? If any driver is already installed How can I get the file path for those driver files? is it comes along with jdk packages? As i am not a programmer, and does't know more about jdbc.

View 1 Replies View Related

Server :: PHP And Sendmail With External Mail Server / Failed Reverse DNS Check?

Jun 7, 2010

After searching the forum I could not find a clear answer to my question so I am giving it a try...

I have installed a LAMP server with Postfix as mail server. The scripts send email as user www-data using the mail server on the same machine.

However, the email got rejected by external mail servers (failed reverse DNS check) so I setup a mail server that meets all needed requirements.

Now I would like to use this second server instead of the mail server on the LAMP server. I found that this could be done with changing sendmail settings in php.ini (I think).

However I am not sure how that will go: www-data is no actual user on the new email server (which requires authentication before sending). Do I need to create a new user on the email server or change the settings in php.ini to match an existing user?

View 1 Replies View Related

Ubuntu :: Press Properties Thego To Permissions And Check "allow Executing As Program" Is Missing?

Jun 16, 2010

I have the file for Conky Wizard ver.1 but in order to run it to make it executable. From what I know, I'm supposed to right click the file and press properties thego to permissions and check "allow executing as program" However, this option is missing. Here is the link to the ConkyWizard Ver1 Beta 1 file.

View 9 Replies View Related

Server :: Check A User Connected From Server Using Internet Or Where He Visited?

Nov 12, 2010

I'm using a linux server where nat server is running. Local user are connected from this server. So is there in tool that i can check that local user getting internet? or how can i check that a user connected from linux server using internet or where he visited?

View 1 Replies View Related

Server :: If Server Failed Or Offline - Any Way To Check Status?

Mar 9, 2011

I would like to implement something when a server is offline for whatever reason. For example. I got my own DNS servers and webservers. I would like it if the users goes to www.somedomain.com and the server it is actually on is down for maint. or For whatever not able to respond. What can be done so that if the server isn't able to be contacted that it can point to either a another server or the dns somehow can display a page stating who to contact to report a problem or to let them know its down for maint. And can goto a site to check the status or whatever.

View 7 Replies View Related

Server :: Check Email Server Machine Doing Spamming?

Apr 28, 2010

We are using axigen with redhat

linux how to check if email server machine doing spamming.

View 3 Replies View Related

General :: How To Check Which Web Server Is Installed In Server

Mar 25, 2010

I have developed a small website using jspx pages.Now i want to host the website to a server which is a linux machine.The linux machine which i m referring to is already hosting some web pages(jspx) through a web server Which is running at port 8888.My first question would be "How would i check which web server is installed in the server?"Due to my little knowledge about linux machine .I have copied some simple html pages to /var/ www/ html location. The pages are getting accessed correctly on port number 80.But how would i go about hosting jspx pages.

View 13 Replies View Related

Server :: Server Hang How To Check Reason?

Sep 8, 2010

My server OS CentOS release 5.4 (Final). Using Plesk panel 9.2..Server getting down frequently, how to check the log on server. how to find out the reason.

View 9 Replies View Related

OpenSUSE :: Cant Seem To Load Mp3s Into The Stock Burning Program - "Brasero"

Jan 10, 2011

i cant seem to load mp3s into the stock burning program - "Brasero". i get this error message when i drop an mp3 into the program: "xxx.mp3" is not suitable for audio or video media.

View 6 Replies View Related







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