// package pic20b;

import java.io.*;

public class ExeNative {

    public static void main(String[] args) {

	try {
	    Runtime rt = Runtime.getRuntime();
	    Process ps = rt.exec("/bin/who");
	    BufferedReader in = new BufferedReader(
		    new InputStreamReader(ps.getInputStream()));
	    String line;

	    while((line = in.readLine()) != null) {
		System.out.println(line);
	    }

	} catch (IOException ioe) {
	    System.out.println(ioe);
	}

    }
}
