The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How can I get memory usage or anything that show memory used from sar file? panithat HP-UX 1 03-31-2008 09:26 AM
CPU usage and memory usage mansoorulhaq High Level Programming 1 08-09-2007 01:55 PM
memory usage BG_JrAdmin SUN Solaris 5 10-17-2006 08:21 PM
Memory Usage in AIX kollam68 UNIX for Advanced & Expert Users 1 10-21-2005 04:12 AM
Memory usage in the box ST2000 Filesystems, Disks and Memory 2 01-03-2003 11:06 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 03-08-2005
Registered User
 

Join Date: Mar 2005
Posts: 1
Monitor CPU usage and Memory Usage

how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries
through a c program or java program

i want to store that data into database so i can show it graphically

thanks in advance

Last edited by Gajanad Bihani; 03-14-2005 at 06:04 AM. Reason: Adding more specific requirment
Reply With Quote
Forum Sponsor
  #2  
Old 03-08-2005
bhargav's Avatar
Registered User
 

Join Date: Sep 2004
Location: USA
Posts: 511
to find cpu and memory usage ...

man top

to find the hard disk usage : for different file systems,

man df
man du
Reply With Quote
  #3  
Old 03-09-2005
Registered User
 

Join Date: Dec 2004
Posts: 8
and to execute these unix commands through C program ... use system() library function...
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:49 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0