is mem a variable?
mem is the subroutine in my original response:
sub mem{ `tasklist /nh /fi "PID eq $$"` =~ m[(\S+ K)$] }
but when running the last perl command, I get Error: the search filter cannot be recongnized
Try again: Ie. cut and paste the code from the post above again.
In reply to Re^15: time and mem usage of pgm
by BrowserUk
in thread time and mem usage of pgm
by carolw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |