How could I get the used rates of cpu and main memory

I want to get the used rates of the cpus and the memeoy?How could I do?
I write the code on linux and got them by read the file /proc/meminfo and /proc/loadavg.
Is there the similar file under solaris?
Further more , under the linux os, I could make a system sound with function ioctl,which function could make a warning sound in Solaris?
Thanks a lot!

For memory usage call vmstat. Can't help with CPU usage.

Similar Messages

Maybe you are looking for

  • Folder redirection to a new location is not working

    Currently in SCM we have all Windows 8 users Documents and Desktop redirected to a users home folder in a Netapp share.  We are planning on moving them to a Windows File Server.  As a test I moved my home folder in AD to the new share.  But SCM is st

  • Java stored procedure in Oracle 8i

    Hi, I read in the whitepaper of Oracle "Stored Procedure Tutorial", I have a little problem understanding the following syntax in the example enclosed, please help. In Java environment the method: public static void assignEMailAddress(Connection conn

  • Opening jpegs in Camera Raw 4.1?

    I just received some jpegs from Getty and I decided to see what they looked like when I opened them using ACR as opposed to just opening them in PSCS3. What I found was that with the default settings the files from ACR had less saturation? The jpegs

  • Mimic Excel Fill-Down function in table

    I am creating a table that can have the number of rows vary by what the user selects.  Some of the columns will have the same value as the provious row and they would want all the rows to be filled with the same column value.  Maybe a checkbox above

  • How do I get pics from Preview into iphoto?

    How do I get pics from Preview into iphoto?