7.3.2. The ps command -again!

In the previous section we can see that user aweeks is logged onto both pts/1 and pts/2, but what if we want to see what they are doing? We could to a ps -u aweeks and get the following output

|

user@server:~> **ps -u aweeks**
 20876 pts/1    00:00:00 bash
20904 pts/2    00:00:00 bash
20951 pts/2    00:00:00 ssh
21012 pts/1    00:00:00 ps

</font> | | --- |

From this we can see that the user is doing a ps ssh.

This is a much more consolidated use of the ps than discussed previously.

results matching ""

    No results matching ""