Hi@akhtar,
You can run multiple commands in your bash shell. In this scenario, you need to use backquote as shown below.
$ ps -o rss `pgrep python3`
This command will find the process ID of the python3 program. Then it will find the resident set size of the process.