Fork: Difference between revisions

Content added Content deleted
(Added Kotlin)
m (→‎{{header|Kotlin}}: Refreshed output)
Line 721: Line 721:
Sample output (Ubuntu 14.04):
Sample output (Ubuntu 14.04):
<pre>
<pre>
Output of running [ps, -f, U, alan] is:
Output of running [ps, -f, U, user1] is:
UID PID PPID C STIME TTY STAT TIME CMD
UID PID PPID C STIME TTY STAT TIME CMD
user1 1382 1370 0 23:09 ? Ss 0:00 init --user
user1 1401 1387 0 00:13 ? Ss 0:00 init --user
.....
.....
user1 5297 2592 0 23:49 pts/5 Sl+ 0:00 java -jar Fork.jar
user1 2687 2425 0 00:21 pts/8 Sl+ 0:00 java -jar fork.jar
user1 5309 5297 0 23:49 pts/5 R+ 0:00 ps -f U user1
user1 2699 2687 0 00:21 pts/8 R+ 0:00 ps -f U user1
</pre>
</pre>