Problem in Server Admin: cpu and network graphs not updated or empty after lion server update

Hi!
Just for archive purpouses because i've already solved that!
After upgrading from OSX Server 10.7 to 10.7.1 my CPU and Network graphs in Server Admin stop being updated.
In 24h the graphs where blank (disk usage graph seem to keep working).
First i read about "what is the application responsible for this"; it's called ServerPerfLog, and you can see if it's running that way:
     # ps ax | grep ServerPerf
If you don't see anything else than your own "grep", that means that no application is running, no data is being collected.
     41324 s000  R+     0:00.00 grep ServerPerf
A positive response for this (meaning that the service is running) should be something like that (2 lines: your grep and the service app itself):
     94   ??  Ss     0:04.71 /usr/libexec/ServerPerfLog
     41344 s000  R+     0:00.00 grep ServerPerf
Later i read about "where is the config file for this service app", and you can find it here:
     /System/Library/LaunchDaemons/com.apple.ServerPerfLog.plist
If you edit this config file, check that the "Key > Disabled" is set to "False"
     # vi /System/Library/LaunchDaemons/com.apple.ServerPerfLog.plist
        <key>Disabled</key>
        <false/>
After that, i try to launch the service that updates this graphs again, by hand, performing the following command:
     # sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.ServerPerfLog.plist
And the service got launch!!! yeeeepa!! i see a first update in graph data.
Also the "ps" query reply that the service was running!!
The bad things came a day after, when i saw that the graphs stop again....
I check if the service was running executing again the "ps" command, and that show me that the service was stopped again; no ServerPerfLog process was running.
But r e l a x, because the process hang because of a permissions problem.
You should know, I run "Repair permissions" within "Disk Utilities" over the running system disk, eeee... voila!
I hope that helps someone to get his fancy graphs back!
Regards,
t

You are God like!!! Wooo hooo! Thanks bud!

