05-19-2008
newbie: way to learn more about server's resource usage
I have a dedicated server running centos. It is "slightly managed" meaning I get a little help if I desperately need it; otherwise on my own.
Many of the programs on this server I've had to write myself (less than optimal code for sure). Others are commercial but some are renowned
resource hogs. I find lately that the load is well above 1.0 even during slow times, and I'd really like to find a way to start looking at server usage and hacking away at egregious wastes of resources. Obviously my trouble areas are apache and mysql.
Unfortunately the older I get the less technically adept I get at working from the command line without pretty graphs etc and seem to be figuring out next to nothing from things like ps -aux. If someone could recommend something simple I could start with to get a better picture of my server's usage, I would appreciate it. I'm sure all this has a technical name I could google further on but not sure what that would be.
Thanks!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
1. If I want to check directory INPUT which files are not update within
5 minutes then move them to DATA1 directory
$ echo a > A.20060321.txt;echo b > B.20060321.txt;echo c > C.20060321.txt;
echo d > D.20060321.txt
$touch control_time; sleep 300
$find . ! -newer control_time -name "*.txt"... (1 Reply)
Discussion started by: sabercats
1 Replies
2. Gentoo
I am trying to write a small (and rather simple) script to gather some info about the system and piping it to dzen2
first, i want to explain some things.
I know i could have used conky, but my intention was to expand my knowledge of bash, pipes and redirections inside a script, and to have fun... (14 Replies)
Discussion started by: broli
14 Replies
3. UNIX for Dummies Questions & Answers
Hi There,
I'm trying to find a way to gather resource usage information (CPU, Memory & Virtual Memory) for a single process in a scripted way.
I've looked at vmstat & top but I can't figure out how to use them to get the information for a single process.
can any one help with this?
... (2 Replies)
Discussion started by: Murph
2 Replies
4. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
5. UNIX for Dummies Questions & Answers
Hi. First of all, would 4 or 5 websites, 1 ftp server (when downloading by someone or a few persons or one, concretize) and one mail server (not many emails, just to sound official and have a nice, spam-free email for myself). Websites with not that many, but some, later more visitors, quite... (0 Replies)
Discussion started by: newn
0 Replies
6. Linux
Hi,
I have just now started working with a company.
I am working on black screen and earlier I didn't knew whether it was unix or linux but today I searched google and found uname command and found that I am using Linux kernel :D .
As you all must've figured out that I am a real ultra newbie and... (5 Replies)
Discussion started by: csrohit
5 Replies
7. UNIX for Dummies Questions & Answers
Hi there,
I'm looking at learning about Red Hat, I am a beginner, can anyone point me in the direction of the best books/manuals to purchase? there are so many available at the moment.
Thanks in advance
PJ (4 Replies)
Discussion started by: Paul John
4 Replies
8. Solaris
Hello, I looking for becoming a Solaris system administrator. Background: I consider myself an entry-level Linux system administrator.
I don't know if I start my studies with Solaris 10 or 11. Maybe Solaris 11 because it's the new thing and the future, and Solaris 10 because since Solaris is... (2 Replies)
Discussion started by: albertoridolfi
2 Replies
9. Infrastructure Monitoring
I need to record min and max resources for RAM, & CPU for each command's execution in a shell script. Maybe going in details I would also be interested to capture plots with resource usage i.e.start to end of individual command with respect to time in a shell script.
Please share ideas. (0 Replies)
Discussion started by: vaibhavvsk
0 Replies
10. UNIX for Advanced & Expert Users
hello all,
on linux servers sometimes any of these resources (cpu,memory,disk) get a spike when you are not in front of the server.
the duration of these spikes might be 5 mins or even whole weekend.
my question is there a good way of capturing the events that caused these issues ( cpu or... (5 Replies)
Discussion started by: coolatt
5 Replies
LEARN ABOUT DEBIAN
freetennis
FREETENNIS(6) Games Manual FREETENNIS(6)
NAME
freetennis - free tennis simulation game
SYNOPSIS
freetennis [options]
DESCRIPTION
Free Tennis is a free tennis simulation game.
OPTIONS
A summary of options is included below.
-help, --help
Show summary of options.
-p0 <name>
The name of player 0 (default: ivan).
-p1 <name>
The name of player 1 (default: ivan).
-donotshowpause
When the game is paused, do not show the "paused" sign. Useful for screenshots.
-showfps
Display the number of Frames Per Second (on the standard output). Useful for debugging.
-aidebug
Shows some info useful to debug AI.
-realistic
Make the game realistic. This alters the parabola visibility depending on the player and shot. Better gameplay, but not suitable for
newbies.
-newbie
Make the game not realistic, but more suited to newbies. The parabola is fully visible.
-nosound
Run with no sound.
-xres <integer>
The horizontal resolution (default: 640).
-yres <integer>
The vertical resolution (default: 480).
-port <integer>
The TCP port to use. Makes sense with -client and -server. The default is 4000.
-computerskill <integer>
Skill level of computer. A number from 0 (very difficult) to 250 (very easy). Default is 190.
-client <ip address>
The IP address of the server. Only for multiplayer.
-server
Run Free Tennis as server. Only for multiplayer.
-surf <surface>
SURF: surface for the court. Choices are "clay", "cement", "grass".
SEE ALSO
http://freetennis.sourceforge.net/
/usr/share/doc/freetennis-common/web-site/index.html
AUTHOR
freetennis was written by Maurizio Colucci <maurizio.colucci@gmail.com>.
This manual page was written by Bart Martens <bartm@knars.be> and updated by Mehdi Dogguy <dogguy@pps.jussieu.fr>, for the Debian project
(but may be used by others).
Apr 26, 2008 FREETENNIS(6)