Red Hat / Fedora :: Resource/Performance Monitoring Script - Red Hat Enterprise Lin?
Mar 18, 2011
Linux OS Version/Release: Red Hat Enterprise Linux Server release 5.5 (Tikanga) Linux <hostname> 2.6.18-194.8.1.el5 #1 SMP Wed Jun 23 10:52:51 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux I have a server that hosts 30+ Oracle databases. Each database has its own set of scripts that shuts down the database and start the database. Things has been working "smoothly" in the last couple of months until this week.
My log in most cases shows errors like the ones below:cannot fork [Resource temporarily unavailable] Connection reset by peer I am 100% sure that the scripts are not at fault since it has been working with no errors for months. I want to monitor the server for what resource or configurations I have to tweak to get around this problem if possible, am I exceeding my ulimit settings running out of process,out of memory/swap space etc?
I wish I could stay up 24x7 to monitor to monitor the server but I can't. Can anyone please advise if there is any monitoring script available somewhere that I can put in cron to temporarily monitor the server for resource issues, for example memory used/left, swap space used/left, ulimit-num-process used/left, nofiles used/left etc.
In Short: I want something that will show me which files and associated requested URLs are causing the highest load on our web server.
Verbose: We already monitor our Apache web server using Cacti, Nagios, and of course traditional nix commands, but I am looking for something specifically to take an Apache process ID and tie that to a users request for a specific file and URL. The great thing about something like this is that it would be able to show me the worse performing PHP files. Special bonus if it can store this data over time for reports.
I have been googling around for something like this but can't seem to find it. Bonus if it exists in Cacti or Nagios already and I'm just to blind. I started writing my own PERL script to do this, but have limited time to devote to this at work so if a solution already exists I'm game, else I'll just have to write it myself. I'm also worried about my own scripted solution in that it won't get it write because it will be leveraging the output of a specialzed apache log that records the PID and then doing a look up with ps aux looking for that PID.
Is there a 'top' like command for monitoring the GPU and memory usage of a video card? I am most interested in Linux commands, but and OS would be interesting. I strongly suspect that for a group of my systems the video cards are being under-utilized (but I have no idea by how much) and would like to re-allocate funds to other bottle-necks. We are using higher end cards, so the price difference between cards is significant.
I'm interested in a Open Source performance monitoring tool that can work across the board on all Linux platforms. If such a product does not exist that works on all the platforms, Redhat would be the platform I am most interested in. Can I get some suggestions and locations on where to down load?
It is vital to get a useful server performance monitoring tool that prevents growth related performance issues. Moreover, it should offer long term capacity planning and trend analysis along with detecting performance issues and unwanted outages.
I just wanted to know if having my laptop set to ondemand, will this affect performance in any way? I realize it increases the clock speed to performance when the CPU is under load, but does the time it take to go from ondemand to performance affect speed? Will there be any noticeable difference between the two setups? I have a dual core intel at 2.2GHz when in performance. When ondemand is set with no load it downclocks to 800Mhz.
After upgrading to fedora 15, I have problems mounting XFS filesystem.
The short tale: Code: 08:01:38 localhost root>mount -t xfs -vv /dev/sdb1 /data/disks/old mount: /dev/sdb1 already mounted or /data/disks/old busy 08:01:39 localhost root>fuser /data/disks/old 08:01:41 localhost root>lsof /data/disks/old 08:01:44 localhost root>xfs_repair -t 1 /dev/sdb1 xfs_repair: cannot open /dev/sdb1: Device or resource busy 08:01:48 localhost root>fuser -mu /dev/sdb1 08:02:08 localhost root>dmesg | tail -n 5 [1655779.759764] SGI XFS Quota Management subsystem [1659275.905756] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled [1659275.908745] SGI XFS Quota Management subsystem [1659389.154986] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled [1659389.156519] SGI XFS Quota Management subsystem
Device is not mounted, and directory is not in use, it has just been created. There is nothing in log files that could remotely point the cause. After removing device (echo 1 > /sys/block/sdb/device/delete) and reattaching it, disk started working.
I am running the default Gnome 3 Fedora distribution with Exaile installed in the place of the default media player. When I restart Exaile gives error that the resource is not found. However I can open and play a file with VLC media player, and afterwards exaile works just fine. I have installed a program call Fedoraplus and used the option to install most codecs, when everything is working I can play just about anything.
I can't forward my kerberos credentials to a computing resource before connecting to the resource for which I have kerberos credentials. In other words, from my machine at work I obtain my ticket with kinit -f to a computing facility off in some lab somewhere.
Then, I want to ssh to another machine in another department (I don't have control over the krb5.conf file or this would have been easy) where I work. It is on this machine I want to be able to ssh,scp, etc to this far off lab. I've tried several options around this barrier, but I'm a total failure thus far. I checked that GSSAPIAuthentication is set to yes.
So I cant seem to be able to install fedora 15. I think it is the disk. I have windows 7 already installed (and would like to keep it) It was installed on the end of the hard drive leaving a 100 GB chunk in the center of the drive open and unformatted (this may be the problem). Anyway I used the live cd and tried to format the unformatted partition to exf but it gives me this error
Code: Error creating partition: helper exited with exit code 1: In part_add_partition: device_file=/dev/sda, start=105906176, size=104752742400, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 Entering MS-DOS parser (offset=0, size=500107862016) MSDOS_MAGIC found found partition type 0xee => protective MBR for GPT Exiting MS-DOS parser Entering EFI GPT parser GPT magic found partition_entry_lba=2 num_entries=128 size_of_entry=128 Leaving EFI GPT parser EFI GPT partition table detected containing partition table scheme = 3 got it got disk new partition added partition start=105905664 size=512 committed to disk Error doing BLKPG ioctl with BLKPG_ADD_PARTITION for partition 2 of size 105905664 at offset 512 on /dev/sda: Device or resource busy
Do I have to reinstall windows for this to work or is there something I can try to do.
I have just installed Fedora12, i worked all time with Red Hat Enterprise, so i wanted to set the default Red Hat theme(clearlooks) on Fedora. However i can't find the clearlooks icons in the themes, how can i set them?
I have two machines on the same network. I want to share files from my Red Hat server to my Fedora 11 box. I want to know what is the easiest, most secure way of doing so. My machines are on a public wire (not an issue really as I don't have sensitive stuff on there), however I'd like to learn how to secure the server, but yet still get access from my Fedora box. Anyone provide me with a guide or help on which protocol (SSH, Samba? NFS) to use?
I wanted to install the latest version of the Revolution Enterprise R 4.0 software on Linux, however the company only supports the produce on Windows and Red Hat(CentOS). Since I don't want to stay on Windows and CentOS is too locked down, I was wondering if I could install the Red Hat version of the RPM on Fedora? I am not sure if there are any particular issues associated with installing Red Hat RPMs on Fedora with respect to compatibility.
The company said that they do not support Revolution Enterprise on Fedora yet and have not tested it. Since the software is proprietary--I can get it under a free academic license--I cannot compile it from source. I tried to install the software in a Fedora VM, but it seemed to quit in the middle. But that might have been just my lack of Fedora experience more than a software issue.
I just installed Red Hat 6 but when I try to login it prompts me to enter a "Smartcard Authentication" instead of a user name.Does anyone know how to get pass this? and just login with the user name I created or the root? I tried logging using root and a regular user but it always keeps asking me to enter a smart card.Here's a screenshot of the login screen:Code: i901.photobucket.com/albums/ac211/0xGFX007/smart.png
A client has a desktop program that uploads images and data to a certain folder where i have a script that imports it to a DB, this all works. But i cant just set it to a hourly cron or have the client run a script after they have uploaded via FTP (the client is not techy).
So I need a way to detect when they have finished uploading all the data via ftp, which i just cant see a way of doing....it would have to be a linux command where it notifies a php script when the client has logged out of ftp, then disables shell access temporarily imports the data they have uploaded then reactivates shell access...but i have no idea what linux commands i would have to look into to get this working.
I am currently running a 64-bit Fedora 14 server which hosts a game server, a voice server, and remote desktop functionality, each on a distinct TCP port. I am currently using the built-in firewall to deny all traffic other than ICMP ping/pong and TCP traffic on those specific ports.I am looking for a graphical application which will let me monitor any connections being made to my server in order to keep an eye out for possible security concerns. To be more specific, I'd like to be able to see the source IP addresses, TCP/UDP ports, and individual bandwidth in use by external connections being made to the server, along with any other information that might be helpful in identifying a possible intrusion attempt.
I use network Manager to connect to wireless broadband on Fedora 12.Are there any tools that can provide me logs about connection times, bandwidth monitoring etc.Basically, I need logs like what kppp provides with accounting.
I can use kppp to connect and get the logs I need but I want to connect to the network as soon as I plug it in - Only Network Manager allows this.