summaryrefslogtreecommitdiffstats
path: root/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/LatencytopHandler.java
blob: 1088dee98e1527c00cb57ca18559938f8bd65f0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*******************************************************************************
 * Copyright (c) 2010 Intel Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Intel - initial API and implementation
 *******************************************************************************/
package org.yocto.sdk.remotetools.actions;


public class LatencytopHandler extends DialogHandler {
	
	protected String changeTerm = "export TERM=xterm;";
	private static String initCmd="export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin; cd; sudo latencytop\r";
	
	@Override
	protected String getInitCmd() {
		return initCmd;
	}
	@Override
	protected String changeTerm() {
		return changeTerm;
	}
	@Override
	protected String getConnnectionName() {
		return IBaseConstants.CONNECTION_NAME_LATENCYTOP;
	}
	@Override
	protected String getDialogTitle() {
		return IBaseConstants.DIALOG_TITLE_LATENCYTOP;
	}
}