Save output of libmemusage.so into a file
Hello together!
To determine the memory usage of a process in its complete runtime I use libmemusage.so by export LD_PRELOAD=/lib64/libmemusage.so If I run a program and it exits then I get a statistic to my console window but I would like to save the output of libmemusage into a file. The following doesn't work: ./progname > out.txt ./progname 2>&1 > out.txt Do you know a way how I could save the output automatically or do you know a tool which do the same like the libmemusage library? Many thanks for you help! Regards, Lukas |
O.K., I have it. It must be
./progname > out.txt 2>&1 Regards |
All times are GMT -5. The time now is 03:25 PM. |