The Artima Developer Community
Sponsored Link

Java Answers Forum
Java for system programming

3 replies on 1 page. Most recent reply: Jun 10, 2003 12:45 AM by Pushpendra Singh

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 3 replies on 1 page
Pushpendra Singh

Posts: 2
Nickname: pushp
Registered: Jun, 2003

Java for system programming Posted: Jun 4, 2003 2:11 AM
Reply to this message Reply
Advertisement
Hi,
how can I use java to get information about applications running on computer..and other system features like how much memory it is using etc.
Thank u


Jaycee

Posts: 26
Nickname: jaycee
Registered: Apr, 2003

Re: Java for system programming Posted: Jun 4, 2003 12:04 PM
Reply to this message Reply
Check out java.lang.Runtime

It allows you to execute os calls.

M.Murugeswaran

Posts: 7
Nickname: mmuruges
Registered: Jun, 2003

Re: Java for system programming Posted: Jun 9, 2003 6:35 AM
Reply to this message Reply
what is the OS you are using?

Pushpendra Singh

Posts: 2
Nickname: pushp
Registered: Jun, 2003

Re: Java for system programming Posted: Jun 10, 2003 12:45 AM
Reply to this message Reply
I am using Sun..I tried java.lang.Runtime and used ps..by this I could get information about the applications running on my system..however
1) I am not satisfied with this approach and if there is some better way ..I would like to know
2) "ps -a" does not give informations about applications initiated by clicking on icons..so how to get that information in Sun

Flat View: This topic has 3 replies on 1 page
Topic: change $ in name of .class files Previous Topic   Next Topic Topic: Newbie - Simple Array Question

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use