Question: I am playing with some sensors which are made to be used on cell phone's headphone jack. Using sensors on iPhone or specific Android phones (Galaxy III for example) is no problem, but on other Android phones (for example Nexus S, Nexus, ...) output voltage is to low... 

Is it by any chance possible to control output voltage using software solution?

Answer: 
Try `exec -a Java_Process_1 java <classname>`
Assuming that you need this for Java process, you can take advantage of the JVM's property feature and create a label for your process (that the program itself would be able to see also, if it wanted to):

```
java -Dmy.appid=Java_Process_1 <classname>

```

In general though, `ps` is going to read the value of `/proc/$pid/cmdline` for the command line that it prints, and this value is going to be that of the exact argument vector of the command, null-character delimited. This means that getting a custom string into there like "Java\_Process\_1" is going to take some form of non-standard trickery.