Knowing how much CPU I am using


#1

Usually I got files in

/logs/resources/

Now that files are no longer updated since 4/8

I tried to enable it in https://panel.dreamhost.com/index.cgi?tab=users&subtab=users&current_step=Index&next_step=Edit&usid=2666866

like usual. but the checkbox that allow that no longer exist…


#2

I have that checkbox on mine. But the box says it doesn’t apply to PS accounts.

I think CPU usage is no longer an issue. There’s a blog entry sorta relating to that:
http://blog.dreamhost.com/2006/05/18/the-truth-about-overselling/

Here’s the Wiki entry:
http://wiki.dreamhost.com/CPU_Resources_FAQ

What it really boils down to is: are you maxing out the server? The ‘top’ command is the most valuable tool for this. If you’re not putting a continuous heavy load on the server, then it’s most likely not an issue.

-Scott


#3

Top says I am using low CPU. Just need to make sure.

This is my concern… I am no longer able to pull this off:


First, you’ll need to verify that you have CPU Reporting enabled for your user. This can be done from the ‘Users’->‘Manage Users’ section of the web panel by clicking ‘edit’ for the user in question:

https://panel.dreamhost.com/index.cgi?tree=users.users&

You should be able to access your reports within a day after being enabled by FTP’ing or SSH’ing to your account and switching to the logs/resources/ directory. In there, you’ll find files named .sa.analyzed.0, .sa.analyzed.1, .sa.analyzed.2. Your username will replace . These files are generated by a script that looks at how many minutes your scripts use, then rotates them every day. So the latest file from yesterday will be the .0 file, and the day before will be .1 and so on.

You can also view and download these stats files through the stats url of any of your domains (E.G. http://yourdomain.com/stats/resources )

Usually there is a check box saying whether I would enable resources logging on this user. That text box is gone…

Also if I ftp to resources directory I see files last updated on 4/8