Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-25-2004, 07:49 AM   #1
DarkJedi
No Refunds Issued.
 
DarkJedi's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: GFY
Posts: 28,300
What is the command to check server load on Linux ?

how to check server load ?
im not strong in thechnical stuff
DarkJedi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2004, 07:51 AM   #2
X37375787
Guest
 
Posts: n/a
"w" ?
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2004, 07:53 AM   #3
jennycards
Confirmed User
 
Join Date: Feb 2002
Location: European Union
Posts: 1,124
top
jennycards is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2004, 07:56 AM   #4
DarkJedi
No Refunds Issued.
 
DarkJedi's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: GFY
Posts: 28,300
ok, i did top

how does this look like ?


last pid: 97308; load averages: 1.93, 4.37, 5.73 up 60+15:55:39 09:53:51
5 processes: 1 running, 4 sleeping
CPU states: 31.3% user, 1.6% nice, 38.3% system, 2.1% interrupt, 26.7% idle
Mem: 1029M Active, 338M Inact, 372M Wired, 82M Cache, 199M Buf, 189M Free
Swap: 256M Total, 1972K Used, 254M Free




good / bad ?
DarkJedi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2004, 07:59 AM   #5
Carrie
Confirmed User
 
Join Date: Apr 2002
Location: Virgin - nee
Posts: 3,162
"load averages: 1.93, 4.37, 5.73"

It's coming back down but it was high a couple of minutes ago. Your average is high, too.
Carrie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2004, 08:01 AM   #6
DarkJedi
No Refunds Issued.
 
DarkJedi's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: GFY
Posts: 28,300
its ISprime.

should i contact them ? or is this normal for virtual servers ?
DarkJedi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2004, 08:06 AM   #7
Nathan
Confirmed User
 
Industry Role:
Join Date: Jul 2003
Posts: 3,108
Dark,

first of all, this is freebsd, not linux

then, this is nothing, do not worry about it. Or is the server actually SLOW?
__________________
"Think about it a little more and you'll agree with me, because you're smart and I'm right."
- Charlie Munger
Nathan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2004, 08:10 AM   #8
DarkJedi
No Refunds Issued.
 
DarkJedi's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: GFY
Posts: 28,300
i dont know much about the tech stuff.
i needed to install one script and the guy said that the server was kinda slow.
DarkJedi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2004, 08:30 AM   #9
Weppel
Confirmed User
 
Join Date: Aug 2003
Location: Netherlands
Posts: 2,190
The load is kinda high, i suggest you contact ISPrime about it.

Try "top -d 1" if you want some more acurate stats (refreshes the window every second instead of every 4 seconds).
Weppel is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2004, 08:32 AM   #10
keyDet79
Confirmed User
 
Join Date: Feb 2003
Location: Netherlands
Posts: 1,109
Load is the amount of processes that want to run at the same time, this can be a bit higher if the server has multiple processors. You can type uptime to have it displayed. If load is a bit high your PHP/CGI/MySQL will act up for a few seconds from time to time.
__________________

Multihomed quality BW for less
ICQ 51034232 - MSN [email protected] - Email keydet(at)vibehosting.com
keyDet79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2004, 08:39 AM   #11
LBBV
Confirmed User
 
LBBV's Avatar
 
Join Date: Aug 2002
Location: Atlanta
Posts: 936
uptime is the easiest way to check the load average. Just run "uptime" at the prompt.

The uptime utility displays the current time, the length of time the system has been up, the number of users, and the load average of the system over the last 1, 5, and 15 minutes.

Short spikes are normal, and a good number is anything under 1 (0.8, etc). If it's a script heavy box or a Mysql heavy box, you may see that number consistently stay a bit higher, but if it constantly stays above 10, you have a problem.

Also, uptime is computed based on a couple of things, but mostly on the number of processes in a "wait" state. In other words, the number of processes that are waiting for their chance to run, so this means that if the load average is too high, you have processes that aren't being handled immediately, which translates into a slower server.

You can watch the server performance by running vmstat. For instance, to see 100 1 second snapshots, run "vmstat -c 100". You'll see something like the following

procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr ad0 md0 in sy cs us sy id
26 1 0 558508 38644 319 0 0 0 17 25 0 0 277 19 317 5 5 90

The third column (w) is the processes in the wait state. Ideally, this number should almost always be 0. Do "man vmstat" to see what the rest of the numbers mean. vmstat is a good diagnostics tool to see if your swapping, if your disks are keeping up, etc.

