view vm-overview/client-core/src/main/resources/com/redhat/thermostat/vm/overview/client/locale/strings.properties @ 1102:8757e35030f2

Add user ID to VmInfo and display in clients This commit adds user ID information to the VmInfo Pojo, which is gathered by SystemBackend. The UID for a VM is collected by parsing /proc/${pid}/status, and we then get the username for the UID from the native function getpwuid_r. Both the vm-info command and the VM Overview tab of the Swing GUI now show the user under Process Information. I took inspiration from the id Unix program for the formatting, which is "uid(username)". The native component of this commit is added to agent-core for use by system-backend, this was done on request by Mario since agent-core already has a native component for getting the hostname. I made this component an OSGi service primarily to hide its implementation details. Reviewed-by: omajid, jerboaa Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-May/006674.html
author Elliott Baron <ebaron@redhat.com>
date Tue, 21 May 2013 12:43:17 -0400
parents eeec7fc7c0ff
children
line wrap: on
line source

VM_INFO_TAB_OVERVIEW = Overview

VM_INFO_TITLE = Virtual Machine Overview
VM_INFO_SECTION_PROCESS = Process Information
VM_INFO_SECTION_JAVA = Java Information

VM_INFO_PROCESS_ID = Process Id
VM_INFO_START_TIME = Start time
VM_INFO_STOP_TIME = Stop time
VM_INFO_RUNNING = Running
VM_INFO_MAIN_CLASS = Main Class
VM_INFO_COMMAND_LINE = Command Line
VM_INFO_JAVA_VERSION = Java Version
VM_INFO_VM = Virtual Machine
VM_INFO_VM_ARGUMENTS = VM arguments
VM_INFO_VM_NAME_AND_VERSION = {0} version {1}
VM_INFO_PROPERTIES = Properties
VM_INFO_ENVIRONMENT = Environment
VM_INFO_LIBRARIES = Native Libraries
VM_INFO_USER = User Id
VM_INFO_USER_UNKNOWN = <Unknown>