aspose file tools
The moose likes Other JSE/JEE APIs and the fly likes How to fire top+grep command using java on Linux Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "How to fire top+grep command using java on Linux" Watch "How to fire top+grep command using java on Linux" New topic
Author

How to fire top+grep command using java on Linux

Swapnil Ayachit
Greenhorn

Joined: Sep 26, 2004
Posts: 1
I am facing problem while executing top command on Linux.
I am using java 1.4.2 .
The below program works fine on Solaris but is not excuting properly on linux enterprise version.
The program gets complied but after executing it, I am not getting output of top command in the file.



[ September 26, 2004: Message edited by: Swapnil Ayachit ]

[ September 26, 2004: Message edited by: Swapnil Ayachit ]
[ September 28, 2004: Message edited by: Swapnil Ayachit ]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch, Swapnil Ayachit!

When posting code, please be sure to surround the code with the [code] and [/code] UBB Tags. This will help to preserve the formatting of the code, thus making it easier to read and understand.

Could you describe what "not excuting properly on linux" means?
[ September 26, 2004: Message edited by: Dirk Schreckmann ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to fire top+grep command using java on Linux
 
Similar Threads
command execution error
comparing two files
how to read lines in BuffredReader
Servlet Applet Communication
I/O code exception