Similar Messages

  • Measuring the cpu and ram consumption of a given query in sql server

    hello there how you doing and am new to this sql server forum and i suddenly popped to ask questions related to sql server
    and my question goes like this
    in sql server i have table called testt and it have more thna10000000 records
    and i have written a query select * from testt limit 9000000; and what i want is to measure the
    CPU consumption of this given query=???????????????
    and
    RAM consumption of this given query=???????????????
    Time consumption of this given query=?????????????? this i will get it from the result bar but i don't know whether it is correct or not
    any help on this it may be query, tool or configurations all are acceptable and appreciated
    10Q for letting me ask questions and feeling freely.

    Please check these queries and this may helps you to get whats happening on with CPU currently..
    SELECT getdate() as "RunTime", st.text, qp.query_plan, a.* FROM sys.dm_exec_requests a CROSS APPLY sys.dm_exec_sql_text(a.sql_handle) as st CROSS APPLY sys.dm_exec_query_plan(a.plan_handle) as qp order by CPU_time desc
    Top 50 CPU usage :
    SELECT TOP 50 st.text
                   ,st.dbid
                   ,st.objectid
                   ,qs.total_worker_time
                   ,qs.last_worker_time
                   ,qp.query_plan
    FROM sys.dm_exec_query_stats qs
    CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) st
    CROSS APPLY sys.dm_exec_query_plan(qs.plan_handle) qp
    ORDER BY qs.total_worker_time DESC
    SP_Whoisactive --- download from : http://www.brentozar.com/responder/log-sp_whoisactive-to-a-table/
    Activity Monitor and sp_who2 active also will give some idea...
    Reference links...
    http://channel9.msdn.com/posts/SQL-server-High-CPU--Part-1
    http://channel9.msdn.com/posts/Troubleshooting-SQL-server-High-CPU--Part-2
    http://jeffstevenson.karamazovgroup.com/2008/09/identifying-high-cpu-sql-processes.html
    http://searchsqlserver.techtarget.com/tutorial/Step-1-CPU-usage
    ================
    Execute this script and and start doing your analysis in your server so that you will get more idea how its working and all the details...
    Sample CPU Test : Dont try this in production and try this in your test or Dev server..
    -- Query to Keep CPU Busy for 2 0 Seconds
    DECLARE    @T DATETIME, @F BIGINT;
    SET @T = GETDATE();
    WHILE DATEADD(SECOND,20,@T)>GETDATE()
    SET    @F=POWER(2,30);
    You can easily change the parameter in the DATEADD and can make it run for 50 seconds.
    -- Query to Keep CPU Busy for 50 Seconds
    DECLARE    @T DATETIME, @F BIGINT;
    SET @T = GETDATE();
    WHILE DATEADD(SECOND,50,@T)>GETDATE()
    SET    @F=POWER(2,30);
    Raju Rasagounder MSSQL DBA

  • I have a problem in activate Alaaclaud account and I can not open the device

    السلام عليكمI have a problem in activate Alaaclaud account and I can not open the device

    Standard troubleshooting...
    Try a reset by pressing the home and sleep buttons until you see the Apple logo, ignoring the slider. Takes about 5-15 secs of button holding and you won't lose any data or settings.
    If still a problem restore with your backup.
    If still a problem restore as new, i.e. without your backup. See how it runs with nothing synced to it.
    If still a problem, it's likely a hardware issue.

  • HT1918 Got a problem in my iTunes account and I can not purchase through

    Got a problem in my iTunes account and I can not purchase through

    Most of the people on these public forums, including myself, are fellow users - you're not talking to iTunes Support here. I've asked the hosts to remove your email address from your post.
    What happens when you try to buy them, does the 'buy' button not work, do you get any error messages ... ?
    If you are getting a message to contact iTunes Support then you can do so via this link and ask them for help  (we won't know why it'sappearing) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    If it's a different problem ... ?

  • I have migrated from London to New Delhi and i am facing some problem with my iPhone 4s and i am not able to setup a repair .My phone is in under warranty too. Can anyone tell whats the matter?

    I have migrated from London to New Delhi and i am facing some problem with my iPhone 4s and i am not able to setup a repair .My phone is in under warranty too. Can anyone tell whats the matter?

    The warranty is NOT international. You must take it back to the country of origin if it needs repair. The E.U. is considered a single country for warranty purposes.

  • I have a downloaded font file for a school problem on a flash drive and I do not know how to install it into my photoshop application. Need to be walked through this as I am an older user who does not understand any of this stuff.

    I have a downloaded font file for a school problem on a flash drive and I do not know how to install it into my photoshop application. Need to be walked through this as I am an older user who does not understand any of this stuff.

    Fonts are handled by your operating system and installed through the respective System Control panel (Windows) or Fontbook (Mac). On Windows simply type "Fonts" in the search bar in the start menu and when you open the panel/ folder use File --> Add Font. On Mac the procedures are similar, you just need to find the Fontbook app in Applications:Utilities.
    Mylenium

  • Hello, I'm using Mountain Lion and mail does not leave the mails on the server, either on iCloud nor on other suppliers (orange). They are both using iMap protocol... Any place where I could change this ? Thanks for any hall; Christian

    Hello, I'm using Mountain Lion and mail does not leave the mails on the server, either on iCloud nor on other suppliers (orange). They are both using iMap protocol... Any place where I could change this ? Thanks for any hall; Christian

    Under what circumstances does mail "not leave the mails on the server"?
    If you mean that you delete them (or move them out of the inbox) on one device and then find them not in the inbox on the server when you look from another device, that's how IMAP is supposed to work. (Note that the deletion or moving might be the result of rules you have set up in Mail.)
    If you mean something else, please explain your issue in more detail.

  • HT1420 No longer authorized to enter the account was used to five devices have exhausted all attempts to please you to the solution to this problem I reside in recursion and I'm not good at English Language

    No longer authorized to enter the account was used to five devices have exhausted all attempts to please you to the solution to this problem I reside in recursion and I'm not good at English Language 

    MMS will be available for the 3G and 3GS in two weeks - on Friday, September 25th - likely with a carrier update made available via iTunes.
    In the interim - for the next two weeks, ask the sender of an MMS to address the MMS to an email address that you access with the iPhone's Mail client - the sender will enter your email address in the To: field for the MMS instead of your cell phone number with area code. The MMS will be received by you as an email with the photo as an attachment. This will give you the sender's cell phone MMS email address. Add this email address to the contact's info in your iPhone's address book. If you want to send an email with a photo attached as an MMS to this person, address the email to their cell phone MMS email address. The email with the photo attached will be received as an MMS.
    This will be required for another two weeks.

  • When I am in safari, I try to bookmark a web page and it is not doing it, it worked before I updated to the ios6 version

    When I am in safari, I try to bookmark a web page and it is not doing it, it worked before I updated to the ios6 version, does any one know why ? It pulls up the screen to save it but then it is not showing up on the bookmark drop down menu, it continues to show the standard google,iPad user guide, yahoo....

    hello sofg777, when you're at a page you want to print try to press ctrl+P and select a different printer than the Microsoft XPS Document Writer which seems to be set as your default printer in firefox at the moment.

  • HT4436 I have a 5 year old Mac Book with OS 10.6.8 and it can not be upgraded to Mountain Lion.  I just got an iPad with retina.  How do I get an iMovie project onto my iPad?

    I have a 5 year old Mac Book with OS 10.6.8 and it can not be upgraded to Mountain Lion.  I just got an iPad with retina.  How do I get an iMovie project onto my iPad?

    I have a 5 year old Mac Book with OS 10.6.8 and it can not be upgraded to Mountain Lion.  I just got an iPad with retina.  How do I get an iMovie project onto my iPad?

  • Need some help to unlock the Ipad. Cannot contact the previous owner he is in the shelter and I do not know were. After I restore the Ipad is asking that the previous owner has to remove it from his account

    need some help to unlock the Ipad. Cannot contact the previous owner he is in the shelter and I do not know were. After I restored the Ipad is asking that the previous owner has to remove it from his account

    Nobody on these boards or at Apple will unlock that device for you. Sorry.
    (117810)

  • By mistake i ereased my mackbook pro's disk. and when is restared it recovery page opened. and i did not purchase the osx mountain lion. do i have any other way to recory it without purchasing the copy of osx. can i do it using a usb having image file of

    by mistake i ereased my mackbook pro's disk. and when is restared it recovery page opened. and i did not purchase the osx mountain lion. do i have any other way to recory it without purchasing the copy of osx. ?can i do it using a usb having image file of mountain lion?

    Did you buy your machine second-hand? That's really the only way you would have to purchase OS X 10.8.x from the App Store... but, yes, if you have a USB thumb drive with a bootable installer (such as made with Lion DiskMaker) you can boot from that and reinstall OS X.
    Clinton

  • Zoom in and out is not working in folders after installing Lion OS

    Zoom in and out is not working in folders after installing Lion OS. Did not understand why?

    Feature has been removed AFAIK. As far as zoom is concerned, the new operating system has been..whatever the opposite of optimized is...pessimized?

  • HT201210 Hi, cant update IO6. After downloading the update and processing it through Itunes on my mac.... and I have a factory unlocked Iphone 4S. Cant update the software. Waring message is say this devise is not eligible for build. Please help.

    Hi, cant update IO6. After downloading the update and processing it through Itunes on my mac.... and I have a factory unlocked Iphone 4S. Cant update the software. Waring message is say this devise is not eligible for build. Please help.

    Download iTunes using the tab at the top of this page. Then run the update with iTunes closed.

  • Someone changed my icloud login password, and I can not activate the iPhone after   recovery

    someone changed my itslud login password, and I can not activate the iPhone after
      recovery

    You could try to reset your password via a webbrowser here: https://appleid.apple.com

