The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 12:26 PM
CPU usage and memory usage mansoorulhaq High Level Programming 1 08-09-2007 04:55 PM
memory usage BG_JrAdmin SUN Solaris 5 10-17-2006 11:21 PM
Memory Usage in AIX kollam68 UNIX for Advanced & Expert Users 1 10-21-2005 07:12 AM
Memory usage in the box ST2000 Filesystems, Disks and Memory 2 01-03-2003 02:06 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-09-2005
Gajanad Bihani Gajanad Bihani is offline
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 09:04 AM.. Reason: Adding more specific requirment
  #2 (permalink)  
Old 03-09-2005
bhargav's Avatar
bhargav bhargav is offline Forum Advisor  
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
  #3 (permalink)  
Old 03-09-2005
avdtech avdtech is offline
Registered User
  
 

Join Date: Dec 2004
Posts: 8
and to execute these unix commands through C program ... use system() library function...
Sponsored Links
Closed Thread

Bookmarks

Tags
unix commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:28 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0