Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Stuff to keep an eye on?
PostPosted: Sat Feb 10, 2007 8:01 pm 
Offline
Senior Member

Joined: Sat Feb 10, 2007 7:49 pm
Posts: 96
Website: http://www.arbitraryconstant.com/
From reading this forum, I found out about /proc/io_status. Presumably if I continually run out of tokens I'll get throttled, as apparently happened to the guy that wrote the post I saw.

Is there anything else I should keep an eye on from within the VM? I take a look at my resource usage in the web interface when I have occasion to log in, but if there's something within the VM itself I can watch automatically (eg nagios) then I stand a much better chance of catching it before it becomes an issue for anyone else.


Top
   
 Post subject:
PostPosted: Sun Feb 11, 2007 12:37 pm 
Offline
Senior Member
User avatar

Joined: Sun Feb 08, 2004 7:18 pm
Posts: 562
Location: Austin
You can watch /proc/io_status , maybe have your system email you if your tokens drop below the 50% mark or something.


Top
   
 Post subject:
PostPosted: Sun Feb 11, 2007 2:48 pm 
Offline
Senior Member

Joined: Sat Feb 10, 2007 7:49 pm
Posts: 96
Website: http://www.arbitraryconstant.com/
Xan wrote:
You can watch /proc/io_status , maybe have your system email you if your tokens drop below the 50% mark or something.
Yeah, I do that. I was more thinking about indicators for CPU or network usage though.


Top
   
 Post subject:
PostPosted: Sun Feb 11, 2007 4:13 pm 
Offline
Senior Member
User avatar

Joined: Sun Feb 08, 2004 7:18 pm
Posts: 562
Location: Austin
Oh. Well try this one then:
https://www.linode.com/members/graphs/index.cfm


Top
   
 Post subject:
PostPosted: Tue Feb 20, 2007 11:17 pm 
Offline
Linode Staff
User avatar

Joined: Sat Jun 21, 2003 2:21 pm
Posts: 160
Location: Absecon, NJ
Check out /proc/stat

Specifically the 'swap' line. The first number is the number of swaps in and the second is swaps out. If either of these is growing too quickly you're swap-thrashing and we will all hate you.

The 'page' line is for page in/out but there isn't much you can do about that as far as I know.

If you want a pretty, human readable version to look at, grab the 'procinfo' program.

--James

FYI: My linode has been up 3 days and I have 80 swap ins and 130 swap outs. Those are good numbers. Very little swapping going on.


Top
   
 Post subject:
PostPosted: Thu Feb 22, 2007 11:07 am 
Offline
Junior Member

Joined: Wed Jan 26, 2005 7:20 pm
Posts: 34
I'm curious about what I can check to stay in good graces with my neighbours so I wanted to check this out. I see no swap line:

harleypig@harleypig ~ $ cat /proc/stat
cpu 528273 40 239602 229393529 406132 0 125 0
cpu0 528273 40 239602 229393529 406132 0 125 0
intr 282928833 279326787 0 1 0 2972324 629721 0 0 0 0 0 0 0 0
ctxt 18861030
btime 1169363940
processes 797113
procs_running 1
procs_blocked 0
harleypig@harleypig ~ $


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group