Hope this helps...
__________________
National Net Hosting. Handled.
See our new line of inexpensive Dedicated Servers | Cabinets starting at $795 | CDN
[email protected] | 888-4-NATNET | www.nationalnet.com
LBBV is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2004, 08:40 AM   #12
hanii
Confirmed User
 
Join Date: Mar 2002
Location: Moon
Posts: 449
Quote:
Originally posted by DarkJedi
ok, i did top

how does this look like ?


last pid: 97308; load averages: 1.93, 4.37, 5.73 up 60+15:55:39 09:53:51
5 processes: 1 running, 4 sleeping
CPU states: 31.3% user, 1.6% nice, 38.3% system, 2.1% interrupt, 26.7% idle
Mem: 1029M Active, 338M Inact, 372M Wired, 82M Cache, 199M Buf, 189M Free
Swap: 256M Total, 1972K Used, 254M Free




good / bad ?
bad.
hanii is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2004, 08:50 AM   #13
Adulter
Confirmed User
 
Join Date: Feb 2003
Location: EU
Posts: 1,252
Quote:
Originally posted by DarkJedi
ok, i did top

how does this look like ?


last pid: 97308; load averages: 1.93, 4.37, 5.73 up 60+15:55:39 09:53:51
5 processes: 1 running, 4 sleeping
CPU states: 31.3% user, 1.6% nice, 38.3% system, 2.1% interrupt, 26.7% idle
Mem: 1029M Active, 338M Inact, 372M Wired, 82M Cache, 199M Buf, 189M Free
Swap: 256M Total, 1972K Used, 254M Free




good / bad ?
normal

__________________
Adulter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2004, 09:18 AM   #14
DarkJedi
No Refunds Issued.
 
DarkJedi's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: GFY
Posts: 28,300
ok, here are the uptime numbers:

[darkjedi@hail]$ uptime
11:12AM up 60 days, 17:14, 1 user, load averages: 1.51, 2.94, 3.85



and here's the vmstat -c 100

[darkjedi@hail]$ vmstat -c 100
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr da0 da1 in sy cs us sy id
12 7 0 2764880 178384 88 4 3 0 52 34 0 0 333 69 333 24 29 47
13 8 0 2764300 171236 11112 0 0 0 6174 0 122 5 1407 95840 1441 28 51 21
10 7 0 2763804 172716 5799 8 4 0 4305 0 80 58 1383 58278 1012 18 34 48
11 7 0 2767060 170396 6976 0 0 0 3552 0 2 0 1000 44851 594 21 28 51
8 7 0 2767164 170296 5910 0 0 0 3179 0 10 2 1117 87727 435 11 31 58
14 7 0 2767788 169732 6320 5 4 0 3137 0 6 0 1154 102051 732 16 36 48
14 8 0 2783556 169404 5435 0 0 0 2566 0 0 2 1058 88460 1090 17 29 53
22 8 0 2781248 169224 8808 0 1 0 4316 0 6 57 1291 64535 613 18 32 50
8 7 0 2768224 169324 3203 0 0 0 1463 0 11 1 1253 27040 546 11 22 67
^C



how does it look ?
DarkJedi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2004, 11:47 AM   #15
[Dan]
Confirmed User
 
Join Date: Oct 2001
Location: Somewhere in time
Posts: 143
Nothing to worry about... It's good for a shared server..
[Dan] is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2004, 11:51 AM   #16
DerekT
Confirmed User
 
Join Date: Jun 2001
Location: Apple Valley, MN
Posts: 112
Yours looks pretty good if you ask me. Here is mine for a dual 2Gig Xeon dedicated server. Mind you this is my busiest server.

12:53pm up 2 days, 18:01, 1 user, load average: 8.36, 6.04, 5.09
300 processes: 294 sleeping, 5 running, 1 zombie, 0 stopped
CPU0 states: 92.0% user, 5.0% system, 0.0% nice, 2.0% idle
CPU1 states: 78.0% user, 18.0% system, 0.0% nice, 3.0% idle
CPU2 states: 92.0% user, 7.0% system, 0.0% nice, 0.0% idle
CPU3 states: 75.0% user, 24.0% system, 0.0% nice, 0.0% idle
Mem: 1030676K av, 1005068K used, 25608K free, 0K shrd, 57096K buff
Swap: 2048276K av, 126900K used, 1921376K free 542264K cached
DerekT is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.