I am interested in finding what applications/scripts are executed by each linux user.

I can find the number of jobs run by a specific user with the following command

```
ps -u <USERNAME> -U <USERNAME>

```

However it shows the jobs of a specific provided user whereas I want it for all users or all local users.

E.g. the following command count the number of jobs by each user

```
ps -eo user=|sort|uniq -c

```

I want a similar command but i want to see all the processes run by a user. Thanks.

@update E.g.

```
Uname    PID   CMD    
user1    1010  systemd    
user1    1011  sshd    
user1    1012  bash   
user1    1013  ps    
user2    1020  systemd    
user2    1021  sshd    
user2    1022  bash    
user2    1023  ps    
user2    1024  tux    
user2    1025  python   
user2    1026  python    
.......    
.......    
.......    

```