Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to fire top+grep command using java on Linux  RSS feed

 
Swapnil Ayachit
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!