, , ( ) java .
:
:
$ cd /tmp
$ ln -s /bin/cat abc
$ ln -s /bin/cat def
$ ./abc
:
$ cd /tmp
$ ./def
:
$ ps aux | egrep 'abc\|def'
You will see one process with the name "abc" and one with the name "def", as well as the name "cat". Therefore, if you do this by creating a different link for each of the processes, you can distinguish them.
source
share