Maybe you are looking for

  • HELP for all 5 TYPES of  STO  Stock Transport Orders with detailed scenario

    PLEASE help me understanding the detailed scenarios for all 5 TYPES of STO s as in my day to day job activities , i frequently handles issues related to STO s PLEASE HELP WITH DETAILED STEP BY STEP SCENARIOS

  • Problems with HDTV and an AGP Sawtooth

    Hello, I have an old but solid G4 Sawtooth that I'm looking to use as a media PC plus a bit of browsing in a second room. I also have a Lexsor 32" LCD HDTV that I'm looking to use as the display, connecting via VGA. I have previously used this TV as

  • Imported too much -- how to fix

    I apologize for posting what must be a constant newbie question but I was not able to find the answer to this even after an hour of diligent searching... which is what does emptying the iPhoto trash really do? When starting up iPhoto for the first ti

  • Strategy of approval of the purchase requisition

    Created solicitation 13982826 - item 10 with price R$ 4,723, 32 that is, in the current strategy Head and Manager must approve. Head and Manager had not yet approved the solicitation and the strategy was modified:  Of: Head - 0,00 the 500,00 Head and

  • My install fails because 'reboot' is needed

    I want to install "Sql Server Management Studio" so I can manage a remove database from my PC. The installation first checks some rules, and one of them fails. I clicked 'details" on the error message and got: RebootRequiredCheck</td> Checks if a pen