python - Linux - display memory of some command -


i want display memory (ram) of commmand in linux. example, write command line command - run python script:

python 'somescript.py' 

i want display how memory command (process) uses.

you can use 'time' command

/usr/bin/time -v python 'somescript.py' 

note not built-in shell command


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -